Companies Radar

Troubleshooting · Apps, sign-in & security

Can't sign in to Windows (forgotten password or PIN not working)

How to get back into Windows when you've forgotten your password, or your PIN is rejected. Separate routes for Microsoft accounts and local accounts, plus what to do if you're locked out.

Published

Symptoms

  • You type your password and Windows says it is incorrect, even though you think it's right.

  • The PIN box refuses your PIN, or tells you the PIN isn't available and asks you to set it up again.

  • The sign-in screen doesn't show the "I forgot my PIN" link.

  • You can't remember your password at all because you always sign in with a PIN, fingerprint or face.

  • Your account is locked after too many wrong attempts.

  • The PIN, fingerprint or face sign-in worked until a recent update.

Cause

  • A mistyped password. Caps Lock, Num Lock or the wrong keyboard layout are far more common than a forgotten password.

  • PIN and password mix-ups. On a Microsoft account, the PIN only works on that one PC. The password is the one you use online.

  • Changed password on another device. If you reset your Microsoft account password elsewhere, the PC needs to be online to learn it.

  • A damaged Windows Hello setup. Updates, hardware changes or a cleared security chip can invalidate the PIN.

  • Account type confusion. A Microsoft account and a local account recover in different ways.

  • Managed devices. Work or school accounts follow rules set by an administrator.

Solution

Microsoft Support cannot retrieve or bypass a lost password, so use the official routes below. Do them in order and stop when you're in.

Fix 1: Check the basics

  1. Look at the sign-in screen: make sure the correct account is selected.

  2. Check Caps Lock and Num Lock, and the language and layout indicator at the bottom right of the screen.

  3. Select the eye icon in the password box to see what you're typing.

  4. Confirm the PC is online. Look at the network icon on the sign-in screen, because a Microsoft account password change made elsewhere is only picked up when the PC can reach the internet.

  5. Try your old password as well as the new one if you changed it recently.

Fix 2: Reset a forgotten PIN

  1. Under the PIN box, select I forgot my PIN and follow the prompts to verify the account.

  2. If that link is missing, select Sign-in options, then Enter your password, and sign in with your account password.

  3. Once you're in, open Settings > Accounts > Sign-in options, select PIN (Windows Hello) and choose I forgot my PIN. You can also choose Change PIN if you remember the old one.

  4. Create the new PIN. If you used a fingerprint or face, set those up again afterwards.

The I forgot my PIN link on the sign-in screen exists only for Microsoft accounts. On a local account, sign in with the password and change the PIN in Settings.

Sign-in options page in Settings with PIN (Windows Hello) expanded, showing Change PIN, Remove and the I forgot my PIN link

Fix 3: Reset a Microsoft account password

  1. On the sign-in screen, select I forgot my password. If it isn't offered, select Sign-in options, pick Web sign-in and follow the prompts to Forgot my password.

  2. Or use any other phone or computer: open a browser, go to the Microsoft account sign-in page, and choose Forgot password.

  3. Verify yourself with the code sent to your recovery email or phone, then set a new password.

  4. Back at the PC, connect to the internet and sign in with the new password. Then create a fresh PIN as in Fix 2.

If Microsoft's page says the account is locked, wait and then follow the instructions it gives, such as the recovery form. Don't keep guessing.

Fix 4: Reset a local account password

Local accounts have no email behind them, so recovery depends on what you set up.

  1. On the sign-in screen, select the arrow next to the password box (or the error message), choose OK, and then select Reset password.

  2. Answer the security questions you chose when you created the account, and set a new password.

  3. If you made a password reset disk, choose the option to use it and follow the wizard.

Windows sign-in screen for the local account Alex with the message "The password is incorrect. Try again." and the Reset password link under the password box

Fix 5: Use another administrator account

If someone else has an administrator account on the same PC, sign in with it. Resetting a password this way means the account loses saved passwords and any files encrypted with Windows' own file encryption, so use it only when you have no other option.

  1. Right-click Start and open Terminal (Admin) or Command Prompt as administrator.

  2. Run the command below, replacing UserName with the account name. Windows asks for the new password and hides what you type.

net user UserName *

On Windows Pro and Enterprise you can instead open Computer Management > Local Users and Groups > Users, right-click the account and choose Set Password. That console isn't present on Windows Home.

Fix 6: Safe Mode with Networking, and the last resort

If PIN or fingerprint sign-in is broken but your password works, hold Shift while selecting Power > Restart on the sign-in screen. Choose Troubleshoot > Advanced options > Startup Settings > Restart, then press 5 for Safe Mode with Networking. Only passwords work there.

If you have no working password, no recovery route and no second administrator account, the only supported option is Reset this PC (Settings > System > Recovery) or a clean install. This erases your files and apps. Back up your drive first where you can, and have your BitLocker recovery key ready if the drive is encrypted.

More information

Was this article helpful?

Still need help? Can’t find the answer? Our team is happy to help. Contact us