The fastest way depends on whether you remember any part of your password
If you are locked out of Windows, your options split into two paths: password recovery (if you set up security questions or a recovery email) and password reset (if you did not). Recovery is faster — it can work in minutes from the login screen. Reset requires more steps and takes longer, but works even if you never configured recovery options.
Before you try either path, check what type of account you are using. Windows accounts fall into two categories: a Microsoft account (which uses your email address and syncs across devices) or a local account (which exists only on that one computer). The method you use depends on which one you have, and you can usually tell from the login screen — Microsoft accounts show an email address, local accounts show a username.
Key Takeaways
- Microsoft account holders can reset their password from the login screen using a recovery email or phone number, and regain access within minutes.
- Local account users without recovery options must use password reset disk (if created beforehand) or create a new administrator account from another computer.
- If you set up security questions when creating your account, answering them correctly at the login screen bypasses the need for email or phone recovery.
- Windows password managers and hint features only work if you remember enough of the password to log in partially — they cannot recover a completely forgotten password.
- The easiest prevention is to write down your password recovery options (email, phone number, security questions) and store them somewhere safe right now.
Recovering a Microsoft account password from the login screen
If your account is linked to a Microsoft email address, the login screen itself offers a recovery path. Look for the text "I forgot my password" below the password field — click it. Windows will ask you to enter a recovery email address or phone number associated with your account.
Microsoft will send a code to that email or phone. Enter the code on the next screen, then create a new password. This usually takes five to ten minutes. You can then log in with your new password when ready. This method works even if you never wrote down a recovery email — Microsoft uses the one you provided when you created the account, which may be a different email than the one you use daily.
If you do not see "I forgot my password" on the login screen, your account may be a local account, not a Microsoft account. Move to the local account section below.
Using security questions to reset your password
Some Windows accounts have security questions set up — questions like "What is your mother's maiden name?" or "What was the name of your first pet?" If you created these when you set up your account, you can use them to reset your password without needing email or phone access.
At the login screen, enter any password (it does not have to be correct). Windows will offer a link to reset your password and ask you to answer your security questions instead. Answer all of them correctly, and you can create a new password on the spot. This works for both Microsoft and local accounts, as long as the questions were configured beforehand.
If you do not remember the answers you gave, or if you never set up security questions, this path will not work. Move to the next section.
Resetting a local account password with a password reset disk
If you created a password reset disk before you forgot your password, you can use it now. This disk is a USB drive or external drive that stores a key allowing you to reset your password. It does not contain your actual password — it just unlocks the ability to create a new one.
Insert the disk into your computer. At the login screen, enter any password, then look for "Reset password" or a similar link. Windows will walk you through selecting your reset disk and creating a new password. This takes about five minutes.
If you never created a reset disk, or you cannot find it, you will need to use a different method. The next section covers what to do in that situation.
Creating a new administrator account on a locked computer
If you do not have a recovery email, security questions, or a reset disk, you can create a new administrator account from another Windows computer and use it to reset your original password. This requires physical access to another computer running Windows, and it takes longer than the methods above — usually 30 minutes to an hour.
On the other computer, read a tool like Offline NT Password Editor (free, open-source) or Hiren's Boot CD. Follow the tool's instructions to create a bootable USB drive. Insert that drive into your locked computer, restart it, and boot from the USB. The tool will let you create a new administrator account or reset your existing password. The exact steps vary by tool, so follow the tool's documentation carefully.
This method works but requires technical comfort with booting from USB and following command-line instructions. If you are not comfortable with those steps, contact a local computer repair shop — they can perform this reset for you, usually for $50 to $150.
What to do if you partially remember your password
If you remember most of your password but are stuck on one or two characters, Windows will not let you guess repeatedly — after several wrong attempts, it locks you out temporarily. Do not keep trying.
Instead, use one of the recovery methods above: "I forgot my password" for Microsoft accounts, security questions if you set them up, or a reset disk if you created one. These are faster than guessing, and they do not trigger a lockout.
If you remember your password hint (a clue you wrote when creating the account), look for it on the login screen — it may appear after a few wrong attempts. The hint is not your password, but it might jog your memory enough to remember the real one.
Preventing this from happening again
The easiest solution is to set up recovery options before you need them. Open Settings, go to Accounts, then select "Security options" or "Password." From there, you can add a recovery email, a recovery phone number, or security questions. Write these down and store them somewhere safe — a notebook in a drawer, a password manager, or a trusted family member.
If you use a password manager (like Bitwarden, 1Password, or the built-in Windows credential manager), store your Windows password there too. Password managers are encrypted and backed up, so you can recover your password even if you forget it — as long as you remember the master password for the manager itself.
For local accounts especially, create a password reset disk right now. Go to Settings, search for "password reset disk," and follow the wizard. It takes five minutes and can save you hours of trouble later.
Frequently Asked Questions
Can I reset my password if I do not have access to my recovery email?
If your recovery email is no longer active, you can still use security questions (if you set them up) or a password reset disk (if you created one). If you have neither, you will need to create a new administrator account from another computer using a bootable tool, or contact a repair shop.
What is the difference between a password reset and a password recovery?
Recovery uses information you set up beforehand — a recovery email, phone number, or security questions — to prove your identity and unlock your account. Reset creates a new password from scratch, usually by proving you have access to another device or by using a reset disk. Recovery is faster when it works.
Will resetting my password delete my files?
No. Resetting your Windows password does not touch your files, photos, documents, or installed programs. They remain on your computer. You will be able to access them once you log in with your new password.
Can I use someone else's computer to reset my Microsoft account password?
Yes. Go to account.microsoft.com on any web browser, click "Can't access your account," and follow the recovery steps. You can reset your password from any computer with internet access, then use the new password on your own computer.
What if I get locked out after too many wrong password attempts?
Windows locks you out temporarily (usually 30 minutes to an hour) after multiple failed attempts. Wait for the lockout to expire, then use a recovery method instead of guessing. Do not restart your computer repeatedly — that does not speed up the lockout.