Ever needed to reset your Windows password but forgot to make a Windows Reset Password disk? If so, you can easily reset a Windows Users password with a Live Linux USB. Letโ€™s see just how easy it is to so.

  1. If you donโ€™t a Live Linux USB go ahead an create one. This tutorial is Ubuntu based so any Ubuntu flavor will work. And you will need a working internet connection to download software.
  2. Start the computer and boot into the Live Linux environment.
  3. Once in the Live Linux environment make sure you connect to the internet and open a terminal.
  4. You will need to install tool called chntpw. So ahead and run the following command to install chntpw apt-get install chntpw
  5. Once installed you will have to mount the hard drive that has Windows installed. There are many ways of doing this but you can use the File Manager (Nautilus in Ubuntu) to make things easy.
  6. Once you have the Windows Harddrive mounted go to the following directory /windowsHarddrive/Windows/System32/config/
  7. Now that you are at the correct directory, right click and chose Open With
    Terminal Here
    .
  8. In the terminal simply type the following command to interact with chntpwsudo chntpw SAM
  9. Now you are editing the Administrator user if you would like to edit another user use this command.sudo chntpw -u USERYOUWANTTOEDIT SAM
  10. After youโ€™ve chosen your user itโ€™s time to reset their password. Simply type 1 in ther User Edit Menu. And then chose y when prompted to Write hive
    files
  11. Then to quit type q and this will exit chntpw
  12. Close the terminal and restart your computer making sure to remove the Live Linux USB.
  13. You should boot into Windows desktop directly without any login. Be sure to add a new password!

Congratulations you have successfully reset your Windows with Linux! And thatโ€™s it!

 

Originally posted at 100 Days of Linux Challenge