Clear windows Password in Linux
It is common to forget the password. I usually use the PE tool to clear the password! Today, I did not have a USB disk, but my system is a dual-system (Linux or Windows). I tried to clear the Windows Password under Linux. This magic tool is called chntpw. 1. install the chntpw tool sudo apt-get install-y chntpw # To install chntpw, set the source to allow the Universe package. New Method: click Settings menu> Repositories. Then, select "Community-maintained Open Source software (universe)" and click "Close ". 2. mount Windows system partition $ sudo mkdir-p/media/c $ sudo mount-t ntfs/dev/sda1/media/c3. clear windows system password $ cd/media/c/WINDOWS/ system32/config $ sudo chntpw SAM # To change the non-administrator password, in command line mode, type the following command: sudo chntpw-u [user name] SAM... # omit--User Edit Menu: 1-Clear (blank) user password 2-Edit (set new) user password (careful with this on XP or Vista) 3-Promote user (make user an administrator) (4-Unlock and enab Le user account) [seems unlocked already] q-Quit editing user, back to user select Select: [q]> # options: 1. Clear the password; 2. Reset the password; 3. Raise the user permission to administrator; 4. enable or disable the user; 5. exit ....