Forgetting Windows password is never any fun, but there’s a easy way to reset the password. All you need to do is to follow the below steps:
- Boot your PC from Windows disk
- Select the "Repair Your Computer"
- Go to "Command Prompt"
- Backup the original sticky keys file:
copy c:\windows\system32\sethc.exe c:\ - Copy the command prompt executable (cmd.exe) over top of the sticky keys executable
copy c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe - Restart the PC
- Once you get to the login screen, hit the Shift key 5 times, and you’ll see an administrator mode command prompt
- Use the following command, replacing the username and password with the combination you want to reset the user password:
net user geek <NewPassword> - 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
- NOTE: If the local account is not exist, issue the following commands to create it:
net user <username> /add
net localgroup administrators <username> /add
No comments:
Post a Comment