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

How To Reset Windows Login Password With Ubuntu Linux Live CD

This blog post was sponsored by PassMoz.com

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 a 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 the 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 the 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

Latest Post

50 Simple and Useful dmidecode Commands for Linux

The dmidecode command in Linux allows users to retrieve sensitive hardware-related information directly from the command line. This way,...

The 10 Best IP Address Management Tools for Linux

IP address management takes a large part in the life of modern network admins. Linux admins are expected to...

25 Must Know Nginx Commands for Developers and Admins

Nginx is one of the most popular web servers among Linux and BSD users due to its rich feature...

40 Useful Linux Server Commands for Beginners in 2020

Most of the virtual world is powered by Linux today. Admins and network owners like to take control of...

Most Talked Post

Linux or Windows: 25 Things You Must Know While Choosing The Best Platform

Choosing the best platform - Linux or Windows is complicated. Because both the system is versatile and capable of...

Most Stable Linux Distros: 5 versions of Linux We Recommend

At the very beginning, I would like to mention why the term ‘Stable’ comes in relation to Linux OS...

15 Best Things To Do After Installing Linux Mint 19 “Tara”

Linux Mint is one of the best Linux distros for newcomers, especially who comes from other Operating Systems like...

Linux Mint vs Ubuntu: 15 Facts To Know Before Choosing The Best One

Ubuntu and Linux Mint are two popular Linux distros available in the Linux community. Ubuntu is a derivative of...

Editors' Pick

The 50 Most Useful Linux Commands To Run in the Terminal

No matter whether you're a seasoned Linux user like...

Top 20 Best Linux VoIP and Video Chat Software in 2020

The Internet has become an integral part of our...

20+ Linux Camera Software: IP, Webcam, CCTV & Security Camera Software

Linux is a strong open source platform where every...

How To Speed Up Ubuntu Linux: 12 Must Follow Tips

Ubuntu is very powerful and polished Debian based Linux...

Top 20 Best Instant Messaging Programs For Linux in 2020

Instant messaging programs allow users to make real-time communication...

Best Linux Code Editor: Top 10 Reviewed and Compared

Coding is great fun. You can make useful and...