From 1550caf4429239c9d28e4ce1a706ece344a2e254 Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 23 May 2023 21:48:23 +0200 Subject: [PATCH] autounattend: add Bypass*Check At least the TPM2.0 is missing from our qemu run but Windows 11's error message doesn't reveal what else is missing. It is therefore hard to estimate the work to do this properly. --- wfvm/autounattend.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/wfvm/autounattend.nix b/wfvm/autounattend.nix index 6936717..d444ab5 100644 --- a/wfvm/autounattend.nix +++ b/wfvm/autounattend.nix @@ -148,6 +148,28 @@ let + + + 1 + reg add HKLM\System\Setup\LabConfig /v BypassTPMCheck /t reg_dword /d 0x00000001 /f + + + 2 + reg add HKLM\System\Setup\LabConfig /v BypassSecureBootCheck /t reg_dword /d 0x00000001 /f + + + 3 + reg add HKLM\System\Setup\LabConfig /v BypassRAMCheck /t reg_dword /d 0x00000001 /f + + + 5 + reg add HKLM\System\Setup\LabConfig /v BypassCPUCheck /t reg_dword /d 0x00000001 /f + + + 4 + reg add HKLM\System\Setup\LabConfig /v BypassStorageCheck /t reg_dword /d 0x00000001 /f + +