1
0
mirror of https://github.com/massgravel/Microsoft-Activation-Scripts.git synced 2024-11-22 14:46:50 +00:00

Highlight options if unsupported product is detected

This commit is contained in:
WindowsAddict 2024-07-31 06:35:36 +05:30
parent 6c71e82ef3
commit b5a305a14e
3 changed files with 11 additions and 2 deletions

@ -161,14 +161,15 @@ if %winbuild% LSS 10240 (
%eline%
echo Unsupported OS version detected [%winbuild%].
echo HWID Activation is supported only for Windows 10/11.
echo Use Online KMS Activation option.
echo:
call :dk_color %Blue% "Use Online KMS Activation option."
goto dk_done
)
if exist "%SystemRoot%\Servicing\Packages\Microsoft-Windows-Server*Edition~*.mum" (
%eline%
echo HWID Activation is not supported for Windows Server.
echo Use KMS38 or Online KMS Activation option.
call :dk_color %Blue% "Use KMS38 or Online KMS Activation option."
goto dk_done
)

@ -167,6 +167,12 @@ if %winbuild% LSS 14393 (
%eline%
echo Unsupported OS version detected [%winbuild%].
echo KMS38 Activation is supported for Windows 10/11/Server, build 14393 and later.
echo:
if %winbuild% LSS 10240 (
call :dk_color %Blue% "Use Online KMS Activation option."
) else (
call :dk_color %Blue% "Use HWID Activation option."
)
goto dk_done
)

@ -161,6 +161,8 @@ if %winbuild% LSS 9200 (
%eline%
echo Unsupported OS version detected [%winbuild%].
echo Ohook Activation is supported on Windows 8 and later and their server equivalent.
echo:
call :dk_color %Blue% "Use Online KMS Activation option."
goto dk_done
)