Highlight options if unsupported product is detected

pull/542/head
WindowsAddict 5 months ago
parent 6c71e82ef3
commit b5a305a14e

@ -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
)

Loading…
Cancel
Save