The fastest way depends on what you remember and what you set up before
If you know your Microsoft account password, you can reset your Windows password from the login screen itself — no recovery disk or second computer needed. If you don't remember your Microsoft password, or if you're using a local account with no recovery email attached, you'll need to use a password reset disk you created earlier, answer security questions you set up in advance, or use another administrator account on the same computer. The method that works for you depends entirely on what recovery options you configured before you got locked out.
The single most important thing you can do right now is check whether you're trying to log into a Microsoft account (which syncs across devices and uses your email) or a local account (which exists only on that one computer). This determines which reset path is available to you.
Key Takeaways
- If you use a Microsoft account and remember your email password, go to the Windows login screen, click "I forgot my password", and follow the reset link sent to your recovery email.
- If you set up a password reset disk before you forgot your password, insert it now and use it to create a new password without needing to remember the old one.
- If you have a second administrator account on the same computer, log in with that account and reset the forgotten password through Settings.
- If none of those options work, you will need to reinstall Windows, which erases all files on the drive — so this should be your last resort.
Resetting a Microsoft account password from the login screen
At the Windows login screen, click the "I forgot my password" link below the password field. Windows will ask you to verify your identity — usually by sending a code to your recovery email address or phone number. Check that email or text message, enter the code into the login screen, and then create a new password.
This only works if you still have access to the email address or phone number you registered with your Microsoft account. If you no longer have access to that email (for example, if it's an old work account), you may need to use Microsoft's account recovery form at account.microsoft.com/security/how-to-recover-account. That process can take longer and may require you to answer security questions or provide a photo ID.
Using a password reset disk you created in advance
If you created a password reset disk on a USB drive or floppy disk before you forgot your password, insert it into your computer now. At the login screen, click "Reset password" (the exact wording varies by Windows version). Windows will walk you through creating a new password using the disk — you don't need to remember the old password at all.
If you never created a reset disk, you cannot create one now that you're locked out. This is why creating one ahead of time matters: it's a one-time setup that takes about two minutes and can save you hours later. If you have access to another computer, you can create a reset disk for future use, but it won't help you right now.
Using a second administrator account on the same computer
If another person uses the same computer and has an administrator account, they can log in and reset your password for you. Open Settings, go to Accounts, select "Other people", find your account name, and click "Reset password". They can set a temporary password that you'll change the next time you log in.
This only works if that other account actually exists and has administrator rights. A standard user account cannot reset another account's password. If you're the only person who uses the computer and you're the only administrator, this option is not available to you.
Answering security questions if you set them up
Some versions of Windows and some local accounts allow you to reset your password by answering security questions you chose in advance — questions like "What was the name of your first pet?" or "What city were you born in?" At the login screen, click "I forgot my password" and answer the questions if prompted.
This feature is less common than it used to be, and it only works if you actually set up security questions when you created your account. If you don't see this option at the login screen, your account was not configured with security questions, and this method won't be available.
Reinstalling Windows as a last resort
If you cannot access your Microsoft account recovery email, never created a password reset disk, have no other administrator account, and did not set up security questions, your only remaining option is to reinstall Windows. You'll need another computer to read Windows installation media onto a USB drive, then boot from that drive and choose the option to reinstall Windows.
Reinstalling Windows will erase everything on your drive — all your files, programs, and settings. You should only do this if you have backups of anything you need to keep. After reinstalling, you can set up a new account and, if you have backups, restore your files. This is why setting up recovery options before you need them is so valuable: it prevents you from ever reaching this point.
Preventing this from happening again
Once you're back into your account, spend ten minutes setting up recovery options so you never get stuck again. For a Microsoft account, make sure your recovery email and phone number are current in your account settings. For a local account, create a password reset disk by opening Settings, going to Accounts, and selecting "Create a password reset disk" — it takes about two minutes and works even years later.
You can also write your security questions and answers down and store them somewhere safe, though a password reset disk is more reliable. The goal is to have at least two ways to get back into your account if you forget your password: one should not depend on remembering anything else.
Frequently Asked Questions
Can I reset my password without a recovery email or phone number?
Not through the normal login screen. If you have a second administrator account on the computer, that account can reset your password. Otherwise, you'll need a password reset disk you created earlier, or you'll need to reinstall Windows. This is why setting up recovery options before you need them matters so much.
What if I forgot my Microsoft account password too?
Go to account.microsoft.com/security/how-to-recover-account from another device and follow Microsoft's account recovery process. You'll verify your identity through your recovery email, phone number, or security questions. This can take longer than a normal password reset, but it's designed to work even when you've forgotten everything.
Can I use someone else's password reset disk to reset my password?
No. A password reset disk is tied to the specific account it was created for. You can only use your own reset disk to reset your own password. If someone else created a disk for their account, it won't work on yours.
How long does it take to reinstall Windows?
The actual installation usually takes 20 to 45 minutes, depending on your computer's speed. However, you'll also need time to read Windows onto a USB drive from another computer, which can take 30 minutes to an hour depending on your internet speed. After installation, you'll need to reinstall your programs and restore your files from backup.
If I reset my password, will I lose my files?
No. Resetting your password through any of the normal methods — recovery email, reset disk, security questions, or another administrator account — only changes your password. Your files, programs, and settings stay exactly as they are. Only reinstalling Windows erases your files.