Windows安装技巧
跳过硬件检测
安装过程中Shift + F11
调出命令行,打开regedit
并创建
Computer/HKEY_LOCAL_MACHINE/SYSTEM/Setup/LabConfig
参考值
Name | Type | Data |
---|---|---|
BypassRAMCheck | REG_DWORD | 0x1 |
BypassCPUheck | REG_DWORD | 0x1 |
BypassTPMCheck | REG_DWORD | 0x1 |
BypassSecureBootCheck | REG_DWORD | 0x1 |
跳过初始化
OOBE阶段调出命令行start ms-cxh:localonly
重建EFI引导
bcdboot C:\Windows /f UEFI /s S: /v
# /d specifies that the existing default windows boot entry should be preserved
杂谈
ESP分区可以不位于磁盘头部,对于已安装的系统支持在尾部压缩出一个新分区作为ESP分区使用。
参考
How to bypass TPM 2.0 requirement for Win11 Installation Assistant? : r/WindowsHelp
Windows 11 Bypass OOBE When bypassNRO Doesn't Do the Trick : r/sysadmin
Dual boot - 2 windows instances - add EFI to secondary drive - Super User
BCDBoot Command-Line Options | Microsoft Learn