Windows 7 forgot the login password solution

  

Because you can't use the administrator account to enter Windows7, the auxiliary tools are relatively large, and you can't return the pe key to delete the password in the xp era, but you can run the cmd command with the Windows7 system account. Forcibly modify the account password! Take xp+Windows7 as an example (you can also enter pe without installing dual system).

Step 1: Since cmd is in the system directory, file changes must first obtain file ownership. Open "D:/windows /system32" (assuming Windows 7 is installed on the D drive), right click on "arrator.exe" and select "Permissions" - Advanced - Owner, set the current xp administrator account as the owner (if If there is no current account in the list, click "Other Account" and enter the current account name manually). Click "OK" to return to the permission setting window, click "Add", add the current administrator account to the list, and set the account read permission for the file to "Full Control".

Step 2: Operation as above, set the current account to "cmd.exe" permission for full control, then rename "narrator.exe" to "narrator1.exe", "cmd.exe" rename Is "narrator.exe".

Step 3: (If you log in as the administrator account, you don't need this step) Restart Windows 7 in the login screen, click the "Easy Access" button in the lower right corner, and select "Start" in the window that opens. Narrator", the cmd window is started at this time (it is opened by system, naturally has administrator privileges~), enter the following command in cmd to open the administrator account, restart to use administrator:

netuseradministrator//active:yes (interpretation: forcibly open the administrator account)

netuseradministrator123456//add (interpretation: forcibly change the user administrator password to 123456)

Step 4: Since administrator If the account cannot be used, then create a 呗, the same permissions as it will not work; restart Windows 7 login, click the "Easy Access" button in the lower right corner of the login interface, and select "Start Narrator" in the window that opens. , start the cmd window, enter:

netuseradmin123//add carriage return;

netlocalgroupadministratorsadmin//add carriage return;

Step 5: Restart, enter the admin account The

Copyright © Windows knowledge All Rights Reserved