Click here to Skip to main content
13,258,055 members (75,331 online)
Click here to Skip to main content
Add your own
alternative version


13 bookmarked
Posted 30 Dec 2003

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. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p>

  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.<o:p>

  We checked the Symantec Site and found out some special method to update the NAV server.<o:p>

  The Symantec also supply the 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.<o:p>

  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.<o:p>

  The NAV Server update script would be running as following:<o:p>

1.      Clear the old virus data file – navup8.exe and calling Internet Explorer to download the new one.<o:p>

<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:shapetype id=_x0000_t75 coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><v:stroke joinstyle="miter"><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"><v:f eqn="sum @0 1 0"><v:f eqn="sum 0 0 @1"><v:f eqn="prod @2 1 2"><v:f eqn="prod @3 21600 pixelWidth"><v:f eqn="prod @3 21600 pixelHeight"><v:f eqn="sum @0 0 1"><v:f eqn="prod @6 1 2"><v:f eqn="prod @7 21600 pixelWidth"><v:f eqn="sum @8 21600 0"><v:f eqn="prod @7 21600 pixelHeight"><v:f eqn="sum @10 21600 0"><v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"><o:lock v:ext="edit" aspectratio="t"><o:p>

2.      Script would input the destination folder and file name automatically<o:p>


3.      Implement the process of downloading file<o:p>


4.      Run the DOS command to apply the new virus data definition<o:p>

For automatic run the script, it would be established a time schedule task on windows 2000<o:p>

5.      Check the Scheduled Tasks<o:p>


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.<o:p>


A. Script Parameters Introduction<o:p>

1.      Download_Site<o:p>

Const Download_Site = define the download file URL. If the URL was changed, you can change this parameter.<o:p>

2.      Destination<o:p>

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.<o:p>

3.      tmpDir<o:p>

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.<o:p>

Source File nav8xup.vbs<o:p>

<v:shape id=_x0000_i1033 style="WIDTH: 60pt; HEIGHT: 38.25pt" type="#_x0000_t75" o:ole=""><v:imagedata src="file:///C:\DOCUME~1\JOHNSO~1\LOCALS~1\Temp\msohtml1\01\clip_image017.wmz" o:title=""><o:p>

B. Symantec Detail the updating process without live update<o:p><o:p>




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

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

You may also be interested in...


Comments and Discussions

GeneralHelp me please Pin
honzaj3-Mar-04 6:12
memberhonzaj3-Mar-04 6:12 

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

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

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.171114.1 | Last Updated 31 Dec 2003
Article Copyright 2003 by Johnsonwang
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid