diff options
| author | WindowsAddict <[email protected]> | 2025-07-18 00:27:13 +0530 |
|---|---|---|
| committer | WindowsAddict <[email protected]> | 2025-07-18 00:27:13 +0530 |
| commit | 10b6e8b6dc537f56eb2867998171586b8503b966 (patch) | |
| tree | 3b531252a4412658bc596ff7300850dc1d8f2b9a /MAS/All-In-One-Version-KL | |
| parent | cb36c19f011f127226aaae954201ce51f4e5fc3e (diff) | |
| download | Microsoft-Activation-Scripts-10b6e8b6dc537f56eb2867998171586b8503b966.zip | |
Show Ohook in green if O365 is installed
Diffstat (limited to 'MAS/All-In-One-Version-KL')
| -rw-r--r-- | MAS/All-In-One-Version-KL/MAS_AIO.cmd | 2 |
1 files changed, 2 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 37d79c8..0ed6507 100644 --- a/MAS/All-In-One-Version-KL/MAS_AIO.cmd +++ b/MAS/All-In-One-Version-KL/MAS_AIO.cmd @@ -415,6 +415,8 @@ if %winbuild% GEQ 19041 if %winbuild% LEQ 19045 set _ohookgo= if defined _serexist set _ohookgo=
if defined _evalexist set _ohookgo=
if defined _ltscexist set _ohookgo=
+reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun\Configuration /v ProductReleaseIds %nul2% | find /i "O365" %nul% && set _ohookgo=1
+reg query HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\ClickToRun\Configuration /v ProductReleaseIds %nul2% | find /i "O365" %nul% && set _ohookgo=1
)
if not defined _ohookgo set _tsforgego=1
|
