Symptom: every Windows job for one owner fails at once with a logon failure.
Cause: the password changed in the domain, not in AutoSys.
Fix: run autosys_secure and change the stored password for that user.
Retries don't help and can lock the account.
Rotate in AD and AutoSys in the same change.
✦ Definition~90s read
What is AutoSys Windows Job Fails After Password Change?
AutoSys runs a Windows job as its owner and needs that user's password to log on. The password is stored in AutoSys and managed with the autosys_secure utility, separately from Active Directory.
★
AutoSys has its own spare key to the owner's account.
Plain-English First
AutoSys has its own spare key to the owner's account. Change the lock in the domain and the spare key stops working until you update it.
svc_batch's password was rotated on Friday. On Monday at 01:00, 42 Windows jobs owned by it failed together.
Update the stored password
autosys_secure is interactive by default: pick the option for Windows user IDs and passwords, then change the password for the user.
secure.shBASH
1
2
3
autosys_secure
# choose: manage Windows user IDs and passwords
# then: change password for svc_batch@CORP
🎯 Key Takeaway
Old and new password needed.
Find what failed
List failed jobs and re-run them once the password is updated.
rerun.shBASH
1
2
autorep -J ALL -s FA
sendevent -E FORCE_STARTJOB -J LOAD_WIN
🎯 Key Takeaway
Fix first, then re-run.
● Production incidentPOST-MORTEMseverity: high
42 Jobs, One Password
Symptom
42 FAILURE at 01:00: Logon failure: unknown user name or bad password.
Assumption
AutoSys reads the password from the domain.
Root cause
AutoSys held its own copy of svc_batch's password, which still had the old value.
Fix
Updated it with autosys_secure, re-ran the failed jobs, and added autosys_secure to the rotation runbook.
Key lesson
AutoSys stores Windows passwords itself.
Rotate both together.
Retries can lock the account.
Production debug guideWork through these in order4 entries
Symptom · 01
Many Windows jobs fail together
→
Fix
Check they share an owner: autorep -J JOB -q | grep owner.
Symptom · 02
Logon failure in the status
→
Fix
Update the password with autosys_secure.
Symptom · 03
Account now locked
→
Fix
Unlock in AD, then update AutoSys before re-running.
Symptom · 04
Re-run the failures
→
Fix
autorep -J ALL -s FA, then sendevent -E FORCE_STARTJOB per job.
⚙ Quick Reference
2 commands from this guide
File
Command / Code
Purpose
secure.sh
autosys_secure
Update the stored password
rerun.sh
autorep -J ALL -s FA
Find what failed
Key takeaways
1
AutoSys keeps its own copy.
2
autosys_secure updates it.
3
Rotate both together.
Common mistakes to avoid
2 patterns
×
Adding retries
Symptom
Same failure, and possibly a locked account.
Fix
Update the password.
×
Rotating in AD only
Symptom
All jobs fail on the next run.
Fix
Update AutoSys in the same change.
INTERVIEW PREP · PRACTICE MODE
Interview Questions on This Topic
Q01SENIOR
Why do AutoSys Windows jobs fail after a password change?
Q01 of 01SENIOR
Why do AutoSys Windows jobs fail after a password change?
ANSWER
AutoSys stores the owner's password itself; it must be updated with autosys_secure.
01
Why do AutoSys Windows jobs fail after a password change?
SENIOR
FAQ · 2 QUESTIONS
Frequently Asked Questions
01
Do Unix jobs need this?
No, Unix agents don't log on with the owner's password.
Was this helpful?
02
Who can run autosys_secure?
A user with the right AutoSys security permissions, usually the administrator.