Changing Windows Administrator password through Ubuntu

Symptom: To change the windows administrative password by Ubuntu, if you forgot the password or to hack.

Solution:  Here is how you change windows password within Ubuntu. Install the software chntpw.

$sudo apt-get install chntpw

Now its installed, so lets get to work…
Ok I am assuming your using a livecd or a Ubuntu machine which is  full installed
You will now need to mount the windows partition read/write permission then navigate to %systemroot%/system32/config
Once your located in the config directory issue this command to change the password

$chntpw -u administrator SAM

Prompt for password for ‘administrator’, if found (otherwise do nothing) use * to blank

Now reboot and login to windows


Leave a Reply

Please log in using one of these methods to post your comment: Logo

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: