Script to disable Windows Defender
We run the Vipre Enterprise suite and I need a post install script the disables Windows Defender.
Thanks...
Thanks...
1 Comment
[ + ] Show comment
-
Did this end up working? We're trying to deploy a solution to disable Windows Defender on 10 - Bentley 8 years ago
Answers (2)
Please log in to answer
Posted by:
dchristian
13 years ago
bfrakes,
I wonder if disabling the service would work?
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
Posted by:
bfrakes
13 years ago
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.
I will try the script and see if it works.
I'll let you know...
Thanks.
Comments:
-
Did the above script work for you? - Bentley 8 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.