To bypass a Windows password using Command Prompt, you need physical access to the computer and must use the Windows Recovery Environment to replace the Utility Manager executable with Command Prompt, allowing you to reset the password without logging in. This method works on Windows 7, 8, 10, and 11 when BitLocker is not enabled and you can access the recovery options.
What You'll Need
- A Windows installation USB or DVD (matching your Windows version)
- Physical access to the target computer
- Ability to boot from USB/DVD in BIOS/UEFI
- Administrator access to the Windows Recovery Environment (WinRE)
Step-by-Step
- Insert the Windows installation media and restart the computer.
- Press the appropriate key (F12, Esc, F2, or Del) during startup to open the boot menu and select the USB/DVD drive.
- When the Windows Setup screen appears, press Shift + F10 to open Command Prompt.
- In the Command Prompt, type
c: and press Enter to switch to the C: drive. If that fails, tryd:or other letters until you find the Windows installation (look for theWindowsfolder). - Navigate to the System32 directory:
cd Windows\System32and press Enter. - Back up the Utility Manager executable:
ren utilman.exe utilman.exe.bakand press Enter. - Copy Command Prompt to replace Utility Manager:
copy cmd.exe utilman.exeand press Enter. Confirm the overwrite if prompted. - Remove the installation media and restart the computer by typing
wpeutil rebootand pressing Enter. - At the Windows login screen, click the Ease of Access icon (bottom-left). This will now open Command Prompt instead of Utility Manager.
- In the Command Prompt, type
net userto list all user accounts. - Identify the account you want to reset, then type
net user [username] *(replace [username] with the actual account name) and press Enter. - When prompted, enter a new password (you won’t see characters as you type), then confirm it.
- Close Command Prompt and log in with the new password.
- To restore Utility Manager and prevent future access, repeat steps 1-4 to return to Command Prompt in WinRE, then type:
del utilman.exefollowed byren utilman.exe.bak utilman.exeand press Enter. - Restart the computer normally.
Common Mistakes
- Using incorrect drive letters when navigating to the Windows folder — always verify by checking for the
WindowsandProgram Filesfolders. - Forgetting to back up utilman.exe before replacing it, which can break accessibility features permanently.
- Attempting this on a BitLocker-encrypted drive without the recovery key — the method will fail as you cannot access the system files.
- Not restoring the original utilman.exe after resetting the password, leaving a security vulnerability.
- Using Windows PE or third-party tools that modify system files incorrectly, causing boot failures.
Tips
- Create a Windows installation USB using the official Media Creation Tool from Microsoft’s website to ensure compatibility.
- If Shift+F10 doesn’t open Command Prompt during setup, try adding
/bcdboot C:\Windowsin the setup command line via troubleshooting options. - On newer Windows versions (10/11), you may need to disable Secure Boot temporarily in UEFI settings to boot from external media.
- Always test the new password immediately after resetting to confirm it works before restoring utilman.exe.
- Label your recovery USB clearly and store it securely — this method can be misused if the drive falls into the wrong hands.
Troubleshooting
- Command Prompt doesn’t open with Shift+F10: Restart setup, go to 'Repair your computer' > 'Troubleshoot' > 'Command Prompt' instead.
- Access denied when copying cmd.exe: Ensure you are in the correct System32 folder and that the Windows installation is not locked or encrypted.
- Utility Manager still opens the original tool: Double-check that you copied cmd.exe over utilman.exe and that the backup was successful. Repeat the copy step.
- net user command fails: You may be in the wrong user context — ensure you are running Command Prompt with system privileges (it should be if launched from WinRE via Ease of Access).
- Computer won’t boot after restoring utilman.exe: If the system fails to start, repeat the recovery process and verify file names are exact — utilman.exe must be restored, not deleted or renamed incorrectly.
Frequently Asked Questions
Is this method legal?
Only use this on computers you own or have explicit permission to access. Bypassing passwords on unauthorized systems violates computer fraud and abuse laws.
Does this work if BitLocker is enabled?
No. BitLocker encrypts the drive and requires the recovery key or TPM to access system files. This method cannot bypass BitLocker protection.
Will this trigger antivirus or security alerts?
Yes. Replacing system utilities like utilman.exe is flagged by antivirus software as suspicious behavior. Temporarily disable real-time protection only if necessary and in a controlled environment.
Can I use this to bypass a domain password?
No. Domain accounts are managed by a server, not locally. This method only works on local Windows accounts.
What if I don’t have installation media?
You can create a Windows USB on another PC using the Media Creation Tool. Without installation media, you cannot access the recovery environment needed for this method.
Is there a way to do this without installation media?
No. Access to the Windows Recovery Environment via installation media is required to replace system files safely. Alternative methods often involve risks like data loss or instability.