Win7旗舰版用命令的方式来修复BCD引导错误bat
时间:2022-08-17 12:00:08
BCD引导错诶导致无法开机,正常情况下是在新安装时最容易出现,可以通过WinPE中的Windows引导修复软件来修复这个问题,如果U盘启动盘中没有这个工具,可以用命令的方式来解决
Win7常见故障有BCD引导错诶导致无法开机,正常情况下是在新安装时最容易出现。那要怎么解决这个问题呢?其实我们可以通过WinPE中的Windows引导修复软件来修复这个问题。但如果U盘启动盘中没有这个工具的话,可以用命令的方式来解决。以下就是修复引导的命令。
1、打开记事本,然后复制粘贴以下代码,另存为“修复BCD引导.bat”;(注意以下代码以系统在C盘的为准,如果不是请更改partition=C:中的C改为其他盘符);
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、然后在WinPE下执行这个文件,如下图:
通过上述方法操作,就可以修复Win7旗舰版BCD引导错误bat代码。之后还可以把这个BAT文件留着,需要时还可以用。
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
如何在WPS表格中快速查找重复内容并设置相同的格式
![](https://img.aspxhome.com/file/2023/8/a169478_0s.jpg)
Excel设置二级下拉菜单,数据录入技巧
![](https://img.aspxhome.com/file/2023/3/39233_0s.gif)
电脑版wps文档的页眉图片如何设置对比度
![](https://img.aspxhome.com/file/2023/1/a183161_0s.png)
WPS如何快速输入自定义序列
![](https://img.aspxhome.com/file/2023/1/a185271_0s.png)
Win10注册表文件损坏怎么办?Win10注册表修复教程
![](https://img.aspxhome.com/file/2023/26/a220923_0s.jpg)
wps演示怎么设置渐变色背景
Win10锁屏蓝屏怎么回事?win10锁屏蓝屏的解决办法
![](https://img.aspxhome.com/file/2023/28/a241599_0s.jpg)
win10此电脑打不开怎么办 win10双击此电脑无响应的解决办法
![](https://img.aspxhome.com/file/2023/28/a239354_0s.jpg)
macOS Ventura 13系统与之前12系统不同之处的对比,你适应了没
![](https://img.aspxhome.com/file/2023/3/a202063_0s.jpeg)
WPS文字怎么清除底色图文教程
Apple ID突然被锁?可用这个方法解锁
![](https://img.aspxhome.com/file/2023/0/a200760_0s.jpg)
WPS设置幻灯片自动循环播放的方法分享
![](https://img.aspxhome.com/file/2023/1/a182421_0s.jpg)
win10系统如何创建宽带连接?win10宽带连接设置方法
![](https://img.aspxhome.com/file/2023/28/a245807_0s.jpg)
一键重装win7系统详细教程
![](https://img.aspxhome.com/file/2023/26/a227876_0s.png)
Win10记事本不见了怎么办?Win10找回记事本的方法
![](https://img.aspxhome.com/file/2023/25/a217894_0s.jpg)
Mac系统怎么快速查找大文件? mac查找系统大文件的教程
![](https://img.aspxhome.com/file/2023/9/a215679_0s.jpg)
WPS怎样一次插入多行
![](https://img.aspxhome.com/file/2023/3/a164303_0s.jpg)
excel 如何快速制作多柱形与折现组合图表 实例教程
![](https://img.aspxhome.com/file/2023/1/a155101_0s.jpg)
苹果macOS Big Sur 11.2 开发者预览版 Beta 发布
![](https://img.aspxhome.com/file/2023/8/a209008_0s.jpeg)
如何将一个文字(Word)档案转换成资料图片( JPEG)格式
![](https://img.aspxhome.com/file/2023/5/23845_0s.jpg)