The user is standing next to you, the deadline is real, and the sign-in screen says the account is locked. These are the fastest safe unlock routes — in the right order for a home or standalone PC and for an office domain account.
Speed matters here, but so does not making it worse: every extra wrong password typed at the locked screen only extends the pain on some setups, and random password guesses can trip the lock again the moment it clears. Work through this page in order — it is sorted by environment, because the right move on a home laptop is useless on a domain PC and the other way round. Before anything else, confirm it really is a lockout: the screen must say "The referenced account is currently locked out and may not be logged on to." A different message means a different problem (and a different page on this site covers those messages one by one).
Lockouts are often born from the keyboard, not from an attacker:
If the PC has a second administrator account, the fix is immediate:
lusrmgr.msc, open Users, double-click the locked account and untick Account is locked out, then OK.Unlock-LocalUser -Name "Ravi" — then confirm with Get-LocalUser -Name "Ravi" (the output shows the account state).And if there is no second admin and the account is the only one? Do not keep hammering the sign-in screen. Either wait for the lockout duration to expire (if one is set, the account frees itself) or move to the WinPE offline recovery covered in the core guide — that is the designed route for exactly this situation.
On a domain, the lock lives on the domain controllers. Unlock it there:
Unlock-ADAccount -Identity ravi.kumar — done. To see every currently locked account in the domain first: Search-ADAccount -LockedOutUnlock-ADAccount -Identity ravi.kumar -Server (Get-ADDomain).PDCEmulator. Normal unlocks replicate within minutes, but the PDC is where lockout decisions are centralised.Get-ADUser ravi.kumar -Properties LockedOut should show LockedOut : False.If the account re-locks within minutes, stop unlocking and start investigating — something, somewhere, is still presenting the old password. That detective work has its own full page (Event 4740 and the caller computer), because unlocking ten times fixes nothing.
A lockout is not a life sentence. Unless the duration was set to 0, Windows unlocks the account automatically when the duration passes — 15, 30, 60 minutes, whatever the policy says. In a real office this is often the smartest first move: tell the user the exact time it frees up, let them work on a spare machine or a colleague's login for tasks that allow it, and spend the wait finding the device that caused the lock. Compare that with the alternative — an admin dropping everything for a rushed unlock, only to watch the account re-lock because the user's phone was still retrying the old mail password. One warning: duration 0 changes everything. With 0, waiting is pointless by design — an administrator must unlock. If your policy uses 0, somebody senior should ask why, because it converts every sticky Caps Lock into a helpdesk ticket.
The complete lockout policy walkthrough and all 3 recovery methods, shown live on a real Windows system — this is the video this guide is based on.
▶️ Watch Full VideoOpen PowerShell as Administrator and run Unlock-LocalUser with the account name, for example Unlock-LocalUser -Name "Ravi". This is the scripting equivalent of unticking Account is locked out in lusrmgr.msc, and it works on Windows 10 and 11 including Home editions where lusrmgr is missing.
Something is still signing in with the old password: a phone mail app, a mapped drive, a saved RDP or Wi-Fi credential, or another PC the user once used. Unlocking again will not help — find the source with Event 4740 (the caller computer) as shown in the detective guide on this site.
No. By design, a locked account cannot unlock itself, and a standard user cannot unlock anyone else. The choices are: an administrator unlocks it, or the lockout duration expires and it unlocks automatically.