Win7 system Forgot password (solution 3)

  
        
My computer has set the power-on password, but today my friend played my computer, set my computer user name to the default value in the optimization master's system security, and then restart the computer, or need the power-on password, but the original The password can no longer be used, suggesting that the original user has been deactivated. May I ask you heroes, what should I do in this situation? My computer can't reinstall the system. Now I use Win7 Ultimate. I can't restore it with one click. 
 
 Method 1: When booting to the welcome interface, press Ctrl+Alt+Delete to jump out of the account window and enter the username. :administrator, enter, if this account also has a password, then this way: Press F8 at startup to select "Safe Mode with Command Line" Select "Administrator" to pop out the "Command Prompt" window to add users: net user asd/add Li: Net localgroup administrators asd /add Restart, select asd to enter the control panel ---- user account ----- forgot the password of the user--delete the secret method two: use WindowsPe to enter the system! Delete the password! Because you can't use the administrator account to enter Win7
, 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 use the win7 system account to run the cmd command to force the account password to be modified! Take xp+Win7 as an example (you can also enter pe without installing dual system): First, because cmd is in the system directory, file changes must first obtain file ownership. Open "D:\\Windows\\system32" (assuming Win7 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".
Second, the operation is the same as above, set the current account to "cmd.exe" permissions for full control, then rename "narrator.exe" to "narrator1.exe", "cmd.exe" renamed to "narrator.exe" ".
Three, (If you log in as the administrator account, you don't need this step) Restart the login to Win7, click the "Easy Access" button in the lower right corner of the login interface, and select "Start Narrator" in the window that opens. When the cmd window is started (it is opened by system, naturally there is administrator authority~), enter the following command in cmd to open the administrator account, restart to use administrator:
net user administrator /active: Yes (interpretation: forcibly open the administrator account)
net user administrator 123456/add (interpretation: forcibly change the user administrator password to 123456)
four, since the administrator account cannot be used, then create a 呗, and it The same permission is not enough; restart the login Win7, click the "Easy Access" button in the lower right corner of the login interface, select "Start Narrator" in the open window, start the cmd window, enter:
net user admin 123 /add Enter;
net localgroup administrators admin /add Enter;




Copyright © Windows knowledge All Rights Reserved