CA Workload Automation Agent - Windows Permissions Required To Run Jobs
search cancel

CA Workload Automation Agent - Windows Permissions Required To Run Jobs

book

Article ID: 138583

calendar_today

Updated On:

Products

Workload Automation Agent

Issue/Introduction

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

Environment

Release: 11.3, 11.4, 11.5

Component: CA Workload Automation Agent for Windows

Cause

The Windows user that is defined in the job does not have adequate permissions.

Resolution

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.  

  • Act As A Part Of The Operating System
  • Access This Computer From The Network
  • Logon As A Service
  • Increases Quota or Adjust memory quotas for a process 
  • Logon As A Batch Job
  • Log On Locally
  • Replace A Process Level Token

Note:  You may need to restart the Windows machine for changes to take effect.

Additional Information

https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/workload-automation-system-agent/12-0/configuring/set-up-security/list-required-permissions-to-run-a-job-on-windows.html