C:\Windows\Temp directory permissions issue - loss of functionality on Autosys R12.1 WCC ECLI
search cancel

C:\Windows\Temp directory permissions issue - loss of functionality on Autosys R12.1 WCC ECLI

book

Article ID: 268142

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

Good afternoon,

It appears that Autosys R12.1 needs to write access to the C:\Windows\Temp directory (on our Autosys server) in order to process reports such as imports through WCC ECLI.
We found out this was an issue after a policy update restricted access to that temp directory, which subsequently caused WCC ECLI commands for importing to provide the following error:

StatusCode: 200, URL: https://AEWS-Host1:9443/AEWS,https://AEWS-Host2:9443/AEWS com.ca.wcc.command.client.webserver.WebServerException: Access is denied.

Note 1: The above is from our wcc-log file on our WCC application server.

Note 2: This fix relates to the following knowledge base article for Windows:
WCC Enterprise Command Line based JIL import fails with Access is Denied error (broadcom.com).
A similar problem can be found on Linux with a different resolution: WCC - Can't Import JIL from ECLI (broadcom.com).

Question

Is there a way to change the temp directory from C:\Windows\Temp to somewhere else so that Autosys web server can continue to function (in a permissions sense)?
It may be that our Security team will further restrict access on the current temp directory. 

Environment

Autosys 12.x
WCC 12.x

Resolution

The user can change the System variable "TEMP" location but that may affect the other users who are using the TEMP directory.
      
  Example:
  go to Control Panel->System->Advanced System Settings ->Advanced ->, and enter the "Environment Variables" dialog window to find and change the TEMP and TMP variable settings in the "System variables".
      TEMP=C:\Windows\TEMP
      TMP=C:\Windows\TEMP