Reset windows 7 password from linux
Today I had a little amount of time to invest in howto reset my windows 7 password and I have done it. These are the steps to achieve it:
- Get/Burn an Ubuntu live CD/DVD.
- Boot your PC with it
- Install ntpwch
- Mount your windows partition
- Got into /media/partition_label/Windows/System32/config
- Write ‘sudo mtpwch -u username SAM.
- Select option one (Clear (blank) user password).
- Confirm ‘Write hive files’ pressing ‘y’ key.
- Reboot your PC with Windows.
That’s all
M.