Update sandbox detection code

This commit is contained in:
2025-08-03 04:10:11 +05:30
parent c619a2c381
commit 5e2cc4f5cf
10 changed files with 12 additions and 12 deletions

View File

@@ -143,10 +143,10 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble
goto dk_done
)
if not exist "%SysPath%\logoff.exe" (
if exist "%Systemdrive%\Users\WDAGUtilityAccount" (
sc query gcs | find /i "RUNNING" %nul% && (
%eline%
echo Windows Sandbox detected; activation is not required.
echo Windows Sandbox detected; activation is not supported.
echo The script cannot run due to missing licensing components. Aborting...
echo:
goto dk_done