Windows 11 locks accounts after a number of failed sign-in attempts as a security measure. If you are locked out — whether because of too many wrong PINs, an expired password, or an administrator policy on a work machine — here is how to get back in.
Wait for the Lockout to Clear
If you have entered an incorrect PIN or password too many times, Windows typically enforces a short waiting period before you can try again. The lock screen may show a message like “Too many sign-in attempts” with a timer. Wait for the timer to count down (usually 1–5 minutes) and try again.
Microsoft Account Lockout
If your Windows account is linked to a Microsoft account and it has been locked due to too many failed attempts:
- On another device, go to account.microsoft.com/account/privacy
- Microsoft may have sent you an email with an account recovery link — check your inbox
- Follow the account recovery steps — you will need to verify your identity via phone number or backup email
- Once recovered, sign in on your PC with the new password
Local Account Lockout
If your PC uses a local account and the account is locked after failed attempts:
- Wait for any timer on the lock screen to expire
- If you remember your password but the PIN is blocked, click Sign-in options on the lock screen and switch to password sign-in
- If you have forgotten the password, use your security questions (click Reset password under the password field)
Locked Out on a Work Machine (Domain Account)
If you use a company laptop joined to a work domain, the IT administrator controls lockout policy. Your account will unlock automatically after the policy period (often 30 minutes) or your IT team can unlock it immediately. Contact your IT helpdesk — they can unlock the account in Active Directory in under a minute. Do not attempt to fix this yourself as it may trigger additional security alerts.
Using Another Administrator Account
If your own account is locked but there is another administrator account on the same PC:
- Sign in with the other admin account
- Go to Computer Management > Local Users and Groups > Users
- Right-click your locked account and select Properties
- Untick Account is locked out
- Click Apply and sign out
Windows Recovery Mode (Last Resort)
If you have no other admin account and no Microsoft account recovery options:
- Restart the PC and interrupt the boot three times in a row (hold the power button) to enter recovery mode
- Go to Troubleshoot > Advanced options > Command Prompt
- Use the
net user [username] /active:yescommand to re-enable the account
This is an advanced method. If you are not comfortable in the command line, professional help is recommended.
How to Prevent Future Lockouts
- Use a password manager to ensure you always have a record of your password
- Set up Windows Hello (fingerprint or face recognition) as an alternative sign-in
- Link to a Microsoft account rather than local — online recovery is much simpler
- Set up security questions as a backup for local accounts