How to automatically update Symantec AntiVirus Corporate Edition definitions

编程入门 行业动态 更新时间:2024-10-24 18:18:21

 

Question/Issue:
Your primary Symantec AntiVirus Corporate Edition server cannot automatically download virus definitions using LiveUpdate. Alternately, you want to automate the process of downloading the daily definitions update download by using an FTP script.
Solution:
Download and modify the attached Cegetter.bat and Cescript.txt files, and then use the Windows Task Scheduler to schedule them to download daily virus definition updates.

Notes:
  • These files are provided as an example to assist administrators with downloading the virus definitions without using LiveUpdate. Symantec does not provide technical support for these files, so use them at your own risk.
    The location of the files downloaded by these files may change, causing the updates to fail. In this case, you may need to manually edit the files to point to the new location or refer back to this document for updated versions of the attached files.
  • Cescript.txt was last updated on February 8, 2005. If you are using a previous copy of Cescript, replace it with the current file attached to this document. For additional information about recent changes to the file, read the article Cegetter.bat fails to download daily virus definitions after February 8, 2005.
  • There are different Cegetter files for Symantec AntiVirus and Norton AntiVirus Corporate Edition 7.x. Read the article How to automatically update Norton AntiVirus Corporate Edition 7.x Definitions without using LiveUpdate if you need to update definitions with Norton AntiVirus Corporate Edition 7.x.
  • Read the article

  • How to update virus definitions for Symantec AntiVirus Corporate Edition for a description of other supported update options for Symantec AntiVirus.

Download the
Cegetter.bat and Cescript.txt files.
  • You must modify the Cegetter.bat to copy definitions to the directory where Symantec AntiVirus Corporate Edition is installed on the Primary Symantec AntiVirus Server.
  •  

  • Both the Cegetter.bat and Cescript.txt should be stored on the root of the Windows boot drive on the computer where it will be executed. If Windows is installed on a drive other than C:, edit the Cescript.txt file to change the drive letter. See the section below titled "To modify the Cescript.txt file to reflect the proper drive letter."
To modify Cegetter.bat to run from the Primary Server
If you plan to schedule and execute Cegetter.bat on the Primary Server, use the following procedure. If you plan to run Cegetter.bat on a computer that is not the Primary Server, skip to the section "To modify Cegetter.bat to run from a computer that is not the Primary Server."
  1. Right-click the Cegetter.bat file, and click Edit.
  2. Find the following line in the Cegetter.bat file:

    move %systemdrive%\*.xdb <path>
  3. If you are using Windows 2000, XP, or 2003, add the characters /y after the word move. The line should look like the following:
    move /y %systemdrive%\*.xdb <path>
    If you are using Windows NT 4.0, do not add /y.
  4. Replace <path> with the path to the folder in which Symantec AntiVirus Corporate Edition is installed. The default path depends on the version of Symantec AntiVirus:
    • Symantec AntiVirus Corporate Edition 8.x:
      C:\Program Files\SAV
    • Symantec AntiVirus Corporate Edition 9.x:
      C:\Program Files\Symantec AntiVirus
      If long path names are used, then make sure to enclose all path names in quotations, as shown in the Examples section.
  5. Test Cegetter.bat by executing each command, line by line, from a command prompt.
    A DOS window shows the progress of the download.
  6.  

  1. Schedule Cegetter.bat to get regular definition updates. Cegetter will download the version of Navup8.exe that is released daily.

Examples
The Cegetter.bat file should appear as follows if Symantec AntiVirus Corporate Edition 8.x was installed to the default path:
ftp -s:cescript.txt
call "%systemdrive%\navup8.exe"
move %systemdrive%\*.xdb "C:\Program Files\SAV"
del /q %systemdrive%\navup8.exe
The Cegetter.bat file should appear as follows if Symantec AntiVirus Corporate Edition 9.x was installed to the default path:
ftp -s:cescript.txt
call "%systemdrive%\navup8.exe"
move %systemdrive%\*.xdb "C:\Program Files\Symantec AntiVirus"
del /q %systemdrive%\navup8.exe
To modify Cegetter.bat to run from a computer that is not the Primary Server
  1. Right-click the Cegetter.bat file, and click Edit.
  2. Find the following line in the Cegetter.bat file:
    move %systemdrive%\*.xdb <path>
  3. If you are using Windows 2000, XP, or 2003, add the characters /y after the word move. The line should look like the following:
    move /y %systemdrive%\*.xdb <path>
    If you are using Windows NT 4.0, do not add /y.
  4.  

  1. Change <path> to the directory where Symantec AntiVirus Corporate Edition is installed on the Primary Server. By default, this directory is shared as VPHOME.
Note: <path> can be a mapped drive to the Primary Server or a UNC path. Symantec recommends using short file names. For example, if the server is mapped as drive x, you could use the following line:
move %systemdrive%\*.xdb x:\VPHOME
You can also specify a UNC path such as the example below, where you replace <server name> with the name or IP address of the Primary Server:
move %systemdrive%\*.xdb \\<server name>\VPHOME

To copy files into the VPHOME share, change the share permissions to allow access (Full Control) to the account that Cegetter is running under. The default permissions on that share is "Read" for "Everyone."
  1. If you are running Windows 95/98/Me, then remove the "/q" from the following line:
    del /q %systemdrive%\navup8.exe
  2. Test Cegetter.bat by executing each command, line by line, from a command prompt.
    A DOS window shows the progress of the download.
  3.  

  1. Schedule Cegetter.bat to get regular definition updates. Cegetter will download the version of Navup8.exe that is released daily.

To modify the Cescript.txt file to reflect the correct drive letter
  1. Right-click the Cescript.txt file, and then click Edit.
  2. Find the following line in the Cescript.txt file:
    lcd C:\
  3. Change the C to the drive letter of the drive where Windows is installed.
  4.  

  1. Save your changes.

Common problems and solutions
  • Incorrect path: Verify that the path to the directory where Symantec AntiVirus Corporate Edition is installed is correct. The file path should use short file names (DOS). If using long file names, enclose the path in quotation marks.
  • Proxy or firewall issues: If you are using a proxy or firewall that blocks FTP communications, Cegetter will not work. You must allow FTP traffic for the FTP session to succeed. If your proxy or firewall requires authentication, be sure to run the scheduled event using a user name and password that will authenticate and allow access.
  • Permissions: Verify that you can copy the .XDB file into the location on the Primary Server under the account that Cegetter is scheduled with.
  • Running under Windows 95/98/Me: A modified Cegetter.bat file is needed to run under Windows 95/98/Me. For additional information, read the document entitled Error: "File not found - C:\temp\*.vdb - 0 file(s) copied" when using Cegetter.bat to update virus definitions.
    Edit Cegetter.bat to contain the following text:
    ftp -s:cescript.txt
    choice /n/t:c,30/c:cc
    "%systemdrive%\navup8.exe"
    choice /n/t:c,30/c:cc
    move %systemdrive%\*.xdb <path>
    del %systemdrive%\navup8.exe

转载于:https://blog.51cto/lzy821218/274706

更多推荐

How to automatically update Symantec AntiVirus Corporate Edition definitions

本文发布于:2023-06-14 01:36:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1423303.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Symantec   update   automatically   AntiVirus   definitions

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!