mirror of
				https://github.com/massgravel/Microsoft-Activation-Scripts.git
				synced 2025-10-31 15:16:56 +01:00 
			
		
		
		
	Update sandbox detection code
This commit is contained in:
		
							parent
							
								
									c619a2c381
								
							
						
					
					
						commit
						5e2cc4f5cf
					
				| @ -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 | ||||
|  | ||||
| @ -173,10 +173,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 | ||||
|  | ||||
| @ -175,7 +175,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; activation is not required. | ||||
|  | ||||
| @ -173,7 +173,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; activation is not required. | ||||
|  | ||||
| @ -204,7 +204,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; activation is not required. | ||||
|  | ||||
| @ -219,7 +219,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; activation is not required. | ||||
|  | ||||
| @ -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. | ||||
|  | ||||
| @ -140,7 +140,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. | ||||
|  | ||||
| @ -134,7 +134,7 @@ call :dk_color2 %Blue% "Check this webpage for help - " %_Yellow% " %mas%trouble | ||||
| goto done2 | ||||
| ) | ||||
| 
 | ||||
| if not exist "%SysPath%\logoff.exe" ( | ||||
| if exist "%Systemdrive%\Users\WDAGUtilityAccount" ( | ||||
| sc query gcs | find /i "RUNNING" %nul% && ( | ||||
| %eline% | ||||
| echo Windows Sandbox detected. | ||||
|  | ||||
| @ -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. | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user