l198881
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
2 deletions
-
MAS_1.4/Separate-Files-Version/Activators/Online_KMS_Activation/Activate.cmd
|
|
|
@ -486,7 +486,7 @@ goto :testserv |
|
|
|
|
|
|
|
:testserv |
|
|
|
set /a server_num+=1 |
|
|
|
%_psc% "$t = New-Object Net.Sockets.TcpClient;try{$t.Connect("""%KMS_IP%""", 1688)}catch{};$t.Connected" | findstr /i true 1>nul |
|
|
|
pathping -h 1 -n -p 1 -q 1 -w 1 %KMS_IP% 1>nul Net.Sockets.TcpClient;try{$t.Connect("""%KMS_IP%""", 1688)}catch{};$t.Connected" | findstr /i true 1>nul |
|
|
|
if %errorlevel% NEQ 0 ( |
|
|
|
goto :server |
|
|
|
) else ( |
|
|
|
@ -2385,3 +2385,4 @@ if %Unattend% EQU 0 echo Press any key to exit. |
|
|
|
exit /b 0 |
|
|
|
|
|
|
|
::======================================================================================================================================== |
|
|
|
|
|
|
|
|