Skip to content

Instantly share code, notes, and snippets.

@Fartomy
Last active July 28, 2024 15:13
Show Gist options
  • Save Fartomy/26e8ec5010c4e192b50a9e216ddea1fd to your computer and use it in GitHub Desktop.
Save Fartomy/26e8ec5010c4e192b50a9e216ddea1fd to your computer and use it in GitHub Desktop.
Forgotten Windows Password

🥝 Forgotten Windows Password

Requirements

  1. Windows Bootable USB

Instructions

  1. Insert Windows bootable USB into Windows device with forgotten password
  2. Boot USB device in your PC
  3. When the Windows Setup and language selection window appears, press the Next button
  4. In the following window, click the Reapir your computer button
  5. Do these in order Troubleshoot -> Command Prompt
  6. Type these commands the following in the console window that opens;
copy C:\Windows\System32\Utilman.exe C:\Windows\System32\Utilman.exebak

then

copy C:\Windows\System32\cmd.exe C:\Windows\System32\Utilman.exe /y

Tip

You can also perform similar operations above via the UI by typing notepad in the console client and then clicking the Open button in the File option in the notepad window that opens.

  1. After these steps, close the command prompt and press Turn off your PC button for restarting
  2. When you see the option to login and enter your password, find the Accessibility button and click it.
  3. Execute the following commands in the command prompt that opens;
# To list the users on the device
net user

find your username

net user <your_username> *

and set your password

exit
  1. After exit in command prompt, you can login to your account with the password you specified.

Source

  1. Reset Forgotten Windows 11/10 password in 3 minutes - NETVN82
  2. Windows 10 Password Reset Without Losing Data | Windows 10/11 Forgotten Password Reset - Smrity Computer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment