Win7 Ultimate How to fix BCD boot error bat

  
Win7 common faults have BCD boot error, which can't be turned on. Under normal circumstances, it is most likely to appear when new installation. How do you solve this problem? In fact, we can fix this problem through the Windows boot repair software in WinPE. However, if there is no such tool in the U disk boot disk, it can be solved by command. The following are the commands to fix the boot.
1, open Notepad, then copy and paste the following code, save as "repair BCD boot.bat"; (note the following code to the system in the C drive, if not please change the partition=C: in the C Change to another drive letter);
path C:\\Windows\\system32
bcdedit /store C:\\boot\\bcd /create {bb68514c-cff8-11dd-aca9-a775dac50ae8} /d “Microsoft Windows 7” /application osloader
bcdedit /store C:\\boot\\bcd /set {bb68514c-cff8-11dd-aca9-a775dac50ae8} device partition=C:
bcdedit /store C:\\boot\\bcd /set {bb68514c- Cff8-11dd-aca9-a775dac50ae8} path \\Windows\\system32\\winload.exe
bcdedit /store C:\\boot\\bcd /set {bb68514c-cff8-11dd-aca9-a775dac50ae8} locale zh-CN
bcdedit /store C:\\boot\\bcd /set {bb68514c-cff8-11dd-aca9-a775dac50ae8} inherit {bootloadersettings}
bcdedit /store C:\\boot\\bcd /set {bb68514c-cff8-11dd-aca9-a775dac50ae8} Osdevice partition=C:
bcdedit /store C:\\boot\\bcd /set {bb68514c-cff8-11dd-aca9-a775dac50ae8} systemroot \\Windows
bcdedit /s Tore C:\\boot\\bcd /set {bb68514c-cff8-11dd-aca9-a775dac50ae8} nx optin
bcdedit /store C:\\boot\\bcd /displayorder {bb68514c-cff8-11dd-aca9-a775dac50ae8} /addlast< Br>bcdedit /store C:\\boot\\bcd /timeout 5
pause
2, then execute this file under WinPE, as shown below:

The above method can be used to repair Win7 flagship Version BCD bootstrap error bat code. You can also keep this BAT file and use it when you need it.

Copyright © Windows knowledge All Rights Reserved