Windows job fails when executed as user by the CA WA Agent.
CAWA_E_20021 CreateProcess failed due to: "C:\somejob.exe". Error code: 5
Release: 11.3, 11.4, 11.5
Component: CA Workload Automation Agent for Windows
The Windows user that is defined in the job does not have adequate permissions.
Log on to the computer with administrative privileges.
Open the ‘Administrative Tools’ and open the ‘Local Security Policy’
Expand ‘Local Policy’ and click on ‘User Rights Assignment’
Grant the following permission to the user that will execute the job.
Note: You may need to restart the Windows machine for changes to take effect.