Pcornel
Security · Security Troubleshooting

Account Lockout

Cheat sheet · https://pcornel.dk/topic.php?topic=5143

Back to the Topic

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

BoundaryHealthy evidenceSuspicious evidence
Scope / baselineFailing case and known-good comparison are reproducibleSymptom changes across users, devices, paths or time without explanation
Policy / decisionAuthoritative state explains the expected decisionStale, conflicting or unexpected policy/context changes the decision
Enforcement / telemetryRuntime action and same-window telemetry agreeDecision, enforcement and logs disagree or coverage is missing
VerificationOriginal test and security regression both passTemporary 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

Confirmation

Confirm action

Continue?