Click here to Skip to main content
Click here to Skip to main content

Update NAV Server Virus Definition By VBScript

, 30 Dec 2003
Rate this:
Please Sign up or sign in to vote.
Update NAV Virus Defination When the Liveupdate couldn't be used

  Norton Antivirus Server (NAV Server) is for updating the virus definitions and setting the virus checking policy of clients. Keeping the virus definitions fresh would help NAV server to protect all of clients to avoid attacking of virus.

  Sometime, the Internet FTP accesses were forbidden by security Policy. By default live update process of NAV server, it would be depend on the network performance. It could not be implemented smoothly because the Tier1 site could not get enough bandwidth for live update.

  We checked the Symantec Site and found out some special method to update the NAV server.

  The Symantec also supply the ftp://ftp.symantec.compublic/english_us_canada/antivirus_definitions/norton_antivirus/static to download the virus definition data file. The update file is named as navup8.exe. It would be update if new virus definition would be announced. And Extract the navup8.exe to get the virus definition as xxxxx.xdb. Then move the xxxxx.xdb file to the folder that NAV Server would keep the virus definition data files. The default folder is C:\Program Files\SAV.

  Downloading the virus data file would be by Internet Explorer because the firewall just let the passive mode to pass through to get the files as accessing Symantec Site. To avoid security issues confusing, we just wrote script to execute these processes automatically. It would not change any system security setting and get any risk of security.

  The NAV Server update script would be running as following:

1.      Clear the old virus data file – navup8.exe and calling Internet Explorer to download the new one.

2.      Script would input the destination folder and file name automatically

3.      Implement the process of downloading file

4.      Run the DOS command to apply the new virus data definition

For automatic run the script, it would be established a time schedule task on windows 2000

5.      Check the Scheduled Tasks

6.      Check the NAV Server Update Task Properties

7.      At end, please adjust the time when the task would be running. For the better network performance would make the update smoother, it would be set on less users on working time.

Appendix

A. Script Parameters Introduction

1.      Download_Site

Const Download_Site = ftp://ftp.symantec.com/public/english_us_canada/antivirus_definitions/norton_antivirus/navup8.exe define the download file URL. If the URL was changed, you can change this parameter.

2.      Destination

Const Destination = "C:\Program Files\SAV" define the virus data folder of NAV Server. If you didn’t use default setting, you can change this parameter to indicate the folder of NAV server.

3.      tmpDir

Const tmpDir = "D:\navtest\navup8.exe" define the temp folder for download file and script file. If you want to keep these files in other folder, you can change this parameter.

Source File nav8xup.vbs

B. Symantec Detail the updating process without live update

http://www.symantec.com/

 

 

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Johnsonwang

China China
I'm fun about computer science. I would like to improve my skill to solve the real problems.

Comments and Discussions

 
GeneralHelp me please Pinmemberhonzaj3-Mar-04 5:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 31 Dec 2003
Article Copyright 2003 by Johnsonwang
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid