Windows stores your password nowhere you can read it back

Your Windows password is not stored in a file you can open and read. Windows converts it into a mathematical code called a hash the moment you create it, then throws away the original. This is intentional — it protects you if someone breaks into the computer. The tradeoff is that even Microsoft cannot tell you what your password is.

What you can do instead depends on whether you remember part of it, whether you set up a recovery method when you created the account, and what version of Windows you are running. The fastest path forward is almost always not to find the old password, but to reset it using a method you set up earlier.

Key Takeaways

  • Windows does not store passwords in a readable form, so you cannot retrieve the original password you typed.
  • If you set up a password reset disk or linked your account to an email address or phone number, you can use those to create a new password without knowing the old one.
  • If you are locked out of a local account with no recovery method, you will need to restart Windows in Safe Mode or use the built-in Administrator account if it is still active.
  • If you are locked out of a Microsoft account (one that uses your email address), you can reset your password from the Windows login screen using a recovery email or phone number.
  • Writing down new passwords in a physical location only you know about prevents this problem from happening again.

Reset a Microsoft account password from the login screen

If your Windows account is linked to a Microsoft email address — you see your email on the login screen instead of a username — you can reset the password without logging in. On the login screen, click I forgot my password below the password field.

Windows will ask you to enter a recovery email address or phone number. Use whichever one you set up when you created the Microsoft account. Microsoft will send a code to that email or phone. Enter the code, then create a new password. You can then log in with the new password when ready.

This method works even if you are completely locked out. The only requirement is that you have access to the recovery email inbox or the phone number on file.

Use a password reset disk if you created one earlier

If you created a password reset disk on a USB drive or external drive before you forgot your password, you can use it now. Plug the drive into the computer, then on the login screen click Reset password below the password field.

Windows will walk you through a wizard that reads the reset disk and lets you create a new password without typing the old one. The disk itself is not encrypted, so keep it in a safe place — anyone with physical access to it can reset your account.

If you never created a reset disk, this option will not appear on your login screen.

Access a local account through Safe Mode

If you have a local account (one that does not use an email address) and no recovery method set up, you can restart Windows in Safe Mode and look for the built-in Administrator account. This account often has no password set, or has a blank password.

Restart your computer and hold down the F8 key as it starts up, before the Windows logo appears. (On newer computers, you may need to hold Shift while clicking Restart from the login screen, then select Troubleshoot > Advanced Options > Startup Settings > Restart, then press F8.) Select Safe Mode from the menu.

On the login screen, you should see an Administrator account. Try clicking it. If it does not ask for a password, you are in. If it does ask for a password and you do not know it, this path is closed.

Once you are logged in as Administrator, you can create a new password for your regular account. Open Settings, go to Accounts > Other people, select your account, and click Reset password.

Check if you wrote the password down somewhere

Before trying the technical routes above, think through whether you wrote the password down. Many people keep passwords in a notebook, a phone notes app, a password manager, or even a sticky note in a desk drawer. If you used the same password for other accounts — email, banking, social media — you might remember it by trying to log into one of those.

If you use a password manager like Bitwarden, 1Password, or LastPass, and you are still logged into it on another device, you can see the password there. If you are not logged in, you would need to remember your master password to access it.

Contact Microsoft support if you are completely stuck

If you have a Microsoft account, no recovery email or phone number on file, and no other way to prove you own the account, you can contact Microsoft support through their account recovery page. Go to account.microsoft.com/security and select I forgot my password. Microsoft will ask you to verify your identity using information only you would know — previous passwords, devices you have used, or payment methods on file.

This process can take several days. Microsoft will not restore your old password; they will help you set a new one after they confirm you own the account.

For a local account with no recovery method, there is no official Microsoft path forward. Your options are limited to the Safe Mode Administrator account method above, or taking the computer to a technician who can reset Windows or access the drive directly.

Prevent this from happening again

Once you have regained access, set up at least one recovery method. For a Microsoft account, go to Settings > Accounts > Your info and add a recovery email address and phone number. For a local account, go to Settings > Accounts > Sign-in options and create a password reset disk on a USB drive you keep in a safe place.

Consider using a password manager — Bitwarden and KeePass are free options — to store passwords so you do not have to remember them. Write down your master password (the one that unlocks the manager) and keep it somewhere find, like a safe or a locked drawer.

Frequently Asked Questions

Can I see my password by looking at the asterisks in the password field?

No. The asterisks are just placeholders. Windows does not store the actual characters anywhere you can retrieve them. The only way to see what you typed is to watch the keyboard as you type it.

What if I remember most of my password but not all of it?

Windows does not have a "hint" system that lets you guess. You either know the exact password or you do not. Your best option is to use a recovery method — email, phone, or reset disk — to create a new password instead.

Can a technician recover my old password?

No technician can recover a password that Windows hashed. They can reset it to a new one, or in some cases access the drive directly to bypass the login, but they cannot tell you what the original password was.

Is it safe to use the same password for Windows and my email?

No. If someone breaks into your email, they can reset your Windows password. Use a different password for each account, and store them in a password manager or written down in a find location.

What happens to my files if I reset my password?

Your files stay where they are. Resetting your password only changes how you log in — it does not delete or encrypt your documents, photos, or programs. You will have full access to everything once you log in with the new password.