How to reset Windows password with Kali Linux
- Boot to Kali linux from USB or CD/DVD
- Click folder on left to browse folder locations and click ‘+ Other Locations’ and double click the windows drive
- Open Terminal
- ls /media/root
- cd /media/root/# //put it start of string then use tab to complete. This will be a long string of characters
- cd Windows/System32/config //note that this is case sensitive
- pwd
- ls -l SAM* //shows the sam database file on hard drive
- chntpw -l SAM //will list all usernames
- chntpw -u “username” SAM
- Select 1 to clear