mirror of
				https://github.com/massgravel/Microsoft-Activation-Scripts.git
				synced 2025-11-04 17:13:24 +08:00 
			
		
		
		
	check main domain
This commit is contained in:
		
							parent
							
								
									63045afc70
								
							
						
					
					
						commit
						af69d79c5c
					
				@ -876,11 +876,13 @@ if !errorlevel!==3 set resfail=1
 | 
				
			|||||||
if defined resfail (
 | 
					if defined resfail (
 | 
				
			||||||
set error=1
 | 
					set error=1
 | 
				
			||||||
for %%# in (
 | 
					for %%# in (
 | 
				
			||||||
 | 
					live.com
 | 
				
			||||||
 | 
					microsoft.com
 | 
				
			||||||
login.live.com
 | 
					login.live.com
 | 
				
			||||||
purchase.mp.microsoft.com
 | 
					purchase.mp.microsoft.com
 | 
				
			||||||
licensing.mp.microsoft.com
 | 
					licensing.mp.microsoft.com
 | 
				
			||||||
) do (
 | 
					) do (
 | 
				
			||||||
findstr /i "%%#" "%SysPath%\drivers\etc\hosts" %nul1% && set "hosfail= [Blocked in Hosts]"
 | 
					findstr /i "%%#" "%SysPath%\drivers\etc\hosts" %nul1% && set "hosfail= [%%# Blocked in Hosts]"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
call :dk_color %Red% "Checking Licensing Servers              [Failed to Connect]!hosfail!"
 | 
					call :dk_color %Red% "Checking Licensing Servers              [Failed to Connect]!hosfail!"
 | 
				
			||||||
set fixes=%fixes% %mas%licensing-servers-issue
 | 
					set fixes=%fixes% %mas%licensing-servers-issue
 | 
				
			||||||
 | 
				
			|||||||
@ -639,11 +639,13 @@ if !errorlevel!==3 set resfail=1
 | 
				
			|||||||
if defined resfail (
 | 
					if defined resfail (
 | 
				
			||||||
set error=1
 | 
					set error=1
 | 
				
			||||||
for %%# in (
 | 
					for %%# in (
 | 
				
			||||||
 | 
					live.com
 | 
				
			||||||
 | 
					microsoft.com
 | 
				
			||||||
login.live.com
 | 
					login.live.com
 | 
				
			||||||
purchase.mp.microsoft.com
 | 
					purchase.mp.microsoft.com
 | 
				
			||||||
licensing.mp.microsoft.com
 | 
					licensing.mp.microsoft.com
 | 
				
			||||||
) do (
 | 
					) do (
 | 
				
			||||||
findstr /i "%%#" "%SysPath%\drivers\etc\hosts" %nul1% && set "hosfail= [Blocked in Hosts]"
 | 
					findstr /i "%%#" "%SysPath%\drivers\etc\hosts" %nul1% && set "hosfail= [%%# Blocked in Hosts]"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
call :dk_color %Red% "Checking Licensing Servers              [Failed to Connect]!hosfail!"
 | 
					call :dk_color %Red% "Checking Licensing Servers              [Failed to Connect]!hosfail!"
 | 
				
			||||||
set fixes=%fixes% %mas%licensing-servers-issue
 | 
					set fixes=%fixes% %mas%licensing-servers-issue
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user