YorozuyaIT
Everyday Tech Fixes

Forgot Your Windows Password or Locked Out of Your PC? What Actually Works

Written by the Yorozuya IT editorial team, based in Japan. Last updated above. Menus, apps, and rules change, so check the date.

Short answer

You sit down, type your password, and Windows rejects it. You try again, and again. Now you are locked out of your own computer. It is stressful, but the answer depends on one thing: what kind of account you are using. Figure that out first, and the right path becomes clear.

First, which kind of account is it?

Reset paths for a forgotten Windows password by account type: Microsoft account, PIN or Windows Hello, and local account

If you are not sure, look at the sign-in screen. If it shows an email address, it is almost certainly a Microsoft account.

A Microsoft account

This is the easiest case.

  1. From another device, open Microsoft's official account recovery page, or choose I forgot my password on the sign-in screen.
  2. Verify your identity with a code sent to your email or phone, or an authenticator app.
  3. Set a new password.
  4. Connect the locked PC to the internet if needed, and sign in with the new password. The PC may need to connect to the internet to accept it.

If you cannot receive the code, because your recovery email or number is old, use the account's recovery form. It asks questions to prove you are the owner. Answer accurately, and be patient, because it can take days.

A forgotten PIN or Windows Hello

On the sign-in screen, choose I forgot my PIN. Verify with your account, and set a new PIN. This does not erase your files. If you use a fingerprint or face scan, you can still sign in with your account password, then set the biometric sign-in up again.

A local account

Options are more limited, because there is no online account to verify you.

If none of these apply, the last resort may be resetting or reinstalling Windows. This can erase your files, so think carefully. If the data matters, ask a professional about recovery first.

BitLocker and the recovery key

Some PCs encrypt the drive with BitLocker. After certain changes, Windows may ask for a recovery key.

Work or school PCs

Do not try to bypass the sign-in. Contact your IT team. They can reset the password and may have rules about devices and data. Trying to get around the controls can break policy and put data at risk.

What not to do

If you changed the password recently

If the old password worked yesterday and not today, check these:

Prevent it next time

  1. Use a Microsoft account or link one, so you can reset online.
  2. Set up a PIN or Windows Hello as a backup sign-in.
  3. Keep recovery email and phone up to date.
  4. Create a second administrator account on a family PC, and keep its password safe.
  5. Store passwords in a password manager.
  6. Save your BitLocker recovery key somewhere safe.
  7. Back up your files, so a lockout never puts them at risk.

Quick checklist

Save this cheat sheet

Cheat sheet: what to do when you forget your Windows password

Screenshot this or save the image. It is the short version of the guide, and it is easier to find in a hurry than a web page.

FAQ

How do I reset the password of a Microsoft account?

Use Microsoft's official account recovery page from another device, or the I forgot my password link on the sign-in screen. You will verify your identity by email, text, or an authenticator app, then set a new password.

I only forgot my PIN. Is that easier?

Yes. On the sign-in screen choose I forgot my PIN, verify with your account, and set a new one. This does not erase your files.

I forgot a local account password and set no security questions. What now?

Options are limited. Another administrator account on the PC can reset it. If there is none, the last resort may be reinstalling Windows, which can erase your files, so think carefully and consider recovery help if the data matters.

Windows asks for a BitLocker recovery key. Where do I find it?

If you used a Microsoft account, the key is often saved in your Microsoft account under your devices. A work or school PC stores it with the organisation, so ask your IT team. Keep the key safe, because without it the drive cannot be unlocked.

Are password-reset tools from the internet safe?

Treat them with great suspicion. Many are malware, scams, or tools that can damage your files. Use only Microsoft's official methods or your IT team.

Keep reading