VirtualBox

Changeset 91542 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 4, 2021 2:10:01 PM (3 years ago)
Author:
vboxsync
Message:

Main/Unattended: For upgrading and updating of the final install also put skipping the TPM and secure boot checks in the Windows 11 installer into the registry.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/UnattendedTemplates/win_nt6_unattended.xml

    r91502 r91542  
    165165            <ComputerName>@@VBOX_INSERT_HOSTNAME_WITHOUT_DOMAIN_MAX_15@@</ComputerName>
    166166        </component>
     167
     168        <component name="Microsoft-Windows-Deployment"
     169            processorArchitecture="@@VBOX_INSERT_OS_ARCH_ATTRIB_DQ@@"
     170            publicKeyToken="31bf3856ad364e35" language="neutral"
     171            versionScope="nonSxS">
     172
     173            <!-- Apply registry tweaks in the final Windows install, skipping the checks in the Windows 11 setup program. This means upgrades started in this install will work without compatibility complaints. -->
     174            <RunAsynchronous>
     175                <RunAsynchronousCommand>
     176                    <Order>1</Order>
     177                    <Path>reg.exe add HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig /v BypassCPUCheck /t REG_DWORD /d 1</Path>
     178                    <Description>Windows 11 disable CPU check</Description>
     179                </RunAsynchronousCommand>
     180                <RunAsynchronousCommand>
     181                    <Order>2</Order>
     182                    <Path>reg.exe add HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig /v BypassRAMCheck /t REG_DWORD /d 1</Path>
     183                    <Description>Windows 11 disable RAM check</Description>
     184                </RunAsynchronousCommand>
     185                <RunAsynchronousCommand>
     186                    <Order>3</Order>
     187                    <Path>reg.exe add HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig /v BypassSecureBootCheck /t REG_DWORD /d 1</Path>
     188                    <Description>Windows 11 disable Secure Boot check</Description>
     189                </RunAsynchronousCommand>
     190                <RunAsynchronousCommand>
     191                    <Order>4</Order>
     192                    <Path>reg.exe add HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig /v BypassStorageCheck /t REG_DWORD /d 1</Path>
     193                    <Description>Windows 11 disable Storage check</Description>
     194                </RunAsynchronousCommand>
     195                <RunAsynchronousCommand>
     196                    <Order>5</Order>
     197                    <Path>reg.exe add HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig /v BypassTPMCheck /t REG_DWORD /d 1</Path>
     198                    <Description>Windows 11 disable TPM check</Description>
     199                </RunAsynchronousCommand>
     200            </RunAsynchronous>
     201        </component>
    167202    </settings>
    168203
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette