How to Reset Your Forgotten Windows Password

Have you ever imaged a machine, and then not been able to log in? It prompts saying that you must change the password and when your try it does not let you? This is because the machine was imaged on the network. Luckily enough, the guys over at how to geek figured out a work around.

“First you’ll want to type in the following command to backup the original sticky keys file:

copy c:windowssystem32sethc.exe c:

Then you’ll copy the command prompt executable (cmd.exe) over top of the sticky keys executable:

copy c:windowssystem32cmd.exe c:windowssystem32sethc.exe

Now you can reboot the PC.

Resetting the Password

Once you get to the login screen, hit the Shift key 5 times, and you’ll see an administrator mode command prompt.

Now to reset the password—just type the following command, replacing the username and password with the combination you want:

net user geek MyNewPassword

That’s all there is to it. Now you can login.

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:windowssystem32sethc.exe.

Credits:
http://www.howtogeek.com/96630/how-to-reset-your-forgotten-windows-password-the-easy-way/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s