you need
  • - Windows 7 installation disc;
  • - Utility Bootrec.exe;
  • - Utility DCDboot.exe
Guide
1
Change the BIOS settings for DVD-drive to load Windows.
2
Use the installation CD to the appearance of the window "Install".
3
Open the "System Restore" and select the desired operating system in the dialog box "system recovery options."
4
Click "Next" to confirm your selection.
5
Select "Command Prompt" in the next dialog.
6
Keep Bootrec.exe value in the command line and wait for the launch of key information tools Bootrec.exe.
7
Use the Bootrec.exe / FixMbr to record entries in the main installation system partition in case of damage this record or eliminate custom code.
8
Use the Bootrec.exe / FixBoot to write a new boot sector when damaged boot sector and / or
after installing a previous version of Windows.
9
Enter bootsect / NT60 SYS in the command line to overwrite the boot sector code compatible with BOOTMGR.
10
Enter Bootrec.exe / ScanOs in the command line scan of all drives to determine the installed operating systems, and display lists of unregistered systems.
11
Enter Bootrec.exe / RebuildBcd in the command line for a complete restructuring of the boot configuration data of Windows and add discovered operating systems to new storage.
12
Enter znacheniebcdedit / export C: BCDcfg.bakattrib -s -h -k with: ootcddel c: ootcdbootrec / RebuildBcddlya remove previous configuration data storage Windows.
13
Use the BCDboot.exe to restore the boot environment located in the active system partition.
14
Enter bcdboot.exe ewindows, where ewindows - path corresponding computer system.
15
Restart the computer.