Friday, August 19, 2005

Installations and Virus Scan Applications

We have McAfee VirusScan Enterprise and there seems to be both taking longer to install applications like AutoCAD and ADT when the On-Access Scan is active and there might even be some problems that are related to having the VirusScan on during the installation. The problem is that policies are checking of VirusScan is off and puts in on again after a minute or two. What I did was the following. I have a VBScript that runs the installation including several settings and other customizations. The first thing I do is to run another VBScript using: WshShell.Run """\\share\StopVirusScan.vbs""",1,False "False" in the above row is used to allow the main script to continue. Below is the content of StopVirusScan.vbs:

on error resume next Set WshShell = CreateObject("WScript.Shell") for i=1 to 20 WshShell.Run "net stop ""Network Associates McShield""",0,True WScript.sleep 60000 next

It loops several times and every minute it stops the service for the VirusScan. This continues long enough for the installation to take place.

1 comment:

  1. Restored comments

    Anonymous said...

    What happens if you install via group policy? Does Mcafee interfeer with group policy installs?
    August 19, 2005

    JTB World said...

    I've never installed using GPO's. Hopefully someone else can answer that question.
    August 20, 2005

    ReplyDelete

Some of the latest blog posts

Subscribe to RSS headline updates from:
Powered by FeedBurner

Contact Us | About JTB World | Subscribe to this blog
JTB World's website | Website General Terms of Use | Privacy Policy
^ Top of page

© 2004- JTB World. All rights reserved.