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
Autosys Workload Automation
The encountered problem can be related to the machine definition or the job owner credentials needed to be added in autosys_secure.
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).
autosys_secure command documentation.