How to fix BCD boot error in Win7 Ultimate bat

  

Win7 common faults have BCD boot error, which can't be booted. 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 that the following code is based on the system in the C drive, if not please change partition=C: Change C 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 /store C:\\boot\\bcd /set {bb68514c-cff8-11dd-aca9-a775dac50ae8} nx Optin

bcdedit /store C:\\boot\\bcd /displayorder {bb68514c-cff8-11dd-aca9-a775dac50ae8} /addlast

bcdedit /store C:\\boot\\bcd /timeout 5

pause

2, and then execute the file in the WinPE, as shown below:

by the above method of operation, can fix Win7 Ultimate BCD codes bat mispriming . You can also keep this BAT file and use it when you need it.

Copyright © Windows knowledge All Rights Reserved