We run the Vipre Enterprise suite and I need a post install script the disables Windows Defender.

1 Comment   [ + ] Show Comment


  • Did this end up working? We're trying to deploy a solution to disable Windows Defender on 10
Please log in to comment

Community Chosen Answer


I wonder if disabling the service would work?
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colServiceList = objWMIService.ExecQuery _
("Select * from Win32_Service where Name = 'WinDefend'")

For Each objService in colServiceList
errReturnCode = objService.Change( , , , , "disabled")
Answered 01/03/2011 by: dchristian
Red Belt

Please log in to comment
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


Actually, looking in the Vipre Enterprise setting, it has a check box for disabling Windows Defender.

I will try the script and see if it works.

I'll let you know...

Answered 01/04/2011 by: bfrakes
Purple Belt

  • Did the above script work for you?
Please log in to comment
Answer this question or Comment on this question for clarity