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

Thanks...
1 Comment   [ + ] Show Comment

Comments

  • 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

1
bfrakes,

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")
Next
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.

Answers

0
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...

Thanks.
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

Share