Yesterday, aÂ friend forgot his windows 7 password, so asked me for help.
It was the first time for me to try to remove a Windows password.
After searching, Â I got some solutions, but none works, whenÂ I tried to Google “remove Windows password under Ubuntu”, I knew chntpw.
chntpw is a software utility for resetting or blanking local passwords used by Windows NT, 2000, XP, Vista, 7, 8 and 8.1. It does this by editing the SAM database where Windows stores password hashes.
After installing chntpw under Ubuntu(a bootable USBÂ stick), no matterÂ ran
sudo chntpw -u Administrator SAM
sudo chntpw -u ox1f4 SAM
only showed the same error,
Cannot find value: \SAM\Domains\Account\Users\FFFFFFFF\V
I noticed the same question asked online without answer, after research the usage of chntpw, I tried,
sudo chntpw -i SAM
btw, if you haveÂ no Ubuntu Live USB stick, I recommend you useÂ Offline Windows Password & Registry Editor, Bootdisk / CD, because it is only about 18M, and has both Â Bootable CD image andÂ USB Installation Package.
P.S.I forgot taking screenshot yesterday, and IÂ simulated it Â today. for text version, please visitÂ https://gist.github.com/witwall/8305f16f92a7754fbad3