How to turn on the computer with a password? Windows password bypass
My friend has a password on a Microsoft account (Windows 10) on her computer. Having searched the entire Internet, I did not find anything more useful, like replacing the on-screen keyboard with the command line and resetting the password with the help of “net user login password”. And resetting the password is not an option. There was an idea using the safe mode or in Windows recovery mode to open a command prompt and create a new user, but the same password was required there and there. It became interesting for me to find a loophole with my own hands and to bypass this protection. It is hardly interesting to anyone how I came to this method, so I’ll just describe the action plan.
Attention! In order to proceed, you need to replace osk.exe with cmd.exe in the folder “C: \ Windows \ System32”, which is located there. Do not forget to backup osk.exe. This can be done in various ways: through the command line at the command line in Windows recovery mode from the installation disk, through any other installed system. I will describe the replacement method through osk.exe from under the Windows target. Yes, you understood correctly: in order to bypass the password, you need to gain access to the computer at least once, that is, ask your parents to turn on the PC at least once.
Open the windows folder along the path “C: \ Windows”, find the system32 folder:
Open its properties, the Security tab, click Advanced. A window like this will open:
Open the Owner tab (on Windows 8.10, the Owner will be immediately under the name of the object and there will be a change button), click Change, select Administrators, click OK and then OK again.
Make sure that the Administrator has full access:
Otherwise, click Change, select "Administrators", check "Full access". Save all changes.
Manipulations of the second step take place in the “C: \ Windows \ System32” folder. Back up (make a copy) osk.exe, then delete the original. Make a copy of cmd.exe with the name osk.exe. If everything worked out, then when you start the on-screen keyboard via the start-up, the command line should be displayed.
Next, press the two buttons on the keyboard simultaneously: Start + R. The "Run" window will open and enter the control userpasswords2 command and click OK:
The User Accounts window opens.
1) Click "Add ..."
2) Create a username for the new account, set a password for it if you want, and in the third step of creating a user, select the Administrator access level
3) Save all changes and go on.
In the root of the "Local Disk C" create a text document and call it "1". This text document will simplify the execution of commands for traversing. In it you need to add the following two lines:
REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v Имя_Вашей_Учетной_Записи /t REG_DWORD /d 0 /f REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v Имя_Вашей_Учетной_Записи /t REG_DWORD /d 1 /f
Replace in each line of "Your_Amount_Account_Arms_Number" with the name of the account you previously created (without quotes). The first line hides your new account on the Windows Welcome screen, and the second line shows it in reverse. Save the text document. If you did everything correctly, then if you open the command line and type “C: \ 1.txt” there, then the same text document should be opened in a notebook. Go ahead.
In fact, everything is ready. What we have: the replaced on-screen keyboard on the command line, a new account, a text document that will prompt us commands. Now to the execution of the desired. Before you begin, open the command line and paste the first line of our text document there in order to hide the new user in the welcome screen. (In the command line, you must insert the right mouse button):
Make sure you have done all the steps correctly!
Now we reboot the computer and we are asked to enter a password. In the corner (usually in the lower left), you need to open the center of special features to put a tick "Enter text without a keyboard" (at least for me, but Windows 8, 10, I think, do not differ in the variety of text), click OK, the command line. It is necessary to execute the command "C: \ 1.txt", you will open a text document that we previously asked. Copy the second line and paste it into the command line. We are convinced that the operation is successful , we restart the computer and see that the necessary account has appeared, we load it and it is ready, you can use all the capabilities of the computer without the need to enter a password.As soon as you load the account, open the command line and paste the first line of our text document there so that the account is already hidden after the reboot .
PS My friend, who first tried this method, said: "I searched the entire Internet, but did not find a normal way, except to reset the password." This led me to create this article.