Account Lockout
Cheat sheet · https://pcornel.dk/topic.php?topic=5143
Answer
Account Lockout troubleshooting identifies the authoritative lockout event and the repeated authentication source causing it without blindly resetting credentials or disabling policy.
Remember
- Locked account ≠ user typed the wrong password; services, tasks, mobile devices, mapped resources or attackers may generate failures.
- Unlocking account ≠ source of lockout removed.
- One domain-controller or identity-provider log ≠ complete source coverage in distributed authentication paths.
- Lowering lockout policy ≠ root-cause fix and can weaken brute-force protection.
First checks
Get-WinEvent -FilterHashtable @{LogName='Security';Id=4740} -MaxEvents 10 | fl— lockout source (Caller Computer)Search-ADAccount -LockedOut— locked accounts- Stored credentials on devices/services — common cause
Verify in this order
failed auth from source → lockout threshold → 4740
Where it usually breaks
First mismatch in signal/report → evidence preservation → scoping/analysis → containment → eradication → recovery → validation/lessons learned; preserve identity/policy/pre-state before mutation.
Account Lockout troubleshooting/evidence map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Scope / baseline | Failing case and known-good comparison are reproducible | Symptom changes across users, devices, paths or time without explanation |
| Policy / decision | Authoritative state explains the expected decision | Stale, conflicting or unexpected policy/context changes the decision |
| Enforcement / telemetry | Runtime action and same-window telemetry agree | Decision, enforcement and logs disagree or coverage is missing |
| Verification | Original test and security regression both pass | Temporary recovery, bypass or adjacent regression remains |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5143