Reset Local Administrator Password Windows
In this article
Yes, you can reset a local administrator password in Windows if you have access to another administrator account, installation media, or third-party tools. This process restores access to a locked account, allowing full control over the system. However, it requires preparation such as bootable media or a password reset disk. If no recovery options exist, specialized tools may be necessary, but only use trusted, legal methods.
What You'll Need
- A Windows installation USB or DVD (can be created from another computer)
- Access to another administrator account (if available)
- A password reset disk (if previously created)
- A third-party password reset tool (optional, use with caution)
- A working computer to create bootable media if needed
Step-by-Step
- Insert the Windows installation USB or DVD and restart the locked computer. Boot from the drive by accessing the boot menu (usually F12, Esc, or Del during startup, depending on the manufacturer).
- On the Windows Setup screen, select your language preferences and click "Next." Then click "Repair your computer" at the bottom left.
- Choose "Troubleshoot" > "Advanced options" > "Command Prompt." This opens a black window with system-level access.
- In the Command Prompt, type
c:and press Enter to switch to the system drive. If Windows is installed on a different drive (e.g., D:), adjust accordingly. - Navigate to the Windows\System32 folder by typing:
cd \windows\system32and press Enter. - Make a backup of the
utilman.exefile by typing:ren utilman.exe utilman.bak - Replace
utilman.exewithcmd.exeby typing:copy cmd.exe utilman.exeand press Enter. Confirm if prompted. - Close the Command Prompt and restart the computer. Remove the installation media when prompted.
- On the login screen, click the "Ease of Access" icon (usually bottom-right corner). This now opens a Command Prompt with administrator privileges.
- Type
net userto list all local accounts. Identify the administrator account name. - To reset the password, type:
net user [username] [newpassword]— replace [username] with the actual account name and [newpassword] with your desired password. For example:net user Administrator P@ssw0rd123. - Press Enter. If the command succeeds, you’ll see "The command completed successfully."
- Close the Command Prompt and log in using the new password.
- After logging in, restore the original
utilman.exefile to prevent security risks. Open Command Prompt as administrator (search "cmd," right-click, "Run as administrator") and type:cd \windows\system32 - Restore the file with:
copy utilman.bak utilman.exeand confirm overwrite. - Delete the backup:
del utilman.bak
Common Mistakes
One frequent error is mistyping drive letters in Command Prompt. Always confirm the system drive is C: unless you know otherwise. Another mistake is skipping the file restoration step—leaving utilman.exe replaced with cmd.exe creates a security vulnerability. Users may also forget to remove installation media after reboot, causing the system to boot from it again. Lastly, entering incorrect account names in the net user command leads to failed resets—always verify the username first.
Tips
Create a password reset disk when you first set up an administrator account. This avoids complex recovery later. Use strong, unique passwords, but store them securely using a password manager. If you frequently manage multiple systems, consider enabling the built-in Administrator account during setup for emergency access. Always keep Windows installation media on hand. When using third-party tools, download only from official sources to avoid malware.
Troubleshooting
If the Command Prompt does not open from the login screen, ensure you clicked the correct Ease of Access icon and that the file swap was successful. If the system fails to boot from USB, recheck boot order in BIOS/UEFI settings. If net user returns "The user name could not be found," verify the account name by typing net user first. If login still fails, the account may be disabled—use net user [username] /active:yes to enable it. If the system uses UEFI and Secure Boot, some third-party tools may not work; stick to Microsoft-supported methods. If you cannot access Command Prompt via installation media, the media may be corrupted—recreate it using the official Media Creation Tool.
Frequently Asked Questions
Can I reset a local admin password without installation media?
Yes, if you have a password reset disk or another admin account. Otherwise, installation media or third-party tools are required.
Does resetting the password delete files?
No. Resetting a password only changes login credentials and does not affect personal files, apps, or settings.
Is this method safe for all Windows versions?
It works on Windows 10 and 11. Older versions like Windows 7 have similar methods, but UEFI systems may require Secure Boot adjustments.
Can I use third-party software to reset the password?
Yes, but only from trusted sources. Tools like Ophcrack or Offline NT Password & Registry Editor can work, but carry risks if misused or downloaded from unverified sites.
What if I don't know the administrator username?
Type net user in Command Prompt to list all local accounts. The administrator account is usually named "Administrator" or a custom name you set.
Why can't I see the Ease of Access icon?
It may be hidden. Try pressing Windows + U. If that fails, the file replacement step may not have worked—repeat the process carefully.