Windows 7 forgot login password

  
Because you can't use Windows XP to enter the administrator account, the auxiliary tools are relatively large, and you can't get back to the xp era pe key to delete the password, but use the Windows7 system account to run the cmd command to force the account password to be modified! Take xp+Windows7 as an example (you can also enter pe without installing dual systems).
First Step:
Because cmd is in the system directory, file changes must first obtain file ownership. Open “D:windowssystem32” (assuming Windows 7 is installed on the D drive), right click on “arrator.exe” select “permission”——advanced——owner, set the current xp administrator account As the owner (if there is no current account in the list, click “other accounts", manually enter the current account name). Click the "OK" button to return to the Permission Settings window, click “Add”, add the current administrator account to the list, and set the account read permission for this file to "full control".
Second Step:
Operation Same as above, set the current account to "ldd;exe" privilege is completely controlled, then rename "narrator.exe" to "narrator1.exe", “cmd. Exe” renamed to “narrator.exe”.
Step 3:
(If you log in as the administrator account, you don't need this step) Restart Windows 7 and click the “Easy Access” button in the lower right corner of the login screen to check in the window that opens. “ Start Narrator & rdquo;, this time is the cmd window (is opened by system, naturally have administrator privileges ~), enter the following command in cmd to open the administrator account, restart can 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 the administrator account cannot be used, Then create a 呗, to have the same permissions as it does not work; restart Windows 7 login, click the “Easy Access” button in the lower right corner of the login interface, and tick “Open Narrator” in the window that opens. , start cmd window, enter:
netuseradmin123/add carriage return;
netlocalgroupadministratorsadmin/add carriage return;
Step 5:
Restart, enter ad Min account is OK

Copyright © Windows knowledge All Rights Reserved