mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2025-08-03 22:01:06 +00:00
Detect Windows Sandbox
This commit is contained in:
parent
dba7213a91
commit
e476ac66a4
|
@ -143,6 +143,16 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if not exist "%SysPath%\logoff.exe" (
|
||||||
|
sc query gcs | find /i "RUNNING" %nul% && (
|
||||||
|
%eline%
|
||||||
|
echo Windows Sandbox detected; activation is not required.
|
||||||
|
echo The script cannot run due to missing licensing components. Aborting...
|
||||||
|
echo:
|
||||||
|
goto dk_done
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
if %winbuild% LSS 6001 (
|
if %winbuild% LSS 6001 (
|
||||||
%nceline%
|
%nceline%
|
||||||
echo Unsupported OS version detected [%winbuild%].
|
echo Unsupported OS version detected [%winbuild%].
|
||||||
|
|
|
@ -173,6 +173,16 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if not exist "%SysPath%\logoff.exe" (
|
||||||
|
sc query gcs | find /i "RUNNING" %nul% && (
|
||||||
|
%eline%
|
||||||
|
echo Windows Sandbox detected; activation is not required.
|
||||||
|
echo The script cannot run due to missing licensing components. Aborting...
|
||||||
|
echo:
|
||||||
|
goto dk_done
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
if %winbuild% LSS 10240 (
|
if %winbuild% LSS 10240 (
|
||||||
%eline%
|
%eline%
|
||||||
echo Unsupported OS version detected [%winbuild%].
|
echo Unsupported OS version detected [%winbuild%].
|
||||||
|
|
|
@ -175,6 +175,16 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if not exist "%SysPath%\logoff.exe" (
|
||||||
|
sc query gcs | find /i "RUNNING" %nul% && (
|
||||||
|
%eline%
|
||||||
|
echo Windows Sandbox detected; activation is not required.
|
||||||
|
echo The script cannot run due to missing licensing components. Aborting...
|
||||||
|
echo:
|
||||||
|
goto dk_done
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
if %winbuild% LSS 14393 (
|
if %winbuild% LSS 14393 (
|
||||||
%eline%
|
%eline%
|
||||||
echo Unsupported OS version detected [%winbuild%].
|
echo Unsupported OS version detected [%winbuild%].
|
||||||
|
|
|
@ -173,6 +173,16 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if not exist "%SysPath%\logoff.exe" (
|
||||||
|
sc query gcs | find /i "RUNNING" %nul% && (
|
||||||
|
%eline%
|
||||||
|
echo Windows Sandbox detected; activation is not required.
|
||||||
|
echo The script cannot run due to missing licensing components. Aborting...
|
||||||
|
echo:
|
||||||
|
goto dk_done
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
if %winbuild% LSS 6001 (
|
if %winbuild% LSS 6001 (
|
||||||
%nceline%
|
%nceline%
|
||||||
echo Unsupported OS version detected [%winbuild%].
|
echo Unsupported OS version detected [%winbuild%].
|
||||||
|
|
|
@ -204,6 +204,16 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if not exist "%SysPath%\logoff.exe" (
|
||||||
|
sc query gcs | find /i "RUNNING" %nul% && (
|
||||||
|
%eline%
|
||||||
|
echo Windows Sandbox detected; activation is not required.
|
||||||
|
echo The script cannot run due to missing licensing components. Aborting...
|
||||||
|
echo:
|
||||||
|
goto dk_done
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
if %winbuild% LSS 6001 (
|
if %winbuild% LSS 6001 (
|
||||||
%nceline%
|
%nceline%
|
||||||
echo Unsupported OS version detected [%winbuild%].
|
echo Unsupported OS version detected [%winbuild%].
|
||||||
|
|
|
@ -219,6 +219,16 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if not exist "%SysPath%\logoff.exe" (
|
||||||
|
sc query gcs | find /i "RUNNING" %nul% && (
|
||||||
|
%eline%
|
||||||
|
echo Windows Sandbox detected; activation is not required.
|
||||||
|
echo The script cannot run due to missing licensing components. Aborting...
|
||||||
|
echo:
|
||||||
|
goto dk_done
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
if %winbuild% LSS 6001 (
|
if %winbuild% LSS 6001 (
|
||||||
%nceline%
|
%nceline%
|
||||||
echo Unsupported OS version detected [%winbuild%].
|
echo Unsupported OS version detected [%winbuild%].
|
||||||
|
|
|
@ -135,6 +135,16 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if not exist "%SysPath%\logoff.exe" (
|
||||||
|
sc query gcs | find /i "RUNNING" %nul% && (
|
||||||
|
%eline%
|
||||||
|
echo Windows Sandbox detected; activation is not required.
|
||||||
|
echo The script cannot run due to missing licensing components. Aborting...
|
||||||
|
echo:
|
||||||
|
goto dk_done
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
if %winbuild% LSS 7600 (
|
if %winbuild% LSS 7600 (
|
||||||
%eline%
|
%eline%
|
||||||
echo Unsupported OS version detected [%winbuild%].
|
echo Unsupported OS version detected [%winbuild%].
|
||||||
|
|
|
@ -140,6 +140,16 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if not exist "%SysPath%\logoff.exe" (
|
||||||
|
sc query gcs | find /i "RUNNING" %nul% && (
|
||||||
|
%eline%
|
||||||
|
echo Windows Sandbox detected; activation is not required.
|
||||||
|
echo The script cannot run due to missing licensing components. Aborting...
|
||||||
|
echo:
|
||||||
|
goto dk_done
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
if %winbuild% LSS 7600 (
|
if %winbuild% LSS 7600 (
|
||||||
%eline%
|
%eline%
|
||||||
echo Unsupported OS version detected [%winbuild%].
|
echo Unsupported OS version detected [%winbuild%].
|
||||||
|
|
|
@ -134,6 +134,16 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
|
||||||
goto done2
|
goto done2
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if not exist "%SysPath%\logoff.exe" (
|
||||||
|
sc query gcs | find /i "RUNNING" %nul% && (
|
||||||
|
%eline%
|
||||||
|
echo Windows Sandbox detected; activation is not required.
|
||||||
|
echo The script cannot run due to missing licensing components. Aborting...
|
||||||
|
echo:
|
||||||
|
goto done2
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
if %winbuild% LSS 6001 (
|
if %winbuild% LSS 6001 (
|
||||||
%nceline%
|
%nceline%
|
||||||
echo Unsupported OS version detected [%winbuild%].
|
echo Unsupported OS version detected [%winbuild%].
|
||||||
|
|
|
@ -135,6 +135,16 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
|
||||||
goto dk_done
|
goto dk_done
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if not exist "%SysPath%\logoff.exe" (
|
||||||
|
sc query gcs | find /i "RUNNING" %nul% && (
|
||||||
|
%eline%
|
||||||
|
echo Windows Sandbox detected; activation is not required.
|
||||||
|
echo The script cannot run due to missing licensing components. Aborting...
|
||||||
|
echo:
|
||||||
|
goto dk_done
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
if %winbuild% LSS 6001 (
|
if %winbuild% LSS 6001 (
|
||||||
%nceline%
|
%nceline%
|
||||||
echo Unsupported OS version detected [%winbuild%].
|
echo Unsupported OS version detected [%winbuild%].
|
||||||
|
|
Loading…
Reference in a new issue