Tuesday, 9 April 2019

Resetting Windows Password

Boot off the Windows disk > select the “Repair your computer” option.

select Command Prompt.


Backup the original sticky keys file:
copy c:\windows\system32\sethc.exe c:\
or
copy c:\windows\system32\sethc.exe c:\windows\system32\sethc.bak

Copy the command prompt executable (cmd.exe) over the sticky keys executable:
copy c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe


Reboot the PC.

Resetting the Password

Login screen > hit the Shift key 5 times > administrator mode command prompt.


Reset the password:
net user jason MyNewPassword
Add new user:

          net user jason2 NewPassword /add

Add new user to administrators group:

          net localgroup administrators jason2 /add



#Of course, you’ll probably want to put the original sethc.exe file back, which you can do by rebooting into the installation CD, opening the command prompt, and copying the c:\sethc.exe file back to c:\windows\system32\sethc.exe.