用于加载部分已检验版本的启动参数
部分已检验版本包含内核和 HAL 的已检验版本,以及操作系统其余部分的免费内部版本。 有关详细信息,请参阅只安装已检验的操作系统和 HAL(适用于 Windows Vista 和更高版本)。
注意
Windows 10 版本 1803 之前的旧版 Windows 上提供已检查的版本。 使用驱动程序验证程序和 GFlags 等工具来检查驱动程序代码。
在 Windows 中配置部分已检验版本
若要配置部分已检验版本,请使用 BCDedit /set 命令和内核和 hal 选项。
以下命令配置一个启动项,以使用内核和硬件抽象层 (HAL) 的已检验版本。
bcdedit /set {18b123cd-2bf6-11db-bfae-00e018e2b8db} kernel ntoskrnl.chk
bcdedit /set {18b123cd-2bf6-11db-bfae-00e018e2b8db} hal halacpi.chk
若要查看命令的结果,请键入 bcdedit /enum。 /enum 选项列出所有启动项。 已修改为使用内核和 HAL 的已检验版本的启动项也已配置为通过串行连接进行内核调试。
## Windows Boot Loader
-------------------
identifier {18b123cd-2bf6-11db-bfae-00e018e2b8db}
device partition=C:
path \Windows\system32\winload.exe
description PartialCheckedBuild
locale en-US
inherit {bootloadersettings}
debugtype serial
debugport 1
baudrate 115200
osdevice partition=C:
systemroot \Windows
kernel ntoskrnl.chk
hal halacpi.chk
resumeobject {d7094401-2641-11db-baba-00e018e2b8db}
nx OptIn
debug Yes