mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2024-12-23 03:27:53 +01:00
Add a check for old renewal task detection
This commit is contained in:
parent
5d47723d07
commit
8b58696455
@ -350,6 +350,11 @@ echo:
|
|||||||
echo:
|
echo:
|
||||||
echo:
|
echo:
|
||||||
echo:
|
echo:
|
||||||
|
if exist "%ProgramFiles%\Activation-Renewal\Activation_task.cmd" (
|
||||||
|
find /i "Ver:2.7" "%ProgramFiles%\Activation-Renewal\Activation_task.cmd" %nul% || (
|
||||||
|
call :dk_color %_Yellow% " Old renewal task found, run activation to update it."
|
||||||
|
)
|
||||||
|
)
|
||||||
echo ______________________________________________________________
|
echo ______________________________________________________________
|
||||||
echo:
|
echo:
|
||||||
echo [1] Activate - Windows
|
echo [1] Activate - Windows
|
||||||
@ -1945,6 +1950,7 @@ if [%KMS_IP%]==[!KMS_IP!] for /f "delims=[] tokens=2" %%# in ('pathping -4 -h 1
|
|||||||
if not [%KMS_IP%]==[!KMS_IP!] exit /b
|
if not [%KMS_IP%]==[!KMS_IP!] exit /b
|
||||||
goto :_taskgetserv
|
goto :_taskgetserv
|
||||||
)
|
)
|
||||||
|
::Ver:2.7
|
||||||
:_extracttask:
|
:_extracttask:
|
||||||
|
|
||||||
::========================================================================================================================================
|
::========================================================================================================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user