Reset Windows Passwords with Kali Linux

June 24, 2015 | Views: 76434

Begin Learning Cyber Security for FREE Now!

FREE REGISTRATIONAlready a Member Login Here

Reset Your Windows Password Using Kali Linux

Hello Cybrary members.

Here I am again to talk about Passwords for Windows 7 or any version of Windows. Sometimes, we forget our password, or we want to reset the Windows password for a friend, officemate or anyone’s laptop in legal way.  Today, I’m am going to teach you how to reset a password using our Favorite Penetration Testing Operating System – Kali Linux.



1.Kali Operating System (click here to download the program if you don’t have it)

2. USB or CD/DVD



Step 1: Download Kali ISO and burn on a CD/DVD – many users are also using bootable USB

Step 2: Boot menu -> Select Live (Forensic Mode) … sounds good!!

Step 3: If you’re a first-time user of Kali, don’t panic at initialization mode. It ill open a terminal window.

Step 4: Find the SAM (Secure Account Manager), where in almost of the Windows’ OS passwords are saved. The file is usually located in Windows Folder. You can find under /Windows/System32/config/

Step 5: On our system, we find at /media/hard_drive_name/Windows/System32/config

SAM Location


Step 6: If we navigate using the image above, we’re going to find and open the SAM. The image below shows the syntax for the SAM database.

Sam database location


Step 7: Type the command: chntpw -l SAM. The image below shows the list of usernames found in the SAM on my Windows 7 OS.



Step 8: Simply run this command:  chntpw -u “username” SAM. For example, in this scenario, our username in Administrator, so simply type chntpw -u “Administartor” SAM.



Step 9: Voila, we found the main action, now you can press 1 for Clear, and so on.


I hope you find this as a pretty cool idea on how to reset the password in any Windows 7 or other Windows OS.


Regards from Philippine Security,














Share with Friends
Use Cybytes and
Tip the Author!
Share with Friends
Ready to share your knowledge and expertise?
  1. Thanks…Great video..

  2. Boot with Kali Linux and it fails to detect my hard drive. Later I managed to reset lost windows admin password with PCUnlocker Live CD.

  3. Great Tutorial, many thanks!

    • I found that I also have to mount the drive [browse] via the File Explorer before it will link this into the /media/root/ location to access the SAM. Without this the drive does not show up in the terminal by default.

  4. I have the Bitlocker that shows up immediately. I don’t know how to get beyond that to do everything else.

  5. We can make it with hiren boot cd it’s easy! but with Active@ Boot Disk of LSoft Technologies Inc. it’s more easy to reset your forgotten password. Try it if necessary!

Page 7 of 11« First...«56789»...Last »
Comment on This

You must be logged in to post a comment.

Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Support Cybrary

Donate Here to Get This Month's Donor Badge


We recommend always using caution when following any link

Are you sure you want to continue?