1
0
mirror of https://github.com/massgravel/Microsoft-Activation-Scripts.git synced 2024-12-22 17:51:03 +00:00

Add a check for old renewal task detection

This commit is contained in:
WindowsAddict 2024-07-23 06:54:47 +05:30
parent 5d47723d07
commit 8b58696455

View File

@ -350,6 +350,11 @@ 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 [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
goto :_taskgetserv
)
::Ver:2.7
:_extracttask:
::========================================================================================================================================