共用方式為


載入部分檢查組建的開機參數

部分檢查的組建包含核取的核心和 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