Boot into Recovery mode: F11 while booting or Boot CD/USB
The following screens appear one after another, after following your vendor's method of entering into recovery mode.
(http://s2.postimg.org/ns92f8a0l/keyboard_layout.jpg) (http://postimg.org/image/ns92f8a0l/)
Choose your keyboard layout.
(http://s1.postimg.org/wdla2aocr/Choose_Option.jpg) (http://postimg.org/image/wdla2aocr/)
Choose !!!!!****Troubleshooting!!!!***** option
(http://s4.postimg.org/vo2lubyd5/Trouble_Shoot.jpg) (http://postimg.org/image/vo2lubyd5/)
Choose Advance option..
(http://s23.postimg.org/cteytmiif/Advanced.jpg) (http://postimg.org/image/cteytmiif/)
Choose Command Prompt option.
rename utilman.exe utilman2.exe
rename cmd.exe utilman.exe
Now restart your computer, at the logon screen, click on bottom left icon and command prompt will open. Now use the net user trick
(http://s22.postimg.org/6vhbokkst/reset_password.jpg) (http://postimg.org/image/6vhbokkst/)
Open CMD (command prompt) with administrative rights to type this command.
net user <user-name> <Password>
Reboot, after getting into Windows 8, please remember to rename the Utilman.exe.bak back to Utilman.exe.
That's it – you have successfully reset your forgotten Windows 8 password.
For win10 & 11
Tools needed: A Windows Install Disk that matches the operation system on the computer
Boot into the install CD or USB Installer that matches your operating system
Click on Troubleshoot, then Advanced options, and finally Command Prompt.
At the command prompt type the following command:
copy c:windowssystem32utilman.exe c:
and press Enter. You should see a "1 file(s) copied " confirmation
Now type this command and hit Enter:
copy c:windowssystem32cmd.exe c:windowssystem32utilman.exe
Answer with Y to the question about overwriting of the utilman.exe file. You should now see another file copy confirmation.
Reboot the computer normally into Windows.
Manipulate the users you need
When the Windows logon screen is available, click the Ease of Access icon at the bottom-left corner of the screen. An ADMINISTRATOR Command Prompt will open. There are several commands you might need to use below. In them replace "myuser" with the actual username. Replace "newpassword" with your desired password.
Enter the following command to get a list of users:
net user
Enter the following command to change the password of an existing user.
net user myuser newpassword
Enter the following command to create a new user:
net user myuser newpassword /add
Enter the following command to elevate an existing user to an administrator:
net localgroup administrators myuser /add
Putting Utilman.exe Back
Reboot into the install CD or USB Installer that you used earlier.
Click on Troubleshoot, then Advanced options, and finally Command Prompt.
At the command prompt type the following command:
copy c:utilman.exe c:windowssystem32utilman.exe
Confirm the overwriting by answering Yes. Reboot your computer.