Highlight options if unsupported product is detected

Cette révision appartient à :
WindowsAddict 2024-07-31 06:35:36 +05:30
Parent 6c71e82ef3
révision b5a305a14e
3 fichiers modifiés avec 11 ajouts et 2 suppressions

Voir le fichier

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

Voir le fichier

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

Voir le fichier

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