DisableAntiSpyware

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008 R2, Windows Server 2012 R2, Windows Vista

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

Values

true

Disables Windows Defender.

false

Enables Windows Defender. This is the default value.

Valid Configuration Passes

specialize

oobeSystem

offlineServicing

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.

<DisableAntiSpyware>true</DisableAntiSpyware>

See Also

Concepts

Security-Malware-Windows-Defender