diff options
| author | WindowsAddict | 2025-08-02 20:15:30 +0000 |
|---|---|---|
| committer | WindowsAddict | 2025-08-02 20:15:30 +0000 |
| commit | e476ac66a45db32b289179d7c016f2cd4ed4601a (patch) | |
| tree | dc931d0d9cf924ba8f3ad13fa7912cb5a262aef9 /MAS/Separate-Files-Version/Troubleshoot.cmd | |
| parent | dba7213a91d6ee8d206fe515a5e0a971a1e96de7 (diff) | |
| download | Microsoft-Activation-Scripts-e476ac66a45db32b289179d7c016f2cd4ed4601a.zip | |
Detect Windows Sandbox
Diffstat (limited to 'MAS/Separate-Files-Version/Troubleshoot.cmd')
| -rw-r--r-- | MAS/Separate-Files-Version/Troubleshoot.cmd | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/MAS/Separate-Files-Version/Troubleshoot.cmd b/MAS/Separate-Files-Version/Troubleshoot.cmd index ac66d6e..8372a1b 100644 --- a/MAS/Separate-Files-Version/Troubleshoot.cmd +++ b/MAS/Separate-Files-Version/Troubleshoot.cmd @@ -135,6 +135,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 6001 (
%nceline%
echo Unsupported OS version detected [%winbuild%].
|
