From 82bccfc43de73a8e1930f8a3524e8133b8ba223a Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 18 Jan 2024 19:11:59 +0100 Subject: [PATCH] feat: Disable hardware checks (#52) --- assets/win11x64.xml | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/assets/win11x64.xml b/assets/win11x64.xml index 241b12d..300496a 100644 --- a/assets/win11x64.xml +++ b/assets/win11x64.xml @@ -89,6 +89,24 @@ true false + + + 1 + reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassTPMCheck /t REG_DWORD /d 1 /f + + + 2 + reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassSecureBootCheck /t REG_DWORD /d 1 /f + + + 3 + reg.exe add "HKLM\SYSTEM\Setup\LabConfig" /v BypassRAMCheck /t REG_DWORD /d 1 /f + + + 4 + reg.exe add "HKLM\SYSTEM\Setup\MoSetup" /v AllowUpgradesWithUnsupportedTPMOrCPU /t REG_DWORD /d 1 /f + + @@ -264,6 +282,7 @@ 3 true true + true @@ -278,12 +297,20 @@ 3 + reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV1 /d 0 /t REG_DWORD /f + + + 4 + reg.exe add "HKCU\Control Panel\UnsupportedHardwareNotificationCache" /v SV2 /d 0 /t REG_DWORD /f + + + 5 false cmd /C wmic useraccount where name="Docker" set PasswordExpires=false Password Never Expires - 4 + 6 msiexec /i E:\virtio-win-gt-x64.msi /qb! Install VirtIO drivers