mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2025-12-05 03:34:54 +01:00
Detect Windows Sandbox
This commit is contained in:
parent
dba7213a91
commit
e476ac66a4
10 changed files with 100 additions and 0 deletions
|
|
@ -140,6 +140,16 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
|
|||
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 (
|
||||
%eline%
|
||||
echo Unsupported OS version detected [%winbuild%].
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue