The fastest way back in depends on what you remember
If you can reach the Windows login screen but cannot remember your password, you have three practical routes: use a password reset disk if you made one before, reset through your Microsoft account online, or create a new local administrator account from another device. The method that works depends on whether you set up a Microsoft account (which ties to your email) or a local account (which exists only on that computer), and whether you have access to another Windows device.
The good news: you do not need to erase your files or pay anyone. The bad news: some routes take longer than others, and the fastest one only works if you prepared ahead. Start with whichever method matches your situation, and work through the steps in order.
Key Takeaways
- If you set up a Microsoft account during Windows setup, you can reset your password online using any device with internet, and the new password works when ready on your locked computer.
- A password reset disk created before you forgot your password lets you reset it directly at the login screen in under a minute, with no internet required.
- If you have another Windows computer in your home, you can create a new administrator account on your locked computer without knowing the old password.
- If none of these explore, you will need to reinstall Windows, which erases everything on the drive unless you back it up first.
- The Windows login screen itself tells you whether your account is a Microsoft account or local account — look for an email address or a username.
Reset through your Microsoft account if you use email to sign in
Look at your login screen. If you see an email address instead of a username, you have a Microsoft account. Go to account.microsoft.com on any device with internet — a phone, tablet, or another computer. Sign in with that email address and your recovery email or phone number (whichever you set up when you created the account).
Microsoft will send a code to your recovery email or phone. Enter that code on the website, then create a new password. Use a password you will remember this time. Wait a few minutes, then go back to your locked Windows computer and enter the new password at the login screen. It should work when ready.
This method works even if you have not used that computer in months. The only requirement is that you remember the email address tied to your account and can access the recovery email or phone number you set up with Microsoft.
Use a password reset disk if you created one before
If you made 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 your locked computer. At the login screen, click Reset password (the link appears below the password field). Windows will walk you through a short wizard that reads the reset disk and lets you create a new password right there.
This is the fastest method — it takes about one minute and requires no internet. The catch is that you had to create the disk before you forgot your password. If you did not, this option is not available to you now.
If you have access to another Windows computer right now, you can create a reset disk for the future. Plug a USB drive into the working computer, open Control Panel, search for Create a password reset disk, and follow the wizard. Keep that drive somewhere safe. It will work on that account even years later.
Create a new administrator account from another Windows computer
If you have a second Windows computer in your home, you can use it to create a new administrator account on your locked computer without knowing the old password. This works because Windows lets you manage other computers on the same network if you have administrator rights on the computer you are using.
On the working computer, open Settings and go to Accounts. Look for an option called Other people or Family and other users (the exact name varies by Windows version). Select Add someone else to this PC. When prompted for an email address, enter a new email you control, or create a local account with a username you choose. Set a password you will remember. Finish the wizard.
Go back to your locked computer and restart it. At the login screen, you should now see the new account you just created. Sign in with that account and the password you set. Once you are in, you can reset the old account's password through Settings > Accounts > Other people, or straightforward use the new account going forward.
This method requires physical access to another Windows computer and the ability to connect both computers to the same network. If you do not have a second computer available, this route is not open to you.
What to do if none of these methods work
If you do not have a reset disk, cannot access your Microsoft account recovery email or phone, and do not have another Windows computer, you will need to reinstall Windows. This erases everything on the drive unless you back it up first.
To back up your files before reinstalling, you need to boot the computer from a Windows installation USB drive or DVD. This lets you access your files without logging in. Plug in an external drive, copy your important files to it, then proceed with the reinstall. The Windows setup wizard will let you create a new account and password during the process.
Creating a Windows installation USB requires another computer and takes about 20 minutes. If you do not have access to another computer, a computer repair shop can do this for you — expect to pay between $50 and $150 depending on your location and whether they back up your files.
How to avoid this problem in the future
Create a password reset disk now and store it somewhere safe — a drawer, a safe, or even a safe deposit box. This takes five minutes and works years later. If you use a Microsoft account, make sure your recovery email and phone number are current. Check them once a year by signing into account.microsoft.com and looking at your security settings.
Write your passwords down in a physical notebook kept in a safe place, or use a password manager like Bitwarden, 1Password, or KeePass. A password manager stores all your passwords behind one strong password, and you only have to remember that one. If you forget the manager's password, you can still reset it using your Microsoft account recovery options.
If you share a computer with others, consider setting up separate accounts for each person. That way, if one person forgets their password, it does not lock everyone out of the computer.
Frequently Asked Questions
Can I reset my password if I do not remember my security questions?
Security questions are not the primary way Windows lets you reset a password. If you have a Microsoft account, you reset through your recovery email or phone number instead. If you have a local account with no recovery options set up, you will need a password reset disk or another method from this guide.
Will resetting my password delete my files?
No. Resetting your password does not touch your files, photos, documents, or programs. Everything stays on the computer. Only a full Windows reinstall erases the drive.
How long does it take to reset a password through Microsoft?
Usually five to ten minutes. Microsoft sends a code to your recovery email or phone, you enter it on the website, create a new password, and then sign in on your computer. The new password works when ready.
What if I do not know whether my account is a Microsoft account or local account?
Look at the login screen. If you see an email address in the username field, it is a Microsoft account. If you see a regular username (like "John" or "JohnSmith"), it is a local account. You can also check by going to Settings > Accounts on any computer where you can sign in.
Can I use someone else's password reset disk on my computer?
No. A password reset disk is tied to the specific account and computer it was created for. It will not work on a different account or a different computer.