Home › DevOps › AutoSys Windows Job Fails After Password Change: autosys_secure
Intermediate 3 min · December 6, 2026

AutoSys Windows Job Fails After Password Change: autosys_secure

Windows jobs fail with 'Logon failure: unknown user name or bad password' after the owner's password is rotated, because AutoSys stores its own copy.

N
Naren Founder & Principal Engineer

20+ years shipping production infrastructure and CI/CD at scale. Lessons pulled from things that broke in production.

Follow
✓ Production
production tested
December 06, 2026
last updated
2,151
articles · all by Naren
Before you start⏱ 6 min
  • ✓AutoSys JIL basics
 ● Production Incident 🔎 Debug Guide
⚡Quick Answer
  • 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
FileCommand / CodePurpose
secure.shautosys_secureUpdate the stored password
rerun.shautorep -J ALL -s FAFind 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.
FAQ · 2 QUESTIONS

Frequently Asked Questions

01
Do Unix jobs need this?
02
Who can run autosys_secure?
RESOURCES

Keep going

AutoSys Full Course for Beginners▶
WatchAutoSys Full Course for BeginnersJIL, job statuses, monitoring and failed jobs, start to finish.Watch on YouTube →
ReadThe complete DevOps guideOne deep guide that walks the whole DevOps track in order.Start reading →
Q
PracticeDevOps Interview QuestionsReal interview questions with answers, by topic.Practice now →
COMPLETE GUIDE
The Complete AutoSys Workload Automation Guide for Engineers →

JIL syntax, sendevent, autorep, box jobs, file watchers, scheduling, HA, security, cloud workload automation, and 22 interview questions — the definitive AutoSys reference for production engineers.

N
Naren Founder & Principal Engineer

20+ years shipping production infrastructure and CI/CD at scale. Lessons pulled from things that broke in production.

Follow
✓ Verified
production tested
December 06, 2026
last updated
2,151
articles · all by Naren
🔥

That's AutoSys. Mark it forged?

3 min read · try the examples if you haven't

←
Previous
AutoSys job_depends Command
58 / 58 · AutoSys
Next
Git Permission denied (publickey) Fix
→