Bypass some system checks, such as TPM and SecureBoot. Close #233

This should help users of Quickemu on distros where OVMF/EDK2/QEMU don't provide a complete SecureBoot with SMM capability, such as Arch Linux, to successfully install Windows 11.
pull/279/head
Martin Wimpress 3 years ago committed by Martin Wimpress
parent 9750a9291a
commit 8bfe13f5c5
  1. 18
      quickget

@ -1341,6 +1341,24 @@ function unattended_windows() {
<InstallToAvailablePartition>false</InstallToAvailablePartition> <InstallToAvailablePartition>false</InstallToAvailablePartition>
</OSImage> </OSImage>
</ImageInstall> </ImageInstall>
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>reg add HKLM\System\Setup\LabConfig /v BypassCPUCheck /t REG_DWORD /d 0x00000001 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>2</Order>
<Path>reg add HKLM\System\Setup\LabConfig /v BypassRAMCheck /t REG_DWORD /d 0x00000001 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>3</Order>
<Path>reg add HKLM\System\Setup\LabConfig /v BypassSecureBootCheck /t REG_DWORD /d 0x00000001 /f</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>4</Order>
<Path>reg add HKLM\System\Setup\LabConfig /v BypassTPMCheck /t REG_DWORD /d 0x00000001 /f</Path>
</RunSynchronousCommand>
</RunSynchronous>
<UpgradeData> <UpgradeData>
<Upgrade>false</Upgrade> <Upgrade>false</Upgrade>
<WillShowUI>Never</WillShowUI> <WillShowUI>Never</WillShowUI>

Loading…
Cancel
Save