1、先在win10系统上,点击记事本,在打开的记事本,将下面代码复制进去:
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、然后将它另存为“修复BCd引导.bat”文件,然后在winpE系统下执行“修复BCd引导.bat”文件。
win10系统执行完BAT文件后,就可以轻松解决BCd引导出错导致系统无法正常开机问题了。