-
-
Save jamesbrink/87ff010c49221741d92c9ece25c77e84 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\Setup\MoSetup" /v AllowUpgradesWithUnsupportedTPMOrCPU /t REG_DWORD /d 1 /f | |
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig" /v BypassTPMCheck /t REG_DWORD /d 1 /f | |
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig" /v BypassSecureBootCheck /t REG_DWORD /d 1 /f | |
:: Download Windows 11 ISO using curl (run in PowerShell or Command Prompt) | |
curl -L -o Win11.iso "https://software-download.microsoft.com/download/sg/444969d5-f34g-4e03-ac9d-1f9786c69161/202111191455.0_x64.iso" | |
:: Mount the ISO | |
powershell -command "Mount-DiskImage -ImagePath (Join-Path $pwd 'Win11.iso')" | |
:: Bypass TPM checks (run all these in sequence) | |
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\Setup\MoSetup" /v AllowUpgradesWithUnsupportedTPMOrCPU /t REG_DWORD /d 1 /f | |
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig" /v BypassTPMCheck /t REG_DWORD /d 1 /f | |
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig" /v BypassSecureBootCheck /t REG_DWORD /d 1 /f | |
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig" /v BypassRAMCheck /t REG_DWORD /d 1 /f | |
:: Start the upgrade (assuming E: is the mounted ISO drive - adjust if different) | |
E:\setup.exe /auto upgrade /dynamicupdate disable /showoobe none /compat ignorewarning /migratedrivers all /telemetry disable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment