TechBuzzPro

How to Reset Windows Administrator Password

· 5 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

Yes, you can reset a Windows administrator password if you have access to another administrative account or the physical machine with installation media. This process restores access by either creating a new password via an existing admin account or using system recovery tools to clear the lockout on a local account.

What You'll Need

  • A second computer (if resetting from a different device)
  • USB flash drive (minimum 8GB) for bootable media
  • Windows Installation Media (ISO file downloaded from Microsoft)
  • Access to the locked PC’s BIOS/UEFI settings
  • For Microsoft Account users: Internet connection and email access to the associated account

Step-by-Step

  1. Determine Account Type: First, identify if the locked account is a Local Account or a Microsoft Account. If you sign in with an email address (e.g., @outlook.com), it is a Microsoft Account. If you use only a username without an email domain, it is likely a Local Account. The reset method differs significantly between the two.
  2. Reset a Microsoft Account Password: If the account is linked to Microsoft, do not try to hack the local PC. Instead, visit account.microsoft.com on any other internet-connected device. Sign in with your credentials, navigate to Security, and select "Change Password." Once changed, ensure the locked PC connects to the internet (Wi-Fi or Ethernet). Restart the PC; the new password will sync automatically within a few minutes.
  3. Reset a Local Account via Another Admin: If you have access to a different administrator account on the same PC, log in with that account. Open the Start menu, type "cmd," right-click Command Prompt, and select "Run as administrator." Type the following command, replacing NewPassword with your desired password: net user Username NewPassword. Press Enter. The password is now changed.
  4. Reset a Local Account via Installation Media (No Other Admin): If no other admin exists, you must use bootable media. On a working computer, download the official Windows Media Creation Tool from Microsoft. Create a bootable USB drive. Insert this USB into the locked PC. Restart the PC and enter the BIOS/UEFI (usually by pressing F2, F12, Del, or Esc during startup). Change the boot order to prioritize the USB drive. Save and exit.
  5. Access the Recovery Environment: When the Windows Setup screen appears, select your language and click Next. Click "Repair your computer" in the bottom left corner. Navigate to Troubleshoot > Advanced options > Command Prompt.
  6. Replace the Accessibility Utility: In the Command Prompt, type diskpart and press Enter. Then type list vol and press Enter. Identify the drive where Windows is installed (usually Volume 1 or 2, check the size to confirm). Note the volume letter (e.g., C: or D:). Type exit to leave diskpart. Now, replace the utility used to bypass login with a command prompt. Type: copy c:\windows\system32\utilman.exe c:\ (replace C: with your actual drive letter). Then type: copy c:\windows\system32\cmd.exe c:\windows\system32\utilman.exe /y.
  7. Bypass Login Screen: Type exit to close the command prompt. Click "Continue" to exit to the desktop. At the login screen, click the Accessibility icon (usually looks like a clock or wheelchair) in the bottom right corner. A Command Prompt window will open instead of the accessibility tool. Type net user Username NewPassword (replace Username with the actual admin username and NewPassword with your new choice). Press Enter. Close the command prompt and click the Accessibility icon again to return to normal login. Use the new password.
  8. Restore System Files (Important): After logging in, repeat steps 4-6 to get back into the Command Prompt via the USB drive. Repeat the copy commands in reverse to restore the original files: copy c:\utilman.exe c:\windows\system32\utilman.exe /y. This ensures system security is maintained.

Common Mistakes

A frequent error is attempting to reset a Microsoft Account password using local command-line tools. These methods only work for local accounts. For Microsoft accounts, the password is stored on Microsoft servers, so local hacks will fail. Another common mistake is skipping the restoration step after using the accessibility bypass. Leaving cmd.exe renamed as utilman.exe creates a significant security vulnerability, allowing anyone with physical access to gain full control of the machine. Always restore the original files immediately after gaining access.

Tips

Always create a password reset disk for local accounts before you lose access. This is found in Control Panel under User Accounts. For Microsoft accounts, enable Two-Factor Authentication to prevent unauthorized changes. If you frequently forget passwords, consider using a reputable password manager. Avoid third-party "password cracker" software from unknown sources, as these often contain malware. Stick to official Microsoft tools and built-in Windows features for safety and reliability.

Troubleshooting

If the Command Prompt does not appear when clicking the accessibility icon, verify that you correctly replaced utilman.exe with cmd.exe. Ensure you are running the command prompt as administrator in the initial setup phase. If the drive letter is incorrect, use dir c:\windows to verify the correct volume. If BitLocker is enabled, you cannot proceed without the 48-character recovery key; contact your organization or check your Microsoft account for the key. If the network is unavailable for Microsoft account sync, ensure Wi-Fi is connected and wait for the next automatic sync cycle, which typically occurs every 15-30 minutes.

Frequently Asked Questions

Can I reset a password if I don't know the username?

In the Command Prompt, type net user to list all local user accounts. Identify the administrator account from the list and use that name in the reset command.

Will resetting the password delete my files?

No. Changing the password only affects authentication. Your personal files, applications, and settings remain intact. However, encrypted files (EFS) may become inaccessible if you lack the proper recovery keys.

Is this method legal?

Yes, provided you own the computer or have explicit permission from the owner. Using these techniques on computers you do not own or manage is illegal and violates computer misuse laws.

Why doesn't the net user command work?

This command only works for local accounts. If you are signed in with a Microsoft Account, the password is managed online. You must change it at account.microsoft.com.

What if I am locked out of a work computer?

You cannot reset a work computer password using these methods. Contact your IT department. They have domain-level tools to reset passwords securely and track changes.

Can I use a Linux live USB to reset the password?

While possible, this is complex and risky for average users. It requires mounting the Windows partition and editing registry hives directly. The Windows installation media method is safer and officially supported.