reg.exedelete"HKLM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\AppCompatFlags\CompatMarkers"/f2>NUL
reg.exedelete"HKLM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\AppCompatFlags\Shared"/f2>NUL
reg.exedelete"HKLM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\AppCompatFlags\TargetVersionUpgradeExperienceIndicators"/f2>NUL
reg.exeadd"HKLM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\AppCompatFlags\HwReqChk"/f/vHwReqChkVars/tREG_MULTI_SZ/s,/d"SQ_SecureBootCapable=TRUE,SQ_SecureBootEnabled=TRUE,SQ_TpmVersion=2,SQ_RamMB=8192,"
reg.exeadd"HKLM\SYSTEM\Setup\MoSetup"/f/vAllowUpgradesWithUnsupportedTPMOrCPU/tREG_DWORD/d1