Many users who use the Windows 10 system have encountered the problem of forgetting that the computer password cannot log in to the system. So, what should I do? This is a very annoying problem. Today, Xiaobian will teach you (some experience in life) that a way to change the password is higher than using PE and I don't know where to go.
I set up a virtual machine here, specifically for this tutorial. The virtual machine runs Win10. The username is Virtu and the password is 1234. I want to change the password to 12342345 without entering a password. Now open the virtual machine and find the forgot password. At this time we can restart.抠 Battery (forced restart) when displaying Windows Logo. It may be necessary to reboot a few times until a line appears under the Windows Logo.
After the system is diagnosed, this interface will be displayed:
At this time, we have to select the Advanced options on the right, which will open the following interface:
This time, select the middle Troubleshoot Troubleshooter, the following interface will appear:
Select Advanced options below, then choose Open Command Prompt.
At the command prompt, jump to the disk where the system is located. Note that the system may not be in the C drive here. In this example, the system is on the D drive. So we enter “[drive letter]: ”. Enter the dir command to confirm that it is the system disk.
Then, we have to enter the “cd WindowsSystem32” command to jump to the [system disk]: WindowsSystem32 directory.
Next, we have to enter the following commands in turn:
copy sethc.exe sethc_bk.exe
copy /y cmd.exe sethc.exe
Now we restart the computer and wait for the computer to enter the normal login interface . After entering, we have to press the Shift key 5 times. This action was originally used to activate the hysteresis key, which is to execute sethc.exe. But in the above operation, we overwrite cmd.exe with sethc.exe. Thus, after performing this action, a command prompt window will open. (Please note that the command prompt window we just opened is in the Windows recovery environment, which is the cmd file inside the X drive. That command prompt can't do a lot of operations on the C drive system. The command prompt is just us. Used to replace sethc with cmd.)
Now we have to note that the Windows system has logged into an account by default before loading our own account. This account is the SYSTEM account, also known as the highest administrator rights account. In this account, you can make any changes to the system. We usually need to modify the important files in the system, and also need to obtain the permissions of the SYSTEM account. This account is higher than Wallace and is higher than the Administrator account and does not know where to go. We are going to talk to him today.
The command prompt window that we opened here is opened in the SYSTEM account. To verify, we can enter the explorer command at an open command prompt. At this time, the system will display a taskbar below the login screen (very amazing, right?). If your system is Win7, clicking the Start button will bring up the Start menu with the SYSTEM word on it. But not in Win10. Right click on the taskbar, select the toolbar, and check the "Desktop" item in it. This will display a toolbar called "Desktop" on the right side of the taskbar. Click the expand button on the right side of the toolbar to see the first item on the list <;SYSTEM". This proves that we are now in the highest admin rights account.
To set a password, we enter the net user command at the command prompt. This command will list the names of all accounts, as shown below:
Here we can see the Virtu account. Next we enter the following command:
net user [name of the account to change the password] [space] [new password]
For example, here, the command we want to enter is:
net user Virtu 12342345
The advantage of this command is that you do not need to enter an existing password. In this way, our password is modified. You can try to log in to the system with a new password.
Note that the intent of this tutorial is to make forgetting passwords not annoying, not to perform any criminal activity. Please respect the privacy of everyone.
Windows10 forgot the computer password can not log in the system problem solution is introduced here. For more software questions about windows10 system, please pay attention to System City: http://www.xitongcheng.com/