Skip to content
Geek With Laptop

How-ToGuide

Forgot Your Windows Password? How to Get Back In

Being locked out of your own laptop is fixable in almost every case without losing files. Which route you take depends on one question: do you sign in with a Microsoft account (an email address) or with a local account (just a user name)?

Closed laptop with a USB flash drive plugged into its side and a small steel key lying beside it

Quick answer

If you sign in with an email address, reset the password from another device at the Microsoft account recovery page and sign in with the new one once the laptop is online. If it is a local account, click Reset password on the sign-in screen and answer your security questions, or sign in as a different administrator and change it from Settings.

On this page
  1. Work out which kind of account you have
  2. Microsoft account
  3. Local account
  4. If nothing else works: reset Windows and keep your files
  5. Prevent it happening again
  6. Common questions
  7. Sources

Work out which kind of account you have

On the sign-in screen, look under your name. If you see an email address, the account is a Microsoft account and the password is the same one you use for that email or for the Microsoft services tied to it. If you see only a name, it is a local account stored on the laptop itself. The recovery routes are completely different, and trying the wrong one wastes time.

Which recovery route applies.
SituationBest routeFiles kept?
Microsoft account, laptop has internetReset online from a phone or another computerYes
Local account, security questions were setReset password link on the sign-in screenYes
Local account, another admin user existsSign in as that user and change the passwordYes
Local account, a password reset disk was madeUse the disk on the sign-in screenYes
PIN forgotten but password knownClick I forgot my PIN and sign in with the passwordYes
None of the aboveReset this PC (keep files) from the recovery menuUsually, but back up first if you can

Microsoft account

  1. Reset from another device

    On a phone or another computer open the Microsoft account recovery page, enter the email address, and follow the verification step (a code sent to your recovery phone or alternate email).

  2. Choose a new password

    Pick something you can remember and, if you use a password manager, store it there immediately.

  3. Sign in on the laptop

    Make sure the laptop is connected to Wi-Fi from the sign-in screen (there is a network icon in the bottom-right corner), then enter the new password. The first sign-in with a new password needs the connection so Windows can confirm it.

Local account

  1. Try the reset link

    Type a wrong password once. Windows shows a Reset password link under the box. Click it and answer the three security questions you set up when the account was created.

  2. Use another administrator account

    If a second user on the laptop is an administrator, sign in as them, open Settings, Accounts, then Other users (or Family and other users), select your account and choose Change password. Alternatively open Control Panel, User Accounts, Manage another account.

  3. Use a password reset disk

    If you made one on a USB stick when the account was created, plug it in, click Reset password on the sign-in screen and follow the wizard. A reset disk only works for the account it was made for, and only on that computer.

If nothing else works: reset Windows and keep your files

Hold Shift while clicking Restart on the sign-in screen to reach the recovery menu, then choose Troubleshoot, Reset this PC, Keep my files. Windows reinstalls itself, removes installed programs, and keeps the contents of your user folders. You will set up a new account during the process. This is the route the old cracking tools tried to avoid, but on a modern system it is safer and usually faster than any of them. If the drive is encrypted with BitLocker, you will need the recovery key, which is stored in your Microsoft account or wherever you saved it when encryption was turned on.

Prevent it happening again

  • Set up a PIN and, if the laptop supports it, fingerprint or face sign-in. These are tied to the device and are quicker than a password without replacing it.
  • For a local account, set the security questions and make a password reset disk while you still know the password.
  • Add a second local administrator account with a password stored somewhere safe. It costs nothing and rescues you from most lockouts.
  • Keep the BitLocker recovery key printed or in your account. Without it, a locked encrypted drive is unrecoverable by design.

For other fixes, see all the how-to guides. A locked laptop is also the moment to check that your files exist somewhere else, so read the 3-2-1 backup rule explained next, and use the screenshot guide to capture any recovery codes shown on screen. If your drafts live only on this machine, turning on draft version history protects the record of your work as well as the files.

Common questions

Can I reset a Windows password without losing files?

Yes, in every route above except the full reinstall, and even Reset this PC has a Keep my files option.

What about the old LC5 and similar password crackers?

Those tools targeted weak Windows hashes from the early 2000s. Modern Windows uses stronger hashing and often full-disk encryption, so they do not work, and downloading them from unofficial sources is a good way to get malware. The recovery routes above are what actually works.

I forgot my PIN, not my password. What do I do?

On the sign-in screen switch to password sign-in (the key icon under the PIN box), sign in, and Windows will let you set a new PIN. If you never set a password, use the Microsoft account route.

Will the manufacturer or a repair shop help?

A repair shop can reset a local account or reinstall Windows, but they cannot recover a password or decrypt a BitLocker drive without the key. Manufacturers do not keep your password.

Does this work on a work laptop?

Not usually. Company-managed laptops use domain or organisation accounts; the reset must be done by your IT department, who can also unlock BitLocker.

Sources

Sheet how-to/recover-windows-passwordReviewed September 2026