::Manually download virus database package to update kav7 s11ss@www.cn-dos.net 2008-3-11
@echo off
echo 1. Open the main interface of Kaspersky program, click "Settings" in the lower left corner, then click "Services" and remove the check mark in front of "Enable Self-Protection".
:s
set/p s=OK?(y/n)
if /i "%s%" equ "N" goto :s
echo 2. Download the two virus database packages av-i386-cumul.zip and av-i386-daily.zip to the root directory of drive C
echo ftp://ftp.kaspersky.com/zips/av-i386-cumul.zip
echo ftp://ftp.kaspersky.com/zips/av-i386-daily.zip
set/p s=Have you finished downloading with the download software? (y/n)
if /i "%s%" equ "y" goto :s3
ping www.baidu.com -n 2 >nul||(echo Network is not connected!&pause>nul&exit/b)
set/p s=Please download the file av-i386-cumul.zip to the root directory of drive C and do not rename it. Is it confirmed? (y/n)
if /i "%s%" equ "N" exit/b
explorer ftp://ftp.kaspersky.com/zips/av-i386-cumul.zip
:s1
set/p s=Please confirm that av-i386-cumul.zip has been downloaded completely (y/n)
if /i "%s%" equ "N" goto :s1
set/p s=Please download the file av-i386-daily.zip to the root directory of drive C and do not rename it. Is it confirmed? (y/n)
if /i "%s%" equ "N" exit/b
explorer ftp://ftp.kaspersky.com/zips/av-i386-daily.zip
:s2
set/p s=Please confirm that av-i386-daily.zip has been downloaded completely (y/n)
if /i "%s%" equ "N" goto :s2
:s3
echo 3. First unzip av-i386-cumul.zip in overwrite mode, then unzip av-i386-daily.zip
if not exist c:\av-i386-cumul.zip echo c:\av-i386-cumul.zip does not exist&pause>nul&exit/b
if not exist c:\av-i386-daily.zip echo c:\av-i386-daily.zip does not exist&pause>nul&exit/b
for /f "skip=4 tokens=1,2*" %%a in ('reg query hklm\software\classes\.rar\shellnew') do set p=%%c
set winrar="%p:rarnew.dat=winrar.exe%"
if not exist %winrar% echo WinRar.exe does not exist, please unzip it yourself!&pause>nul&exit/b
for /f "skip=4 tokens=1,2*" %%a in ('reg query HKEY_LOCAL_MACHINE\SOFTWARE\KasperskyLab\protected\AVP7\environment /v dataroot') do set kav7="%%c\Bases"
%winrar% x -o+ c:\av-i386-cumul.zip %kav7%
%winrar% x -o+ c:\av-i386-daily.zip %kav7%
echo 4. Right-click the Kaspersky icon in the lower right corner, select "Exit", then run the Kaspersky program from "Start" menu - "Programs".
pause>nul
echo 5. Open the main interface of Kaspersky program, click "Settings" in the lower left corner, then click "Services" and put a check mark in front of "Enable Self-Protection".
pause>nul
exit/b
Reference network article:
1. Open the main interface of Kaspersky program, click "Settings" in the lower left corner, then click "Services" and remove the check mark in front of "Enable Self-Protection".
2. Click the following two links to download the two virus database packages av-i386-cumul.zip and av-i386-daily.zip
ftp://ftp.kaspersky.com/zips/av-i386-cumul.zip
ftp://ftp.kaspersky.com/zips/av-i386-daily.zip
3. Unzip the downloaded two compressed packages in sequence to the following directory C:\Documents and Settings\All Users\Application Data\Kaspersky Lab\AVP7\Bases, and overwrite the files in it. (Note: Be sure to unzip av-i386-cumul.zip first, then unzip av-i386-daily.zip)
4. Right-click the Kaspersky icon in the lower right corner, select "Exit", then run the Kaspersky program from "Start" menu - "Programs".
5. Open the main interface of Kaspersky program, click "Settings" in the lower left corner, then click "Services" and put a check mark in front of "Enable Self-Protection".