Password recovery

From Danleff Wiki
Jump to: navigation, search

--Danleff 01:45, 5 May 2013 (PDT)

Linux Tools

Detail

  1. Install a program called chntpw
     $ sudo apt-get install chntpw
  2. After successfully installing chntpw, you have to access the Windows NTFS partition by mounting it and allowing read/write support (see below)
  3. After that, use your command line skills by navigating to WINDOWS/system32/config
  4. Once inside the config directory, issue this command:
     $ sudo chntpw SAM
  5. A long display of information will follow. Just ignore them.
  6. Once you are prompted to reset the password, it is recommended to leave the password blank with an asterisk (*).
  7. Reboot, and you can now login to Windows with full administrative access.
  • From System Rescue CD
  1. ntfs-3g /dev/sda1 /mnt/windows –o force (-o force optional)
  2. cd /mnt/windows/Windows/System32/config
  3. chntpw –l SAM (lists user names)
  4. chntpw –u (Username) SAM (gives you the wizard screen - choose option 2)


Windows Tools