Reset Window Passwords With Linux
chntpw is a software utility for resetting or blanking local passwords used by Windows NT, 2000, XP, Vista, 7, 8, 8.1 and 10. It does this by editing the SAM database where Windows stores password hashes.
If you forget the windows password of your computer, or a computer friend. You can easily reset the password with **chntpw** a **Linux** terminal based utility.
We need a usb live linux, can be Arch Linux, Debian, Void Linux, Fedora. Make sure that the utility is in the official repos of the distro you choose.
Install chntpw
For Arch Linux
For Debian
For Void Linux
Drive Mount
First mount the windows partition (were windows is installed). Find the correct one with
Take note of the device path, ti should be somethgin like /dev/sda1
New create a directory to mount the partition, let's say in /mnt
Now mount the partition
Then go to /mnt/microsoft and search for the config directory
If the path above is not correct, check for the correct path for the config directory.
chntpw
First check the user records
It should display some information and a table with usernames beside another info
Let's reset the password
Chose 1 - Edit user data and passwords, then type the user account name in the next menu press 1 - Clear (blank) user password, at last press q to get out of that menu then q for
You'll see something like
Press 1 to select (Edit user data and passwords) then type o select the user account name, you will see something like then press 1 - Clear (blank) user password
When the process is done type q to quit and then press y to save the changes.
Now reboot the computer you should be able to log into windows without a password.
----------
----------
© DarknessCode