DisableAntiSpyware

Important

DisableAntiSpyware is intended to be used by OEMs and IT Pros to disable Microsoft Defender Antivirus and deploy another antivirus product during deployment. This is a legacy setting that is no longer necessary as Microsoft Defender antivirus automatically turns itself off when it detects another antivirus program. This setting is not intended for consumer devices, and we’ve decided to remove this registry key. This change is included with Microsoft Defender Antimalware platform versions 4.18.2007.8 and higher KB 4052623. Enterprise E3 and E5 editions will be released at a future date. Note that this setting is protected by tamper protection. Tamper protection is available in all Home and Pro editions of Windows 10 version 1903 and higher and is enabled by default. The impact of the DisableAntiSpyware removal is limited to Windows 10 versions prior to 1903 using Microsoft Defender Antivirus. This change does not impact third party antivirus connections to the Windows Security app. Those will still work as expected.

DisableAntiSpyware specifies whether to disable Microsoft Defender Antivirus. Microsoft Defender Antivirus is an application that can prevent, remove, and quarantine malicious software, including spyware.

Values

Value Description
true Turns off Microsoft Defender Antivirus, as well as third-party antivirus software and apps.
false Turns on Microsoft Defender. This is the default value.

Caution

Setting this value to true will not change Microsoft Defender Antivirus behavior on client devices (both managed and unmanaged). This setting only applies to Windows Server.

We highly recommend that third party antivirus solution providers use the APIs provided by Microsoft Virus Initiative (MVI), to register with Windows Security Center.

Valid Configuration Passes

specialize

oobeSystem

offlineServicing

Parent Hierarchy

Security-Malware-Windows-Defender | DisableAntiSpyware

Applies To

  • Windows Server