Answer · High impact
A user account keeps locking out every few minutes
Symptom
The user is locked out again minutes after the service desk unlocks the account.
Cause
An old password is cached somewhere: a phone mail profile, a mapped drive, a scheduled task, a service, or a second device still signed in.
Resolution
Find the domain controller holding the PDC emulator role.
Read event 4740 on it to get the caller computer name.
On that computer, check credential manager, mapped drives, scheduled tasks and services for the old password.
Remove the stale credentials, then unlock the account.
Script
$pdc = (Get-ADDomain).PDCEmulator
Get-WinEvent -ComputerName $pdc -FilterHashtable @{ LogName = "Security"; Id = 4740 } -MaxEvents 50 |
Where-Object { $_.Properties[0].Value -eq "asha" } |
Select-Object TimeCreated, @{ n = "Caller"; e = { $_.Properties[1].Value } }
Unlock-ADAccount asha
InnovaticT