windows: 只在单核时才改动 win11 的 InstallationType

This commit is contained in:
bin456789
2024-06-14 21:45:26 +08:00
parent d99fe2e480
commit a4d65cb737
3 changed files with 13 additions and 5 deletions

View File

@ -108,6 +108,11 @@ move /y %tempFile% %file%
rename X:\setup.exe.disabled setup.exe
rem https://github.com/pbatard/rufus/issues/1990
for %%a in (RAM TPM SecureBoot) do (
reg add HKLM\SYSTEM\Setup\LabConfig /t REG_DWORD /v Bypass%%aCheck /d 1 /f
)
rem 设置
set EnableEMS=0
set ForceOldSetup=1