summaryrefslogtreecommitdiff
path: root/MAS/Separate-Files-Version/Troubleshoot.cmd
diff options
context:
space:
mode:
authorWindowsAddict2025-08-02 22:40:11 +0000
committerWindowsAddict2025-08-02 22:40:11 +0000
commit5e2cc4f5cf79d55f0302bffdb439544480b24d88 (patch)
treebfc4490e3141939f0ee136041c63dd04616f88f6 /MAS/Separate-Files-Version/Troubleshoot.cmd
parentc619a2c3818784fbb645cf42859ea6af61f5063e (diff)
downloadMicrosoft-Activation-Scripts-5e2cc4f5cf79d55f0302bffdb439544480b24d88.zip
Update sandbox detection code
Diffstat (limited to 'MAS/Separate-Files-Version/Troubleshoot.cmd')
-rw-r--r--MAS/Separate-Files-Version/Troubleshoot.cmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/MAS/Separate-Files-Version/Troubleshoot.cmd b/MAS/Separate-Files-Version/Troubleshoot.cmd
index 1aad724..9ce97a2 100644
--- a/MAS/Separate-Files-Version/Troubleshoot.cmd
+++ b/MAS/Separate-Files-Version/Troubleshoot.cmd
@@ -135,7 +135,7 @@ 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.