" MicromOne: How to Reset a Windows Password

Pagine

How to Reset a Windows Password

This article is for informational purposes only. Modifying system files can be risky and may cause data loss or system instability. Proceed with caution and at your own risk.

Sometimes you might forget your Windows login password and find yourself locked out of your PC. This guide explains a method to reset your password using the Windows Recovery Environment and Command Prompt.

Important Note: This method uses a system-level function to bypass password authentication. You must restore the original files once you've completed the process to maintain system security.

Access the Windows Recovery Environment

  1. On the login screen, hold down the Shift key and click Restart.

  2. Your PC will reboot into the Windows Recovery Environment.

  3. Navigate to Troubleshoot > Advanced options.

  4. Select Command Prompt. 

  5. Prepare Command Prompt for the Password Reset

When Command Prompt opens, you'll see a path similar to X:\Windows\System32\.

  1. Switch to your Windows drive:

    c:
    
  2. Navigate to the System32 folder:

    cd windows\system32
    
  3. Back up the utilman.exe file:

    ren utilman.exe utilman.exe.bak
    
  4. Copy cmd.exe and rename it as utilman.exe:

    copy cmd.exe utilman.exe
    
  5. Close Command Prompt and restart your computer..

  6.  Reset the Password

  1. On the login screen, click the Accessibility icon (bottom-right corner).

  2. Command Prompt will open.

  3. Enter the following command to reset the password:

    net user <username> *
    

    (Replace <username> with the account name).

  4. Enter the new password and confirm it.

    • To leave the password blank, press Enter twice.

  5. Close Command Prompt and log in with the new password.

To see all user accounts on the system, run:

net user
4. Restore the Original File

To keep your system secure, you must restore the original utilman.exe file.

  1. Reboot into the Windows Recovery Environment and open Command Prompt again.

  2. Navigate to System32:

    c:
    cd windows\system32
    
  3. Restore the file:

    ren utilman.exe.bak utilman.exe