tech

Reset Windows 10 Password With Utilman

Getting locked out of your Windows 10 computer doesn't mean you have to wipe your hard drive or lose your files. When you can't remember your login credentials, the built in Utility Manager—known as U

Reset Windows 10 Password With Utilman
In this story

Getting locked out of your Windows 10 computer doesn't mean you have to wipe your hard drive or lose your files. When you can't remember your login credentials, the built-in Utility Manager—known as Utilman—provides a reliable backdoor to reset your password. By replacing the ease-of-access utility binary with the Windows command prompt on the login screen, you gain local administrative access to set a new password in minutes.

While official recovery options like a Microsoft account online reset or security questions are ideal, they fail if you don't have internet access or alternate recovery methods set up. This guide walks you through the exact technical process of using installation media and Utilman to regain control of your machine safely.

What Is Utilman and How Does It Work?

Utilman.exe is the executable responsible for the accessibility features on the Windows sign-in screen, such as the Magnifier, Narrator, and On-Screen Keyboard. When you click the small accessibility icon at the bottom right corner of your login screen, Windows executes this file with elevated system privileges before any user logs in.

Because this application runs with SYSTEM rights straight from the login screen, swapping its binary file with the command prompt (cmd.exe) tricks Windows into opening a command shell with full administrative permissions instead of the accessibility menu. From there, you can override local user account credentials directly.

Prerequisites and Preparation

Before starting, make sure you have the necessary physical tools. You can't perform this procedure from inside a running operating system because the file system requires offline modification.

  • A functional Windows 10 computer with internet access.
  • A blank USB flash drive with at least 8GB of storage space.
  • The official Microsoft Media Creation Tool to build a bootable installer.

Download the creation tool on your secondary computer, run it, and select the option to create installation media for another PC. Follow the prompts to burn the installer to your USB drive.

Step 1: Boot from Windows 10 Installation Media

Plug your newly created bootable USB drive into your locked computer. Turn the machine on and immediately press the key required to open your motherboard's boot menu (commonly F12, F11, F8, or Esc depending on your manufacturer).

Select your USB drive from the boot list. Once the Windows Setup loading screen appears, select your language preferences and click Next. On the next screen, click the Repair your computer link in the bottom-left corner rather than clicking "Install now".

Step 2: Access the Command Prompt in WinRE

Navigate through the recovery environment menus to open the command line interface:

  1. Click on Troubleshoot.
  2. Select Advanced options.
  3. Click on Command Prompt.

Your computer will restart into the command console with administrative privileges. Because your primary operating system drive might use a different drive letter in the recovery environment than it does normally (often appearing as D: instead of C: due to a hidden system reserved partition), you need to verify which drive holds your Windows directory.

Type the following commands and press Enter after each:

C:
dir

If you don't see folders like Windows or Users, try checking the D drive by typing D: and pressing Enter, then running dir again. Repeat this until you locate your main Windows installation drive.

Step 3: Replace Utilman.exe with Command Prompt

Once you've identified your Windows drive letter (assume it's C: for these examples), navigate directly into your system directory to back up the original accessibility executable:

cd C:\Windows\System32
copy utilman.exe utilman.exe.bak

If prompted to overwrite an existing file, type Y and press Enter. This backup file is critical because you must restore Utilman to its original state later for system security and functionality.

Next, overwrite the accessibility application with the command interpreter binary:

copy cmd.exe utilman.exe

Confirm the replacement when prompted. Windows is now configured to launch the command prompt whenever the accessibility button is clicked on the lock screen.

Step 4: Reset Your Password via Command Line

Close the command prompt window and click Continue to exit the recovery environment and boot normally into Windows 10. Unplug your USB flash drive during the reboot so the machine doesn't loop back into the installer.

  1. When you reach the standard Windows 10 lock screen, look at the bottom-right corner.
  2. Click the Ease of Access icon (the small circle with a wheel and people icons next to the power button).
  3. Instead of the accessibility menu, a command prompt window with administrator privileges will pop up.

To change your password, you need to know your exact account name. If you aren't sure what local user accounts exist on the machine, type this command:

net user

Review the list of user accounts returned by the command. Once you've identified your target account name, update the password by entering:

net user username newpassword

Replace username with your actual account name and newpassword with your desired new password. If your username contains spaces, enclose it in quotation marks, like net user "John Doe" NewPassword123. Press Enter, and you should see a message confirming that the command completed successfully.

Step 5: Restore Original System Files

Leaving cmd.exe disguised as utilman.exe is a major security vulnerability that allows anyone physical access to your PC to gain administrative control. You must restore the original file immediately.

Reinsert your Windows installation media, reboot your computer into the recovery environment via the boot menu, and open the command prompt following the steps outlined earlier.

Navigate to your System32 folder and restore the backup:

C:
cd C:\Windows\System32
copy utilman.exe.bak utilman.exe

Type Y to confirm the overwrite when asked. Exit the command prompt, remove your USB drive, and boot back into Windows normally. You can now log into your account using your newly created password.

Common Mistakes to Avoid

  • Forgetting to restore Utilman: Leaving the command prompt tied to the accessibility button lets anyone bypass your lock screen just by clicking a button. Always complete the cleanup step.
  • Typing the wrong drive letter: Modifying files on the wrong partition prevents the script from working and can corrupt recovery tools. Always run the dir command to check for the Windows folder first.
  • Using weak passwords: Windows enforces local complexity requirements depending on your initial setup. If your new password fails, try including a mix of uppercase letters, numbers, and symbols.

Frequently Asked Questions

Does this method work on Microsoft accounts?

No. This technique resets the password for local user accounts stored on the machine's hard drive. If your Windows 10 login is tied to an online Microsoft account, you must use the official password reset page on another device.

Will I lose my personal files by doing this?

No. This process only modifies system binaries temporarily to update your account credentials. Your documents, applications, and settings remain untouched.

What if the net user command fails?

Ensure you are running the command prompt with elevated privileges and that you spelled the username correctly. If your account uses a Microsoft email alias, you must convert it to a local account or use offline recovery tools.

Is using Utilman safe for my system?

The procedure itself is safe as long as you successfully restore the original utilman.exe file. Leaving the command prompt binary in its place violates basic security practices.

SB

Written by

Samuel Baker

Samuel Baker approaches each story with intellectual curiosity and a commitment to fairness, earning the trust of readers and sources alike.

More from tech