Job fails to run on Windows with error CAWA_E_20020 Logon failed
search cancel

Job fails to run on Windows with error CAWA_E_20020 Logon failed

book

Article ID: 7076

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent

Issue/Introduction

Job fails to run on a Windows Agent with the following message reported in the spool:

CAWA_E_20020 Logon failed for #####\###### due to: Logon failure: unknown user name or bad password. Error code: 1326 

 

Environment

Autosys Workload Automation

Cause

The encountered problem can be related to the machine definition or the job owner credentials needed to be added in autosys_secure.

Resolution

Add the following attribute to the machine definition:

opsys: windows

Example:

insert_machine: machine-name

type: a

node_name: agent-node-name

opsys: windows

 

You can run the following commands to verify;

To list the machine definition

autorep -m <machine_name> -q

To list the job definition

autorep -J <job> -q

To lists all users with passwords from the command line run

autosys_secure -s -host ALL

If the problem persists confirm that the job owner is defined in autosys_secure and not locked by operating system (Job requires user and password are defined in autosys_secure for Windows agent only).

Additional Information

autosys_secure command documentation.