Many friends who use the win7 system will encounter the situation where the win7 startup boot is damaged, so how to repair it? Today, the editor has sorted out the relevant content, let’s take a look below.
1. Insert the windows7 installation CD and boot from the CD. After the CD boot is completed, press the "win" "R" key to open the "Run" page , enter "cmd" to open the command prompt.
2. Enter in the command prompt: bcdboot x:windows /s x: (x: is the disk where the windows folder of windows7 is located, usually c:, if If it is not the c drive, please change it to the corresponding drive letter)
3. You need to first use the dir /a command to confirm whether each drive is correct. For example: cd /d c:dir /a The function of these two commands is to first enter the root directory of the c: drive, and then display all the files and folders in the root directory of the c drive. Depending on the displayed files or folders, you can Determine which disk this disk is specifically seen under Windows 7.
4. The boot files of windows7 are mainly files in bootmgr and boot folder, and the files in boot folder are mainly bcd files.
5. The bcdboot command will rewrite all Windows 7 boot files in the specified partition.
6. If there is only a problem with the bcd file, you can use the bootrec command to rebuild the bcd: insert the Windows 7 installation CD and boot from the CD. After the CD is started, press the shift F10 key to bring up the cmd command prompt. .
7. Enter: bootrec /RebuildBcd in the command prompt. If this command finds a Windows 7 or Vista operating system that has not written bcd, it will prompt whether to write it. Enter Y when prompted and it will write it. Entered. Finish
The above is the detailed content of How to Restore Windows 7 Boot Options. For more information, please follow other related articles on the PHP Chinese website!