Simple tutorial showing how to reset any Windows 7/8/10 account password using Linux.
Reset Windows 7/8/10 Password
===============================
The Linux Method
You can use any Linux live media for this. But I prefer system rescue disk. After booting, the procedure is same, irrespective of the Linux based media used.
Download system rescue disk from http://www.sysresccd.org/ and create a bootable usb using the method mentioned in http://www.sysresccd.org/Sysresccd-manual-en_How_to_install_SystemRescueCd_on_an_USB-stick . You can also follow https://www.youtube.com/watch?v=8iqZuCmM2fg
Boot using the USB / CD.
Type gdisk -l /dev/sda to find out the existing partitions in your Hard Disk.
Mount the partition in which Windows is installed (the one that contains the Windows folder).
mount /dev/sda? /mnt (Replace ? with the partition number. In my case, it is /dev/sda2)
Change directory to /mnt/Windows/System32/config
cd /mnt/Windows/System32/Config
Clear out password for your user.
chntpw -i SAM
Press 1 and hit enter.
Enter the hex code for the user you want to change password for.
Press 1 and hit enter.
Press q and hit enter.
Press q and hit enter.
Press y and hit enter.
After you overwrite the Security Account Manager (SAM) Hive, change directory to /root
Type cd and press enter.
Unmount the Windows partition mounted on /mnt.
umount /mnt
Type reboot and hit enter.
Now, remove the USB/CD and boot into Windows.
You will be able to sign in without any password.
In case of Windows 10, press ctrl + alt + del and set account password.
In case of Windows 7/8, go to Control Panel/PC Settings to set account password.
Done! 😀
That is all folks! 😀 🙂
Music: Waltz of the Flowers (by Tchaikovsky)
Wanna support me? Visit: https://www.patreon.com/nehaljwani
source