Reset the windows 7 login password that has been forgotten

Source: Internet
Author: User
Tags reset

Forget the Windows login password is a sad thing, but fortunately there is a way to reset the password without reloading the system can continue to use.

Reset Preparation: A Windows 7 installation medium (both CD and USB), if you do not have Windows 7 installation media, there is no need to continue the following steps.

Insert Windows 7 installation media and choose to boot from the installation media and then choose to repair the computer.

Then select the command prompt,

Enter the following command in the pop-up Command Prompt window and return to the

Copy c:windowssystem32sethc.exe C:

Please note that C represents the system letter, and if you are prompted not to find the file, locate the correct letter for the system disk. The command is to perform a file backup of StickyKeys, then enter the following command and return

Copy C:windowssystem32cmd.exe C:windowssystem32sethc.exe

This command is to replace the command prompt execution file with the Sticky key execution file, and you can see the following illustration when you are done.

Now reboot your computer and go directly to the original Windows 7 system, and press the SHIFT key five times in the login interface to eject the command prompt window.

Then enter the Reset Password command, enter after the completion of the return,

NET user your username new password

The username is the username (the name shown above the password box) that you used to log in to Windows 7 o'clock, and the new password is used to log in to the system.

Pictures from how-to Geek

After the prompt command succeeds, you can now log on to the system using the new password you just set. Of course, in order to prevent the login interface from continuing to reset the password, you will need to perform a file restore of the previously replaced Sticky key. Insert Windows 7 installation media, select Repair computer and select a command prompt, and then enter the command prompt after opening

Copy C:sethc.exe C:windowssystem32sethc.exe

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.