Clear windows Password in Linux

Source: Internet
Author: User

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 ....

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.