DisableAntiSpyware specifies whether to disable Windows® Defender. Windows Defender is an application that can prevent, remove, and quarantine malware (malicious software) and spyware.



Disables Windows Defender.


Enables Windows Defender. This is the default value.

Valid Configuration Passes


Parent Hierarchy

Security-Malware-Windows-Defender | DisableAntiSpyware

Applies To

For Windows Server® 2012, Windows Server® 2008 R2 and Windows Server® 2008, Windows Defender is installed with the Desktop Experience Pack.

For a full list of the Windows editions and architectures that this component supports, see Security-Malware-Windows-Defender.

XML Example

The following XML output shows how to disable Windows Defender.

  Copy Code

See Also