You will need
  • - installation CD of Windows.
Users who have dealt with the installation of this operating system will immediately tell you that in the BIOS you need to switch to removable hard disk. In this case, it will start booting from that disk. You will be prompted to select a language setting, click the bottom "Next" button. Then click on "system Restore", again "Next" and finally select the "Command prompt".
In the opened command prompt, enter regedit, press Enter. Then you will see the registry editor. In the list of topics, click the folder Lokal_Machine. Go to the menu called "File", select "Upload".
Now navigate to the drive on which you installed your operating system (for example, drive C). Then navigate to Windows, System32, config and System.
As soon as you see the window "Load hive", enter in the empty field a name for the section. It can be anything and contain even digits. Now go to local_machineимя разделаSetup. Then click on the CmdLine parameter, enter a value cmd.exe click OK. Do the same with SetupType, don't forget to change the 0 to 2.
Select the partition you created, and then go to the file menu and select the line "Unload hive". After this operation, remove the installation disc, close the command prompt and the registry editor. Window recovery options, click restart.
After turning the computer on the screen will appear command prompt window. To reset the previous password, use this command: net user user name new password (between words, make sure to insert a space). Its implementation confirm by pressing Enter. You can close the command prompt window and log into the system.