In the Windows 10 operating system, in addition to additional identification tools, there is also a regular text password by analogy with previous versions of the OS. Often this kind of key is forgotten, forcing the use of reset tools. Today we will tell about two password reset methods in this system through the "Command Line".
Password reset in Windows 10 through the "Command Line"
Reset the password, as mentioned earlier, you can via the "Command Line". However, to use it without existing account, you will need to restart the computer and boot from the installation image of Windows 10. Immediately after that you need to click "SHIFT + F10".
Step 2: Password Reset
If the actions described by us were performed as accuracy according to the instructions, the operating system will not start. Instead, at the download stage, the command line opens from the "System32" folder. Subsequent actions are similar to the procedure for changing the password from the relevant article.
Read more: How to change the password in Windows 10
- Here you need to enter a special command, replacing the "name" in the name of the editable account. It is important to observe the register and layout of the keyboard.
Net User Name.
Similarly, add two quotes-running quotes after the name of the account. In this case, if you want to change the password, and not reset, we enter a new key between quotes.
Press "ENTER" and, if the procedure is successfully completed, the "command is successful" string appears.
- Now, without reloading the computer, enter the REGEDIT command.
- Expand the HKEY_LOCAL_MACHINE branch and find the "SYSTEM" folder.
- Among the child elements, specify "SETUP" and double-click the LKM on the "Cmdline" line.
In the "String Parameter" window, clear the "Value" field and press OK.
Further expand the SetupType parameter and set the "0" value.
Now the registry and the "Line command" can be closed. After the actions done, you log in in the system without the need to enter a password or with what was set manually in the first step.
Method 2: Administrator Account
This method is possible only after the actions made in step 1 of this article or if there is an additional Windows 10 account. The method is to unlock a hidden account that allows you to manage any other users.
Read more: Opening the "Command Line" in Windows 10
- Add the Net User command Administrator / Active: YES and use the "Enter" button on the keyboard. At the same time, do not forget that in the English version of the OS, you need to use the same layout.
If successful, the appropriate notification will be displayed.
- Now go to the user selection screen. In the case of using an existing account, it will be enough to switch through the "Start" menu.
- At the same time, press the "Win + R" keys and in the "Open" string insert the compmgmt.msc.
- Expand the directory marked in the screenshot.
- Click PCM by one of the options and select "Set Password".
Warning about the consequences can be safely ignored.
- If necessary, specify a new password or, leaving the fields empty, just click on the "OK" button.
- To check, be sure to try on the name of the desired user. At the end, it is worth deactivating the "Administrator" by running the "command line" and using the previously mentioned command, replacing "Yes" to "NO".
This method is the most simple and suitable if you are trying to unlock the local account. Otherwise, the only optimal option is the first method or methods without using the "command line".