summaryrefslogtreecommitdiff
path: root/MAS
diff options
context:
space:
mode:
authorWindowsAddict2025-05-27 16:34:35 +0000
committerWindowsAddict2025-05-27 16:34:35 +0000
commit8ed0c6874bf63f3b3c9499a7cd7546611f75be02 (patch)
treeb31ce3afb2ec990460d40803b3e6498250070d52 /MAS
parenta99acbb02557409e553f2e2c9cb906b8682cfb04 (diff)
downloadMicrosoft-Activation-Scripts-8ed0c6874bf63f3b3c9499a7cd7546611f75be02.zip
Suggest TSforge for Office where Windows is not supposed to get feature upgrades
Diffstat (limited to 'MAS')
-rw-r--r--MAS/All-In-One-Version-KL/MAS_AIO.cmd9
1 files changed, 9 insertions, 0 deletions
diff --git a/MAS/All-In-One-Version-KL/MAS_AIO.cmd b/MAS/All-In-One-Version-KL/MAS_AIO.cmd
index 9d2c61f..b8026db 100644
--- a/MAS/All-In-One-Version-KL/MAS_AIO.cmd
+++ b/MAS/All-In-One-Version-KL/MAS_AIO.cmd
@@ -396,7 +396,16 @@ if not defined terminal mode 76, 34
if %winbuild% GEQ 10240 if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-Server*Edition~*.mum" if not exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-*EvalEdition~*.mum" set _hwidgo=1
if %winbuild% GTR 14393 if exist "%SysPath%\spp\tokens\skus\EnterpriseSN\" set _hwidgo=
if not defined _hwidgo set _tsforgego=1
+
set _ohookgo=1
+if %winbuild% GEQ 9200 (
+if %winbuild% LSS 10240 set _ohookgo=
+if %winbuild% GEQ 19041 if %winbuild% LEQ 19045 set _ohookgo=
+if exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-Server*Edition~*.mum" set _ohookgo=
+if exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-*EvalEdition~*.mum" set _ohookgo=
+if exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-EnterpriseS*dition~*.mum" set _ohookgo=
+)
+if not defined _ohookgo set _tsforgego=1
echo:
echo: