TechBuzzPro

How to Reset a Local Account Password in Windows 11

· 6 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To reset a forgotten local account password in Windows 11, you can use the built-in password reset disk (if you made one), answer security questions (if set up), or use another administrator account. If none of those work, you'll need to use a hidden built-in administrator account or a Windows installation media to reset the password. This guide walks through each method step-by-step.

What You'll Need

  • Access to another administrator account on the PC (if using that method).
  • A USB flash drive or DVD with Windows 11 installation media (for the reset disk method).
  • A password reset disk (if you created one previously).
  • Your Microsoft account credentials if your account is linked (though this guide focuses on local accounts).

Step-by-Step

Method 1: Use Security Questions (If Set Up)

  1. On the login screen, after entering a wrong password, click the Reset password link that appears below the password box.
  2. Answer the security questions you set up when you created the account.
  3. Enter a new password and a password hint, then click Next and Finish.
  4. Log in with your new password.

Method 2: Use Another Administrator Account

  1. Log in to Windows with any account that has administrator privileges.
  2. Open Settings (Win + I) and go to Accounts > Other users (or Family & other users).
  3. Select the account whose password you want to reset, then click Change (or Reset password).
  4. Enter a new password for that account, confirm it, and click OK.
  5. Sign out and log in with the new password.

Method 3: Use a Password Reset Disk

Note: This only works if you created a password reset disk before forgetting the password.

  1. On the login screen, after entering a wrong password, click Reset password.
  2. Insert the USB flash drive or floppy disk that contains the password reset disk.
  3. Follow the Password Reset Wizard: click Next, select the drive, enter a new password and hint, then click Next and Finish.
  4. Log in with the new password.

Method 4: Use the Hidden Built-in Administrator Account (via Safe Mode)

Note: This method requires you to have previously enabled the built-in Administrator account. If you haven't, skip to Method 5.

  1. Restart your PC. As it boots, press F8 (or Shift + F8) repeatedly to enter Advanced Boot Options. If that doesn't work, use the Settings method: go to Settings > System > Recovery > Advanced startup > Restart now.
  2. In the blue screen, choose Troubleshoot > Advanced options > Startup Settings > Restart.
  3. Press 4 or F4 to boot into Safe Mode.
  4. Log in with the built-in Administrator account (it has no password by default, unless you set one).
  5. Open Computer Management (right-click Start > Computer Management) > Local Users and Groups > Users.
  6. Right-click the account whose password you forgot, select Set Password, and follow the prompts to set a new password.
  7. Restart normally and log in with the new password.

Method 5: Use Windows Installation Media to Reset Password

Note: This method requires a USB drive with Windows 11 installation files. It will replace the built-in accessibility tools with Command Prompt temporarily.

  1. Create a Windows 11 installation USB using Microsoft's Media Creation Tool on another PC.
  2. Insert the USB into your locked PC and boot from it (you may need to change boot order in BIOS/UEFI).
  3. On the Windows Setup screen, press Shift + F10 to open Command Prompt.
  4. Type regedit and press Enter to open Registry Editor.
  5. In Registry Editor, right-click HKEY_LOCAL_MACHINE and select Load Hive.
  6. Navigate to C:\Windows\System32\config and select the SYSTEM file (no extension). Click Open.
  7. When prompted for a key name, type TempHive and click OK.
  8. Go to HKEY_LOCAL_MACHINE\TempHive\Setup and double-click CmdLine. Set value data to cmd.exe and click OK.
  9. Double-click SetupType and set value data to 2. Click OK.
  10. Close Registry Editor. In Command Prompt, type regedit again (or just close it). Then type reg unload HKLM\TempHive and press Enter.
  11. Close Command Prompt and restart the PC (remove the USB).
  12. Windows will boot and open a Command Prompt window. Type net user to see all accounts.
  13. Type net user <username> <newpassword> (replace <username> with the actual account name and <newpassword> with your new password). Press Enter.
  14. Close the Command Prompt and log in with the new password.

Common Mistakes

  • Using the wrong account type: The security questions method only works if you set them up. If you didn't, you'll see no link.
  • Not having another administrator: If you only have one account and it's the one locked, you can't use Method 2.
  • Forgetting to unload the registry hive: If you skip the reg unload step, you may cause system instability.
  • Typing the username wrong in net user: The username is case-sensitive and must match exactly. Use net user to see the exact spelling.

Tips

  • Always create a password reset disk for your local account and store it in a safe place.
  • Set up security questions when creating your account—they're the easiest way to reset.
  • Consider using a Microsoft account instead of a local account; you can reset that password online at any time.
  • If you reset someone else's password without permission, you may lose access to encrypted files (EFS) and stored credentials.

Troubleshooting

If security questions don't appear: You didn't set them up, or the account is a Microsoft account. For Microsoft accounts, go to account.live.com/password/reset on another device.

If you can't boot from USB: Enter BIOS/UEFI (usually F2, F12, Del) and change boot order to prioritize USB. Enable Secure Boot if required.

If the registry hive won't load: Make sure you're selecting the SYSTEM file from the correct Windows installation (if you have multiple drives).

If the Command Prompt doesn't open after restart: Re-perform the registry steps, ensuring the values are set correctly. Sometimes the system restarts twice; wait for it to finish.

If you see "Access denied" when using net user: You must run Command Prompt as administrator. The built-in Administrator account should have full rights.

Frequently Asked Questions

Can I reset a local password without any other account or media?

No. Without security questions, another admin account, a reset disk, or installation media, there is no built-in way to reset a local password. You would need to reinstall Windows, which deletes all data.

Will resetting the password delete my files?

No, resetting the password itself does not delete files. However, if the account has encrypted files (EFS), you may lose access to them because the encryption keys are tied to the old password.

Does the password reset disk method work for Microsoft accounts?

No. Password reset disks only work for local accounts. For Microsoft accounts, you must reset online.

Can I use Command Prompt from the login screen to reset the password?

Not directly. The installation media method is the only way to get a Command Prompt before logging in, and it requires the steps above.

What if I have BitLocker enabled?

If BitLocker is on, you'll need the recovery key to access your drive when using installation media. Without it, you cannot proceed.

Is there a way to bypass the password entirely?

No, bypassing Windows passwords is not supported. The methods above are the legitimate ways to regain access.