In this article, we will show you how to reset forgotten Windows Password using a Linux System Rescue (or a Live Linux CD).
We have an article related to reset forgotten password using Windows System Repair, but it is a bit tedious and long process.
This time, we will use a utility called
chntpw to reset the Windows password with simple steps that you can do to reset Password.
Mount the GRML CD-ROM/ISO image in CrownPanel
Boot into the mounted GRML ISO and next, hit enter here till you get to the console,
Once in the CLI, Check the correct Windows partiton name using the command
From the above image, we can see, the largest partition is
vda2 hence we can assume that our Windows installation would be on this partition,
Before we mount the Windows partition on the disk, we will run
ntfsfix on the partition.
Note: Replace /dev/vda2 with your actual partition.
Create directory for mount point,
Mount the Windows System disk into it,
mount /dev/vda2 /mnt/win
To go into the
C:\Windows\System32\config directory, which is now mounted in SystemRescue under
/mnt/win, run the following comand
Launch the chntpw in interactive mode, using the Security Account Management (SAM) database.
chntpw -i SAM
Enter 1 and then press ENTER to edit user passwords. A user list will be shown there.
Enter the RID number for the account you'd like to edit,
For example: In our output the RID number is
After entered the RID number, it'll list several options,
Choose option 1 to clear the password.
Enter Q to exit the user menu.
Enter Q to exit chntpw, Enter Y to save the SAM hive,
Change to the root directory,
Umount the Windows Device,
Umount the ISO from device and reboot it.
After rebooted, Login and Set a Strong Password.
Since we removed the previously setup Administrator user password via GRML in the previous step, it is important to perform this step to setup a password for the Administrator user.
Click on the
CTRL-ALT-DEL button in VNC, you will get the below options.
Next, Click on Change a Password.
Now leave the Old password blank and enter a New password, then click on the Submit button.
That's how we reset the Windows Password using GRML.