How to Reset Windows Admin Password: Step-by-Step Guide
In this article
Yes, you can reset a Windows administrator password if you have access to another admin account or can boot from installation media. The most reliable method for a locked-out system involves using the Windows Installation Media to replace the accessibility utility (utilman.exe) with the command prompt, allowing you to change the password directly on the target machine without needing the old password.
What You'll Need
- A Windows Installation USB drive or Disc (created from another working computer if necessary).
- Access to the locked PC's BIOS/UEFI boot menu to boot from the USB.
- Physical access to the computer is required for this method.
- Note: If your account is linked to a Microsoft Account online, you must reset the password at account.microsoft.com on a different device. This guide covers local accounts only.
Step-by-Step
- Create Bootable Media: On a working computer, download the Windows Media Creation Tool from Microsoft’s official website. Run the tool and select "Create installation media (USB flash drive, DVD, or ISO file) for another PC." Follow the prompts to create a bootable USB drive.
- Boot from USB: Insert the USB drive into the locked PC. Restart the computer and enter the BIOS/UEFI setup (usually by pressing F2, F12, Del, or Esc during startup). Change the boot order to prioritize the USB drive. Save and exit to reboot.
- Access Repair Options: When the Windows Setup screen appears, select your language and click "Next." Instead of clicking "Install Now," click "Repair your computer" in the bottom left corner.
- Navigate to Command Prompt: Go to Troubleshoot > Advanced options > Command Prompt. If prompted, select your account and enter the known admin password if you have one, or proceed if you are using the bypass method.
- Identify System Drive: In the Command Prompt, type
diskpartand press Enter. Then typelist volumeand press Enter. Identify the drive where Windows is installed (usually labeled as the largest NTFS partition, often C: or D: depending on recovery partitions). Note the letter. Typeexittwice to leave diskpart. - Bypass Login Screen: Navigate to the system directory. Type
cd /d X:\Windows\System32(replace X with your identified drive letter). Typeren utilman.exe utilman.exe.bakto back up the utility manager. Then typecopy cmd.exe utilman.exe. This replaces the Ease of Access button with the command prompt. - Reboot and Change Password: Close the Command Prompt and restart the computer by removing the USB. At the login screen, click the Ease of Access icon (usually the clock or person icon in the bottom right). A Command Prompt window will open. Type
net user [Username] [NewPassword](e.g.,net user Administrator P@ssw0rd123) and press Enter. - Restore Utility Manager: Log in with the new password. To restore normal functionality, repeat steps 2-5 to get back to the Command Prompt via USB. Navigate to
X:\Windows\System32and typedel utilman.exe, thenren utilman.exe.bak utilman.exe. Remove the backup file.
Common Mistakes
A frequent error is assuming the drive letter is always C:. During the repair environment, drive letters may shift, so verifying the correct partition size in Diskpart is crucial. Another common mistake is forgetting to restore the original utilman.exe file, which leaves the Ease of Access button launching a command prompt instead of the intended settings menu, posing a security risk. Additionally, users often try to reset Microsoft Account passwords using local methods, which will fail because those credentials are stored online, not locally.
Tips
Always ensure you are resetting the correct username. Check the exact spelling by typing net user in the command prompt before changing it. If you have multiple administrators, consider creating a new admin account first as a backup before deleting or modifying existing ones. For future prevention, set up a password reset disk or link your local account to a Microsoft Account, which allows remote password resets via the web.
Troubleshooting
If the Ease of Access button does not open a command prompt, verify that you correctly copied cmd.exe to utilman.exe in the System32 folder. Ensure you are running the command prompt as Administrator; if it fails, try restarting the PC and re-entering the repair environment. If BitLocker encryption is enabled, you will need the 48-character recovery key to access the drive before any changes can be made. Without this key, data recovery is extremely difficult. If the command prompt opens but says "access denied," ensure you are booted from the official Microsoft installation media, not a third-party tool.
Frequently Asked Questions
Can I reset a Microsoft Account password this way?
No. This method works only for local accounts. For Microsoft Accounts, visit account.microsoft.com on any device to reset the password online.
Will this delete my files?
No. Changing a password does not affect your personal files, applications, or settings. Only the login credential is modified.
What if I don't know the admin username?
Type net user in the command prompt during the process. It lists all user accounts on the system. Look for accounts with Administrator privileges.
Is this method legal?
Yes, provided you are the owner of the device or have explicit permission to access it. Using this on company or shared devices without authorization violates policy and potentially law.
Why did my Ease of Access button stop working after?
You likely forgot to restore the original utilman.exe file. Follow the restoration steps in the guide to rename the backup file back to its original name.
Can I use this on Windows 11?
Yes, the steps are identical for Windows 10 and Windows 11. The interface for accessing repair options may look slightly different, but the path remains the same.