You can reset a forgotten Windows 10 password without signing in, right from the sign-in screen: for a Microsoft account, select I forgot my password (or reset it from any other device), and for a local account, enter a wrong password, select OK, then Reset password and answer your security questions or use a password reset disk. If none of those are set up, another administrator account on the PC can set a new password for you, and the last resort is resetting Windows, which erases the PC.
Everything below uses Microsoft’s own recovery routes. Methods that replace Windows system files or otherwise bypass the sign-in screen aren’t covered here, because they work by defeating Windows security. Windows 10 reached end of support on October 14, 2025, so once you’re back in, check that the PC is enrolled in Extended Security Updates or plan a move to Windows 11.
Before you reset anything
Try the quick checks
- Caps Lock and keyboard layout. Passwords are case-sensitive. Check that Caps Lock is off, and if more than one language is installed, check the language indicator at the bottom right of the sign-in screen.
- Another sign-in method. Select Sign-in options under the password box. If you set up a PIN, fingerprint or face sign-in, use it. Once you’re signed in with a Microsoft account, Microsoft lets you set a new password from Settings > Accounts > Sign-in options > Password > Change by selecting Forgot my current password.
- Your password hint. Local accounts can show a hint after a wrong attempt.
Work out which kind of account you have
The right steps depend on the account type:
- Microsoft account: you sign in with an email address, and the password is the same one you use for Outlook.com, OneDrive, Xbox or other Microsoft services.
- Local account: you made up a username and password that exist only on this PC.
- Work or school account: the PC came from an employer or school, or you sign in with an organization email address. Only that organization’s IT team can reset it, so contact them and skip the rest of this page.
Not sure? Look at the sign-in screen. If you see I forgot my password under the password box, follow the Microsoft account steps. If you only see the password box, follow the local account steps.
Reset a Microsoft account password from the sign-in screen
A Microsoft account password is reset online, so the PC needs an internet connection. If the sign-in screen shows a network icon at the bottom right, use it to connect to Wi-Fi first.
- Select I forgot my password below the password box. On some PCs, you can instead select Sign-in options, then Web sign-in, and choose Forgot my password after following the prompts.
- Verify that it’s you. Follow the prompts to choose one of the verification options on the account, such as its recovery email address or phone number, and enter the security code Microsoft sends there.
- Create a new password. This changes the password for the whole Microsoft account, not just this PC, so use the new one everywhere you sign in.
- Return to the sign-in screen and sign in with the new password.
Reset it from another device instead
If the PC won’t show the reset option or can’t get online, use a phone or another computer. Microsoft’s article on how to change or reset your Microsoft account password in Windows links to its online Reset password page, which works from any browser. Follow the same code and new-password steps there, then go back to the locked PC, make sure it’s connected to the internet, and sign in with the new password.
If you can’t reach the recovery email or phone
When none of the verification options on the account are yours anymore, Microsoft suggests these steps:
- Try the Sign-in helper first. Microsoft recommends trying its Sign-in helper tool before the form, because the form can take time.
- Fill out the account recovery form. You’ll need a working email address that Microsoft can reply to; a friend’s address or a new free Outlook.com address is fine. The form asks questions only the owner should know, such as old passwords, contacts, and email subject lines you’ve sent. Guesses don’t count against you, so answer as many questions as you can.
- Use a familiar device and place. Microsoft suggests filling out the form on a device you’ve signed in with before, at a location such as home or work. It says it reviews answers and responds within 24 hours.
Two limits are worth knowing before you start. If two-step verification is turned on and you can’t use any of its methods, Microsoft says it can’t help recover the account. And Microsoft support agents aren’t allowed to send password reset links or change account details, so a call to support won’t skip these steps. Microsoft’s help page for the account recovery form explains what information improves your chances.
Reset a local account password from the sign-in screen
Windows 10 can reset a local account password at the sign-in screen if you set up security questions when you created the account, or if you made a password reset disk earlier.
Answer your security questions
- On the sign-in screen, type any password and press Enter or select the arrow next to the password box.
- Windows says the password is incorrect. Select OK.
- Select Reset password below the password box.
- Answer the security questions you chose when you created the account.
- Enter a new password, confirm it, and follow any remaining prompts. Then sign in with the new password.
If Reset password never appears, the account has no security questions set up. Try a password reset disk or another administrator account instead.
Use a password reset disk
A password reset disk is a USB flash drive you prepared earlier, while you could still sign in. It only works for the local account it was made for. Microsoft notes that you don’t need a new disk after changing your password, so an old disk still works.
- Plug the password reset USB drive into the PC.
- Enter a wrong password and select OK, then select Reset password. If Windows shows your security questions, choose the option to use a password reset disk instead.
- Follow the on-screen instructions to choose the USB drive and set a new password.
- Sign in with the new password.
Ask another administrator on the PC to set a new password
If someone else has an administrator account on the same PC (a family member, for example), they can set a new password for your local account. Microsoft documents these steps: Once you’re back in, it’s worth having that person make a second account an administrator on Windows 10 so the PC always has a spare.
- Have the other person sign in with their administrator account.
- Right-click the Start button and select Computer Management.
- Expand Local Users and Groups, then select Users.
- Right-click your account and select Set Password. Windows warns that this can cause irreversible loss of information: the account loses access to files it encrypted, encrypted email and internet passwords saved on the PC. If that matters, try the security questions or a password reset disk first, then select Proceed to continue.
- Enter the new password, confirm it, and select OK. Sign out, then sign in to your account with the new password.
This only works for local accounts. A Microsoft account password has to be reset online with the steps above. Microsoft’s article on how to change or reset a local account password says that if there’s no administrator account available to do this, you’ll need to reset the device.
Last resort: reset Windows from the sign-in screen
When you can’t recover a local account password any other way, or you’ve given up on recovering a Microsoft account, you can reinstall Windows from the sign-in screen and start over. Read these warnings before you begin:
- You will lose data. Choosing Remove everything deletes your personal files, apps and settings from the PC. Files you previously synced to OneDrive or another cloud service stay in the cloud, but anything stored only on this PC is gone.
- Have your BitLocker recovery key ready. Microsoft says that if BitLocker is turned on, you’ll need its recovery key for most recovery options. On another device, sign in to your Microsoft account’s recovery key page (aka.ms/myrecoverykey) and match the key ID shown on the PC. The key may also be on a printout or a USB drive you saved. Without it, you can’t continue.
- Plug in a laptop. A reset can take a long time, so keep the charger connected until it finishes.
- On the sign-in screen, press and hold the Shift key while you select the Power icon, then Restart. Keep holding Shift until the blue Choose an option screen appears.
- Select Troubleshoot, then Reset this PC.
- Select Remove everything. If you choose Keep my files instead, Windows may ask for an administrator account’s password before it continues, which you won’t have.
- If asked for a BitLocker recovery key, enter it.
- Follow the remaining prompts and confirm the reset. The PC may restart several times while Windows reinstalls.
- When setup finishes, create a new account. If you use a Microsoft account, sign in with it (you can reset its password online first); files you synced to OneDrive are still there in the cloud.
For more about what each reset option keeps and removes, see how to factory reset Windows 10.
Make sure you don’t get locked out again
After you’re back in, take a few minutes to set up a second way in:
- Local account: make a password reset disk. Plug in a USB flash drive, search for Control Panel from the taskbar, type create password reset in the Control Panel search box, select Create a password reset disk and follow the wizard. Store the drive somewhere safe.
- Microsoft account: check that the recovery email address and phone number on the account are current, so the reset code reaches you next time.
- Both: set up a Windows Hello PIN in Settings > Accounts > Sign-in options, and save your BitLocker recovery key somewhere other than the PC.
If you’d rather sign in without a password at all, the guide to removing the password from Windows 10 explains the trade-offs.
How to tell it worked
You’re done when the new password (or your PIN) takes you to the desktop. For a Microsoft account, sign in to another Microsoft service, such as Outlook.com, with the new password to confirm the change went through everywhere. If the PC still rejects a new Microsoft account password, connect it to the internet and try again, and check that you’re typing the password for the right email address.
Common questions about getting back into Windows 10
Do I lose my files when I reset my password?
Resetting a password with the Microsoft account, security question or reset disk steps doesn’t delete files. When another administrator sets a new password, your files stay, but files you encrypted and passwords saved on the PC may no longer open. Only resetting Windows with Remove everything deletes your files.
I changed the password while I was signed in, and now neither works. What happened?
With a Microsoft account, the most recent password is the only one that works, and the PC may need an internet connection to accept it. Reset it again online, then sign in while connected. Once you can sign in again, you can change your password on Windows 10 in Settings whenever you want a new one, as long as you know the current one.
If you can still sign in but just want to change or reset a password in general, start with the overview of how to reset a Windows 10 password.
Matthew Burleigh has been a freelance writer since the early 2000s. You can find his writing all over the Web, where his content has collectively been read millions of times.
Matthew received his Master’s degree in Computer Science, then spent over a decade as an IT consultant for small businesses before focusing on writing and website creation.
The topics he covers for MasterYourTech.com include iPhones, Microsoft Office, and Google Apps.
You can read his full bio here.