Windows 10 is the most popular GUI-Based operating system developed by Microsoft Corporation. It works on the graphical user interface (GUI), whereas Linux works on the command-line interface (CLI). In addition, the latest version of Windows 11is launching with an attractive look and many features, which is an upgraded version of Windows 10.
What is the chntpw tool?
The chntpw is a windows password resettingor blanking tool that’s pre-installed in Kali Linux. We can quickly remove user passwords from Windows10,8,7 with the help of the chntpwtool. Kali Linux contains over 400 forensics and penetration testing tools. We would be like to say that Windows stores the user’s password as a hash in the SAM database. The Security Accounts Manager (SAM) is a database that exists in the system32 folder.
Suppose you are CEO of a company and 100 employees work there. Due to some reason, an employee left your company. He entered a password in Windows 10, which is running on that computer. In this situation, how will you remove that password?
If you don’t know how to create a Kali Linux bootable Pen drive, I have caused a video on it. First, you should watch that video.
According to the image, as soon as I tried to log in to Windows 10, I got the message of password inaccessible. We entered the password several times, but our attempt was unsuccessful. I comprehended that with the help of some hacking tools can be easily bypassed Windows login password. For that, you will need a bootable Pen drive. I am using here the latest Kali Linux 2021.2 bootable ISO image.
Before rising this blog, we should comprehend the working of the chntpw tool. Remember, you must have a SAM file. As you know, we have mentioned above. The Security Accounts Manager (SAM) is a database that exists in the system32 folder. To get more information, We can see its help, for that, follow the below command.
-l = If you want to scan all users, then use the -l command.
-e = If you want to edit your Windows registry, then use the -e command.
At this time, we will have to initiate Kali Linux in live mode. After that, we will select Live (AMD64). It may take some time. Till then, be patient!
Let’s getremove Windows 10 password without losing data. First, we would enter in Windows 10 drive. If you have a good knowledge of Linux, then you will not have any problem here. Let’s come to the topic. We would open a Windows drive in the Kali Linux terminal. Following the below image.
In this stage, we will find out all user’s in Windows 10. Let’s follow the below command!
chntpw -l SAM
If you don’t know about Linux basic command, I have caused a video on it. First, you should watch that video.
Let’s take a closer look at the picture. We have got all user’s lists of Windows 10. According to the above image, we have a SAM file used with the chntpw tool.
I have got my username, we have marked it. We would remove windows login passwords without losing data. When you would execute the chntpw tool, It will display a bunch of options. It depends on you, which type of options you would select.
We can convert the guest user into an administrative user and remove the password. We want to say, let’s take a closer look at the picture.
We would select the 1 title to remove the Windows login password.
1 – Clear (blank) user password
We got happy. We didn’t think that we can remove the Windows login password. If you do like this blog, then subscribe to the Pentestblog YouTube channel.