mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2025-02-11 22:38:35 +01:00
check main domain
This commit is contained in:
parent
63045afc70
commit
af69d79c5c
2 changed files with 6 additions and 2 deletions
|
@ -876,11 +876,13 @@ if !errorlevel!==3 set resfail=1
|
|||
if defined resfail (
|
||||
set error=1
|
||||
for %%# in (
|
||||
live.com
|
||||
microsoft.com
|
||||
login.live.com
|
||||
purchase.mp.microsoft.com
|
||||
licensing.mp.microsoft.com
|
||||
) 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!"
|
||||
set fixes=%fixes% %mas%licensing-servers-issue
|
||||
|
|
|
@ -639,11 +639,13 @@ if !errorlevel!==3 set resfail=1
|
|||
if defined resfail (
|
||||
set error=1
|
||||
for %%# in (
|
||||
live.com
|
||||
microsoft.com
|
||||
login.live.com
|
||||
purchase.mp.microsoft.com
|
||||
licensing.mp.microsoft.com
|
||||
) 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!"
|
||||
set fixes=%fixes% %mas%licensing-servers-issue
|
||||
|
|
Loading…
Add table
Reference in a new issue