sodcalculator

10 Tech How-To

Forgot Windows Password? How to Get Back In

Guide 10-29328 · Updated · Step by step

Forgetting your Windows password can feel like being locked out of your own house, but it is usually fixable without wiping your files. This guide covers the most practical ways to regain access to a Windows PC when you cannot remember the password, from Microsoft account recovery to built-in reset tools. The right method depends on whether you use a Microsoft account or a local account, and whether you have another admin account available.

What You’ll Need

  • Another device (phone, tablet, or second computer) to access your email or Microsoft account online
  • Access to the email or phone number linked to your Microsoft account
  • A USB drive (at least 8 GB) if you need to create a password reset disk or reinstall Windows
  • Your Windows installation media (USB or DVD) if you need to use advanced recovery options
  • Patience and a few minutes of time

Step-by-Step

Method 1: Reset a Microsoft Account Password (Recommended for Most Users)

  1. On any device, go to account.live.com/password/reset.
  2. Choose “I forgot my password” and click Next.
  3. Enter the email address, phone number, or Skype name associated with your Microsoft account, then complete the captcha and click Next.
  4. Select how you want to receive the security code (email, text, or alternate email) and click Next.
  5. Enter the code you receive and click Next.
  6. Create a new password, confirm it, and click Next. Microsoft will confirm your password was changed.
  7. On your locked PC, click anywhere on the login screen, enter your new password, and press Enter. You should be back in.

Method 2: Use Another Administrator Account

  1. If your PC has more than one user account and you know the password for an account with administrator privileges, log in with that account.
  2. Press Windows key + X and select Computer Management.
  3. In the left pane, expand Local Users and Groups and click Users.
  4. Right-click the account with the forgotten password and select Set Password.
  5. Read the warning, click Proceed, enter a new password twice, and click OK.
  6. Sign out and log in with the new password.

Method 3: Use a Password Reset Disk (Local Accounts Only)

  1. If you previously created a password reset disk for the account, insert the USB drive into the locked PC.
  2. On the login screen, after entering a wrong password once, click Reset password below the password box.
  3. Follow the Password Reset Wizard, selecting your USB drive and creating a new password.

Method 4: Use Windows Recovery Environment (Last Resort)

  1. Restart the PC. When the login screen appears, hold Shift and click the Power icon, then select Restart. If that does not work, interrupt the boot process three times (turn off the PC when the Windows logo appears) to trigger automatic repair.
  2. In the blue recovery menu, go to Troubleshoot > Reset this PC.
  3. Choose Keep my files to reinstall Windows while preserving your personal documents and photos (apps and settings will be removed).
  4. Follow the on-screen instructions. You will need to choose an account and may be asked for your Microsoft password; if you do not have it, choose “I don’t have this person’s sign-in info” and follow the prompts.
  5. After the reset completes, set up Windows with a new password.

Common Mistakes

  • Trying the wrong account type: Resetting a Microsoft account password online will not help if you use a local account. Check the login screen—if it shows an email address, it is a Microsoft account.
  • Guessing too many times: Windows may lock the account temporarily after several failed attempts, making the situation worse.
  • Using third-party password crackers: These tools are often unreliable, may contain malware, and can permanently damage your Windows installation.
  • Skipping the security code: When resetting a Microsoft account, you must have access to the recovery email or phone number. Without it, the process fails.
  • Forgetting to check Caps Lock: A simple case-sensitive typo is the most common cause of a “wrong password” message.

Tips

  • Create a password reset disk now: For local accounts, this is the easiest recovery method. Plug in a USB drive, search for “Create a password reset disk” in the Start menu, and follow the wizard.
  • Link your local account to a Microsoft account: This gives you the online reset option, which works from any device.
  • Use a password manager: Store your passwords in a reputable password manager so you never have to remember them.
  • Set up security questions: For local accounts, Windows allows you to add security questions during setup, which can be used to reset the password.
  • Keep your recovery email and phone number up to date: Microsoft sends reset codes to these, so make sure they are current.

Troubleshooting

  • I don’t have access to my recovery email or phone: If you cannot receive the security code, Microsoft offers an account recovery form at account.live.com/acsr. You will need to provide as much detail as possible about your account, such as previous passwords, subject lines of emails you sent, and devices you used. Approval can take up to 24 hours.
  • The “Reset password” link does not appear on the login screen: This link only shows for local accounts that have a password reset disk inserted. If you do not have the disk, use another admin account or the recovery environment method.
  • I tried the Shift+Restart method but it boots normally: Some PCs have Fast Startup enabled, which can interfere. Instead, hold the power button to force a shutdown, then turn it on and immediately press the power button again to turn it off when the Windows logo appears. Repeat three times, then let it boot into recovery.
  • Reset this PC says “There was a problem resetting your PC”: This usually indicates corrupted system files. Try the reset again, or use Windows installation media to boot and select “Repair your computer” > “Troubleshoot” > “Reset this PC”.
  • I get an error saying the password is incorrect after resetting online: Restart the PC completely, not just sign out. If it still fails, try signing in with your email address instead of your username, or vice versa.
  • I have a work or school account: These are managed by your organization’s IT department. Contact them directly; they can reset your password or unlock your account.

Frequently Asked Questions

Can I get into my computer without the password and without losing files?

Yes, in most cases. The Microsoft account online reset and the “Reset this PC” with “Keep my files” option both preserve your personal files. The only method that removes files is a full factory reset, which you should avoid unless you have backups.

How long does it take to reset a Microsoft account password?

The online reset itself takes about 5-10 minutes if you have access to your recovery email or phone. If you must use the account recovery form because you lost access to those, it can take up to 24 hours for Microsoft to review your request.

Will resetting the password delete my installed programs?

Resetting the password via a Microsoft account or another admin account does not delete any programs. However, using “Reset this PC” with “Keep my files” will remove installed applications and settings, though it keeps your documents, photos, and other personal files.

Is it legal to reset a password on a computer that isn’t mine?

Only reset a password on a computer you own or have explicit permission to access. Doing so on someone else’s device without authorization may be illegal in your jurisdiction. This guide is intended for recovering access to your own machine.

What if I never set up a Microsoft account and have no other admin account?

Your options are limited to the password reset disk (if you made one) or the “Reset this PC” method via the recovery environment. Both require you to be at the physical machine and do not require the old password.

Can I use command prompt to reset the password?

There are unofficial methods that involve booting from installation media and using Command Prompt to replace the accessibility tools with a command shell. These are risky, can trigger antivirus warnings, and may fail on newer Windows versions due to security changes. The methods above are safer and more reliable.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →