Home Tutorials How To Reset Windows Login Password With Ubuntu Linux Live CD

How To Reset Windows Login Password With Ubuntu Linux Live CD

Windows login is the first level of access security protection for your system and data from unauthorized access. In combination with built-in security features of the Windows operating system and third-party software, it represents a formidable wall for hackers. But what happens if you lose the key to your front door? In other words, what happens when you have forgotten your Windows login or lost it for some reason and you can’t get in.

Most people would think they need to reinstall Windows to get rid of this problem, but that would erase all your data and any custom settings you may have applied. The better way is to know how to reset Windows login password.

While there are several ways to remove, reset, recover and even bypass a Windows login, one of the most commonly used methods is to create a password reset disk. In this article, we’ll show you how to reset Windows login password using the Ubuntu Live CD method, which is one of the more popular options.

Stage 1: Create Password Reset Disk

The first stage is to create a password reset disk from the Ubuntu Live CD. For this, you will need to download Ubuntu, then burn the ISO file to a USB drive or a DVD/CD. Naturally, since you don’t have the password for the computer in question, you need to do the initial steps in another PC with admin rights.

To get your bootable media onto a USB drive or a disk, first, download Ubuntu from the official website. Once you have that, you can use a free ISO burning software like ISO2Disc to create the password reset disk. Just download Ubuntu, burn the ISO file to the disk and remove it after the burning is complete.

Stage 2: Reset Windows Login Password

The second stage is to insert this media into the locked computer and follow the process described below:

Step 1: Boot the locked computer off the disk you created. Do this by entering the boot menu on regular boot-up. You will need to press the Esc or F2 button to get there. Once there, change the boot order to boot from the disk.

How To Reset Windows Login Password with Ubuntu Linux Live CD
How To Reset Windows Login Password with Ubuntu Linux Live CD

Step 2: You will now see the Ubuntu welcome screen. Click on the first option, which is “Try Ubuntu.”

Step 3: Now go to Software and Updates in your System Settings, go to the Ubuntu software tab, where you will need to check the box next to where it says “Community-maintained free and open-source software.” Now click on Close.

Step 4: At this point, you will be asked to reload your repository. Do this.

Step 5: Next, open a terminal and input the following command in the command line:

sudo apt-get install chntpw

…and hit Enter.

Step 6: Now you need to browse for this directory: Windows\System32\Config. Once there, right-click on any blank space and choose Open in Terminal. On the command line, enter the following:

chntpw -u user_name SAM (replace the user_name string with the username of the locked account.) An example is shown in the screenshot below:

How To Reset Windows Login Password with Ubuntu Linux Live CD

Step 7: In the next step, you will give some options like Blank User Password, Promote User and so on. Type in the numeral 1 and hit Enter to remove the password.

Step 8: Now enter the letter q and hit Enter again. Then enter the letter y and hit Enter again to confirm the change.

Step 9: You can now remove the Ubuntu disk and reboot your computer, after which you no longer need to enter a password to access the user or admin account that you just edited.

However, if you found out the process was too complicated, then you can give a try on PassMoz LabWin, which is much easier to remove Windows login password if the computer was locked. You can complete the task in less than 5 clicks.

How To Reset Windows Login Password

That’s all there is to it, but if you’re not comfortable with command line work, then either follow the instructions to the letter or consider trying another software utility. There are several options such as PassMoz LabWin that will allow you to reset a password without having to install any other additional software or do any command line work.

Since all of the functionality is built in, all you need to do is create the password reset disk, insert it into the locked computer, choose the OS version and the username, and click on “Reset Password”. The job will be done in no time. But if you’re already a Linux user, the method described above to reset your Windows login password with an Ubuntu Live CD shouldn’t be too hard to follow and execute.

Is this tutorial helpful? I’ve tried to share a small trick on how to reset Windows login password and definitely, it will be useful to all those who use Windows system.





  1. I’ve used Stage 2 using Mint Linux – CHntpw many times on Windows 7, 8 and 10. Mint LInux does not require you to select anything in Software and Settings. Just connect the machine to the internet, download and install chntpw and proceed to unlocking the ntpw SAM file. This trick does not always work if the hard drive is encrypted with Bitlocker.

    The command line rename (Net user) trick will work most of the time. If the computer is on a domain, you can use command line from another computer, but I have limited success. If you are on a domain that uses Management Engine Desktop Central, you can use the command line function to reset any local account as long as the computer is connected to the internet.


Please enter your comment!
Please enter your name here