How to Reset a Forgotten Password on Windows 10

//

Michael Collins

If you sign in to Windows 10 with an email address (a Microsoft account), select I forgot my password on the sign-in screen and confirm a code sent to your recovery email or phone. If you sign in with a plain user name (a local account), type any wrong password, select OK, then Reset password and answer your security questions.

These steps apply to Windows 10 Home and Pro. Windows 10 reached end of support on October 14, 2025, but every reset route below still works, and Windows 11 uses the same ones.

First, Work Out Which Account You Have

Windows 10 has two kinds of personal accounts, and each one is reset in a different place. Look at the sign-in screen: if an email address appears under your name, it is a Microsoft account. If only a name appears, it is almost always a local account, which exists only on that PC.

Microsoft account Local account
What the sign-in screen shows Your name and an email address Your name only
Where the password lives Online, with Microsoft On this PC only
Main reset route I forgot my password, or Microsoft’s reset page on any device Reset password and your security questions
Backup routes Microsoft’s account recovery form Password reset disk, another administrator on the PC
Needs the internet Yes No
Comparison of Windows 10 Microsoft account and local account password reset routes
Illustration: the sign-in screen tells you which account you have, and that decides the reset route.

A third kind, a work or school account, belongs to an organization. If your sign-in screen shows a company email address or a domain name, the organization’s IT staff resets it; the steps here will not.

If you still know the current password and only want a new one, you do not need a reset at all. Changing your Windows password from Settings or the Ctrl + Alt + Delete screen is quicker and keeps everything else the same.

Reset a Microsoft Account Password From the Sign-in Screen

You need an internet connection on the locked PC and access to the recovery email address or phone number on the account. If the PC is not online, connect it to Wi-Fi with the network icon in the lower-right corner of the sign-in screen first.

  1. On the sign-in screen, select your account if more than one is listed.
  2. Below the password box, select I forgot my password. If you normally sign in with a PIN, select Sign-in options and choose the password (key) icon first so the link appears.
  3. If Windows shows a box of characters to copy, type them and select Next. This check proves a person is asking.
  4. Choose where to receive a security code: your recovery email or a text to your phone. Windows may ask you to type part of the address or number to confirm it is yours.
  5. Select Get code, then type the code from the email or text message and select Next.
  6. Type a new password, type it again to confirm, and select Next.
  7. Select Sign in and use the new password.
Windows 10 Microsoft account sign-in screen (illustration)
Illustration: Windows 10 Microsoft account sign-in screen.
Four stages of resetting a Microsoft account password from the Windows 10 sign-in screen
Illustration: the Microsoft account reset from the sign-in screen, from the link to the new password.

The new password is your Microsoft account password everywhere: Outlook.com, OneDrive, Xbox, and any other PC or phone signed in with that account. Those other devices will ask for the new password the next time they check in.

Reset it from a phone or another computer

When the sign-in screen does not show I forgot my password, or the PC cannot get online, reset the password from any browser instead. Open Microsoft’s password reset page, enter the email address of the account, and follow the same code and new-password prompts. Then go back to the Windows 10 PC, make sure it is connected to the internet, and sign in with the new password.

Microsoft lists every one of these routes on its page about how to change or reset your Microsoft account password in Windows.

When you cannot receive the code

If the recovery email is closed or the phone number is out of date, Microsoft offers an account recovery form. According to Microsoft’s page on the account recovery form:

  • Microsoft suggests trying its Sign-in Helper tool first, because the form takes longer.
  • You need a working email address where Microsoft can reply. A free Outlook.com address you create for the purpose is fine.
  • Fill the form in on a device and at a place you normally use the account, such as your home PC on your home network.
  • Give as much detail as you can, such as old passwords and the subjects of recent emails. Wrong guesses do not count against you.
  • Microsoft reviews the answers and replies within 24 hours. You can try again up to two times a day.

One hard limit: if two-step verification is on and you have lost every verification method, Microsoft says support cannot help. Microsoft support staff also cannot send reset links or change account details for you, so be wary of anyone who claims they can.

Reset a Local Account Password on the Sign-in Screen

Windows 10 asks for three security questions when you create a local account with a password. Those answers are what let you reset it from the sign-in screen, with no internet connection needed.

  1. On the sign-in screen, type any password and press Enter, or select the arrow button next to the password box.
  2. Windows says the password is incorrect. Select OK.
  3. Select Reset password, which now appears under the password box.
  4. Answer the three security questions exactly as you typed them when you set them up, then press Enter.
  5. Type a new password, type it again, and add a hint if you want one.
  6. Press Enter or select the arrow to sign in.
Windows 10 local account sign-in screen (illustration)
Illustration: Windows 10 local account sign-in screen.
Path for resetting a Windows 10 local account password: wrong password, OK, Reset password
Illustration: the Reset password link appears only after a wrong password on a local account.

Microsoft describes the same sequence for local accounts in change or reset your local account password in Windows. If Reset password does not appear at all, the account most likely has no security questions on file, so move on to the next two methods.

Use a Password Reset Disk

A password reset disk is a USB flash drive you prepared in advance for one local account. It only helps if someone made it before the password was forgotten, and it does not work for Microsoft accounts.

  1. Plug the USB drive into the locked PC.
  2. On the sign-in screen, enter a wrong password, select OK, then select Reset password.
  3. Select Use a password reset disk instead. The Password Reset Wizard opens.
  4. Choose the USB drive from the list and select Next.
  5. Type a new password twice, add a hint, and finish the wizard.
  6. Sign in with the new password.
Local account sign-in after finishing the reset wizard (illustration)
Illustration: Local account sign-in after finishing the reset wizard.

To make a disk for next time, sign in to the local account, plug in a USB drive, open Control Panel, type create password reset in its search box, and select Create a password reset disk. Microsoft’s password reset disk instructions note that you do not need a new disk when you later change the password. Keep the drive somewhere safe, since anyone holding it can reset that account.

Have Another Administrator Set a New Password

If someone else on the same PC has an administrator account, they can give a local account a new password without knowing the old one. This is the usual fix in a family where a parent’s account is the administrator.

With Computer Management (Windows 10 Pro):

  1. The administrator signs in, right-clicks the Start button and selects Computer Management.
  2. In the left pane, expand Local Users and Groups and select Users.
  3. Right-click the locked account and select Set Password….
  4. Windows warns that setting a password this way can cost the user access to some protected information, such as files they encrypted. Read the warning, then select Proceed.
  5. Type the new password twice and select OK.

With Command Prompt (Windows 10 Home and Pro): Windows 10 Home does not include Local Users and Groups, so the administrator uses a command instead. Type cmd in the taskbar search box, select Run as administrator, and answer Yes. Then type the following, replacing Sam with the account’s user name, and press Enter:

net user Sam *
Empty Windows 10 local user password dialog (illustration)
Illustration: Empty Windows 10 local user password dialog.

The asterisk makes Windows ask for the new password twice without showing it on screen, as Microsoft’s net user reference explains. If the user name has a space in it, put it in quotation marks. Creating a new user on Windows 10 covers both of these tools in more detail, including how to make a second administrator account so you have a fallback before anything goes wrong.

An administrator cannot reset a Microsoft account password from Windows. That reset only happens online, as described above.

Forgot Your PIN, Not Your Password?

Many Windows 10 PCs ask for a Windows Hello PIN rather than the account password. The PIN is a separate code tied to that one PC, and resetting it does not touch your password. On a Microsoft account, select I forgot my PIN under the PIN box and verify your account. On a local account, sign in with the password through Sign-in options, then set a new PIN in Settings. Resetting a forgotten Windows PIN walks through both cases. If you have lost the PIN and the password, reset the password first, then the PIN.

Last Resort: Reset Windows Without Signing In

When the account is local, there are no security questions or reset disk, and no other administrator exists, Microsoft’s local account page says the remaining option is to reset the device. Read this before you start: choosing Remove everything deletes every file, app and account on the PC.

  1. On the sign-in screen, select the Power icon in the lower-right corner.
  2. Hold down Shift and select Restart. Keep holding Shift until a blue Choose an option screen appears.
  3. Select Troubleshoot > Reset this PC.
  4. Select Remove everything and follow the prompts.
Windows 10 Reset this PC choices (illustration)
Illustration: Windows 10 Reset this PC choices.

If the drive is encrypted with BitLocker or device encryption, Microsoft’s Reset your PC page warns that you will need the BitLocker recovery key to finish. Microsoft’s documentation does not say that Keep my files clears a forgotten password, so plan on starting with fresh accounts.

When the built-in reset fails, a clean install from Microsoft’s free Windows 10 download page is the other way to start over. It also erases the drive, and it is a good moment to consider moving to Windows 11 if the PC qualifies.

Shortcuts to Avoid

You will find guides that get past a forgotten password by swapping a sign-in screen accessibility tool for Command Prompt, or by booting third-party “password recovery” software that edits Windows files offline. They are left out here on purpose. They depend on tampering with system files, they fail on drives protected by BitLocker or device encryption, and the paid tools ask you to run unknown software with full access to your PC. If the PC is yours and none of the methods above work, a reset is the safer route.

If the PC is not yours, such as a used computer still signed in to the previous owner’s account, ask the seller or the owner to reset or remove the account.

After You Are Back In

A few minutes now saves the next lockout:

  • Microsoft account: sign in at account.microsoft.com, open Security, and check that the recovery email and phone number are current.
  • Local account: open Settings > Accounts > Sign-in options, select Password, and update your security questions to answers you will remember in five years. Then make a password reset disk.
  • Add a PIN so daily sign-in is quicker and the password is used less often.
  • Consider a Microsoft account. A local account cannot be reset online. If you would rather have that option, switching your Windows 10 sign-in to a Microsoft account explains how the switch works.

If the Reset Does Not Work

  • There is no “I forgot my password” link. The account is probably a local account, or the sign-in screen is still on the PIN. Select Sign-in options, choose the key icon, and look again.
  • The code never arrives. Check spam or junk folders, wait a few minutes, and request a new code. If the recovery address or number is out of date, use the recovery form.
  • The new password is not accepted on the PC. Make sure the PC is online, then restart it and try again. Check that Caps Lock is off and that the keyboard layout shown on the sign-in screen is the one you used to type the password.
  • “Reset password” never appears. That local account most likely has no security questions on file. Have another administrator set a new password, or use the last-resort reset.
  • The security answers are rejected. Answers must match what was typed originally. Try common variations, such as with and without capital letters.

Windows 10 Password Reset Questions

Will resetting my password delete my files?

No. Resetting a Microsoft account password online, answering security questions, using a reset disk, or having an administrator set a new password all leave your files in place. Only resetting Windows with Remove everything, or a clean install, deletes them.

Can Microsoft support reset my Windows password for me?

No. Microsoft says its support staff cannot reset or bypass a forgotten password or send reset links. The reset page and the account recovery form are the official routes for a Microsoft account. Nobody at Microsoft can reset a local account, because that password is stored only on your PC.

Can I reset a Microsoft account password without internet on the PC?

You can reset the password on another device, but the Windows 10 PC needs to get online before it accepts the new one. A local account reset with security questions or a reset disk works with no internet connection.

Is the reset process the same on Windows 11?

Yes, the routes match: I forgot my password for a Microsoft account, security questions or a reset disk for a local account, and an administrator for local users. Windows 11 also offers a web sign-in option on some PCs. Finding your computer username and password in Windows 11 covers the Windows 11 screens.

Is it safe to keep using Windows 10 after resetting the password?

The PC keeps working, but Microsoft’s Windows 10 end of support page says Windows 10 no longer gets security updates unless the PC is enrolled in Extended Security Updates, which for home users runs until October 12, 2027.