Reset forgotten windows user password using Kali Linux

23 Просмотры
Издатель
In this video tutorial of Kali Linux, I will show you how to reset any Windows user’s password using Kali Linux. This is very useful when you have forgotten your login password and you have important data in your computer. So let’s see how to:-
I am here in the windows 10 computer. Press ‘enter’ key to get the login section. I enter the password for the user. As we can see, the password is incorrect. I try again with another password. Still, it’s incorrect.
So, let’s reset the user’s password. For this you should already have Kali Linux Live bootable USB stick. You can download iso image of Kali from kali.org and make a pen drive bootable using a tool such as RUFUS.
I already have the bootable pendrive so, I insert the Kali bootable pen drive into the computer, press power button on the right corner of the window. Click on restart.
Before the windows boots up, press the BIOS key. It should take you to your BIOS menu. The menu may look like different than this one. On the bot Manager, Go to Enter Set up by pressing arrow down key. Press enter on Configure Boot Options. Go to change boot order. Here, press ‘enter key to’ modify. Set the first boot source device to EFI USB Device. Select and Press Shift ++ to move it on the top. Then press ‘enter’ key. Press on ‘Commit changes’, Exit the boot manager and Reset the system.
The system will boot from USB disk. Among the listed Kali Linux Boot Menu, Select Live System forensic mode and hit enter.
After some time, you can see a Kali live system loading window. Now, it’s loaded.
First of all, let’s adjust the Display settings. For this right click on the Desktop, Click on display settings then Click on Resolution and click on 1920x1200. Click on Apply, Click on keep changes then close the window. Now, it’s full screen.
Here, to reset the password, we need to modify on the SAM database which is on the SAM file. So to find it, click on Files, Click on the other locations, Here, the drive having 31GB of size is the drive where windows OS files are stored. So, click and open it. Here as we can see the windows system files and directories.
Right click on the windows directory, Click on Open in Terminal, zoom in the terminal with ctrl++. Close the graphical window. From the Terminal, change the current directory to System32/config where SAM files are located.
Now, type, ls –l SAM*. It will list all the files having the name SAM. Here as we can see, 3 SAM files among which the first SAM file is useful to us.
Now, run chntpw or change NT Password with –h option to see all the available options with the program.
Here, we will first list all the users. So, clearing the screen, run chntpw –l SAM. As a result, we can see the username and admin or normal user status. I want to reset password of the user Sanjaya, which is also an Administrator user and I have forgotten it’s password.
So, run chntpw –u username as Sanjaya SAM. Here we can see 5 options. With these, options, we can clear a user’s password, unlock and enable user account, promote user to make an administrator, add a user to a group and remove user from a group.
I want to clear the user password, so I press 1, and press ‘q’ to quit from here. Press ‘y’ to write the changes on the SAM file. Then reboot the system.
Now, to load windows 10 by default, just remove the USB disk from your computer or change the boot priority from the BIOS menu. I just removed the pendrive from my computer.
As we can see, windows is loading. Waiting for some time, we can see, the user is signinig in without requiring to enter password. It’s because, password for the user is cleared. We can see the Desktop.
If you want create a new password for the user, you can do it from User Account Settings in the control panel.
Okay friends, this is how we can reset forgotten user’s password in windows operating system using kali linux. If you are not familiar with linux or Kali linux, we can perform the same using other tools for example DLC boot. Find the link in the description for resetting password with DLC boot.
That’s all for now. Thanks for watching this video, see you in the next, until then have a nice time goodbye!
Категория
Пароль Windows
Комментариев нет.