Change settings and passwords in Windows using Linux

In this tutorial, I will present a way to change or delete a user password in a Windows XP operating systems or Windows 7.

On Windows Vista, I have not tried it yet, but you can try.

I get under Fedora 15 this software, using yum.

You need to locate the SAM file. Under Windows 2000 and XP is normally located at


Then you need to navigate and find a number of files like SAM, SYSTEM, SECURITY…

Once you have located the SAM you can start using chntpw.

Use this command to see the help

If you want to list all the users on in the SAM file, use this command:

Use this command to change the password or clear the password:

The windows_user is the user list by command chntpw SAM

There are other options that can be applied to a windows user, but these two are used.

This program can be used on a Linux install on USB.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.