Provide the best software to recover passwords for
Windows, SQL Server, PDF, Word, Excel, Outlook, FTP, Email, etc.
Home > PCUnlocker > Reset Windows Password with Linux Boot CD

How to Reset Forgotten Windows Password with Linux Boot CD

Forgot Windows password and cannot log in to your machine? If you have a Windows password reset disk, you should be okay. If not, you might have to turn to Linux boot CD for help. System Rescue CD is one of the most popular Linux live CDs for repairing your system and recovering your data after a crash. If you are a little more technical you can use it to reset forgotten Windows password easily.

In this tutorial, we'll guide you through step-by-step procedure of resetting forgotten Windows password with the excellent System Rescue CD, which is based on Linux.

Reset Forgotten Windows Password with Linux Boot CD

  1. Just download a copy of the System Rescue CD and burn the ISO image to a blank CD using your favorite CD/DVD burning software.
  2. Boot your locked computer from the Linux CD that you created. You may have to go into the BIOS settings to change the boot order to set CD/DVD as the first boot device.
  3. The boot CD will take you to the command prompt. The first thing you need to do is mount the hard drive using this command:
    ntfs-3g /dev/sda1 /mnt/windows –o force

    Mount Hard Drive

  4. Typing the following command to change your current directory into the Windows/System32/config directory:
    cd /mnt/windows/Windows/System32/config
  5. Use the chntpw command to list out all user accounts in your Windows installation.
    chntpw –l SAM

    chntpw

  6. Now you can reset forgotten Windows password for any user account. For example, I want to reset password for an account called geek, so I run this command:
    chntpw –u geek SAM

    Reset Windows Password with Chntpw

  7. There are many options you can do with the account. Here we type "2" at the command prompt and enter a new password. Press "y" to save your changes. At this point your password has been reset successfully.

    Reset Forgotten Windows Password

  8. Run the reboot command to restart the computer. Take the CD out of the drive and you can then log in to your computer with the new password.

This method can work, but it's not perfect. If you run into a bug or error, and since the software runs by booting into a Linux environment, troubleshooting can be particularly tough if you don't know much about Linux. If you are a PC beginner, it's highly recommended to use PCUnlocker utility.




Related Articles