1 Reply Latest reply on Aug 7, 2008 12:13 PM by runcmd

    Disable OAS via Command line

      Is this possible?

      Ive got a request to disable OAS via script during parts of the day when a scheduled job is being done.
        • 1. RE: Disable OAS via Command line
          You could probably do it by stopping the "McAfee McShield" service from the command prompt and then restarting it when you're done with your other process...

          net stop "McAfee McShield"
          net start "McAfee McShield"

          Remember that on v8.5, McAfee protects itself against the stopping of it's services by default. In the VirusScan Console, if you open the properties of "Access Protection", there is a check box for "Prevent McAfee services from being stopped."

          Understand that you'd be unprotected for the amount of time that the OAS is disabled. Also, the commands need to be executed as a local administrator.