CA WA Agent install on Windows OS fails: Install: Execution of agentparm.py failed

Document ID : KB000122718
Last Modified Date : 06/12/2018
Show Technical Document Details
Issue:
The CA WA Agent install on a Windows server fails with FATAL ERROR.  The following error can be see in the install log.
 
Exit Code: -1 
C:\windows\TEMP\I15XXXXX\Windows>cd /d "C:\Program Files\CA\WA_Agent" 
C:\Program Files\CA\WA_Agent>"C:\Program Files\CA\WA Agent\jre\bin\java" -jar jython.jar agentparm.py 
........
agentparm.py:1410: RuntimeWarning: Unable to determine _shell_command for underlying os: nt 
........
Status: FATAL ERROR Additional Notes: FATAL ERROR - "Install: Execution of agentparm.py failed"


 
Environment:
CA WA Agent 11.3 / 11.4
Windows OS
Cause:
The installer needs to run the shell command.  The PATH is missing the System32 directory. 
 
Resolution:
The %PATH% must include %SYSTEMROOT%\System32.  If %SYSTEMROOT% is C:\Windows, then %PATH% must include C:\Windows\System32
 
C:\>echo %SYSTEMROOT%
C:\Windows

C:\>echo %PATH% 
C:\Program Files (x86)\;C:\Windows\system32;C:\Windows\System32\WindowsPowerShell\v1.0\ .....


 
Additional Information:
See Windows Path Documentation.