Monday, September 27, 2021

how to Remove a windows password with a linux live CD

how to Remove a windows password with a linux live CD

Preety sure I’m not the only one who has experienced password loss—that moment where you just can’t remember your password.

So, how can we get into the system without paying a local geek or geek squad to do it?

🔰 First, we have to look into how Windows stores their passwords.

When Windows saves your user passwords, it stores them in a SAM file. It stores users’ passwords in a hashed format (in LM hash and NTLM hash).

Since a hash function is one-way, this provides some measure of security for the storage of the passwords. However, this can still be bruteforced.

Some time ago there was an exploit that allowed you to delete the SAM file and log into any account without a password. This is fixed, since Windows no longer allows access to the SAM file while Windows is running. For this we are going to use a Linux Live CD to remove a Windows password using the chntpw tool.


  • BackTrack 5 on a DVD, or a Linux install with chntpw
  • A password on a Windows installation


Text in bold is a terminal command.

1.Put the disc in your computer.

2.Hit the setup button.

3.Change CD/DVD to be first on the boot order.

4.Exit the setup and save your settings.

5.When you get to the console, boot with;
 user:root password:toor.
6.Boot into the KDE desktop environment:
7.Open a terminal.


Now we have to mount the Windows drive partition to modify the password, or remove it completely.

First, we have to mount the hard drive partition that the Windows installation is located on..
    mount /dev/sda1 /mnt/

2.Change to the directory that the SAM file is in so that we can prepare to modify its contents.
    cd /mnt//Windows/System32/config

3.List the users on the computer contained in the SAM file.
  chntpw -l SAM

4.Change a specific user account password.
    chntpw -u USERNAME SAM

5.Now, lets unmount the drive and boot from Windows to use the updated or cleared password😁.
    umount /dev/sda1

Now you are done!

- Advertisement -
how to Remove a windows password with a linux live CD
Droidvilla Admin
I am Nnoka Godswill also known as Favtechblogger, Droidvilla CEO! A final year student of the University of Port Harcourt, studying Electronics and Computer Engineering. Found passion in technology and decided to keep the world in touch with latest happenings around the world of technology. Email author at


Don’t use 4g to browse always – See why

Don't use 4g to browse always - See why Don't use 4g to browse always - See why Have you ever thought of why your android...

How to use browser find in page tool 2021

Have you ever been up, searching for a keyword on a website page and all you have to do is simply go through website...

How to turn off safe mode on android

Turn off safe mode The Safe Mode on Android is a security feature which you can turn on to make sure intruders doesn't access your...

Best Way To Fix Gbwhatsapp Incoming Messages Delay 2021

- How To Fix Gbwhatsapp Incoming Messages Delay: Hide 2 Tick A very disturbing and sad experience most gbwhatsapp users go through while trying to...

5 Most Important Features To Note Before Purchasing a Laptop For Gaming 2021

Purchasing a laptop is easy but knowing the exact one for the job is always the problem,and this makes us feel bad after a...

Android Apk Apps

Related news
- Advertisement -


Please enter your comment!
Please enter your name here