DisableAntiSpyware 旨在供 Oem 和 IT 专业人员在部署期间禁用 Microsoft Defender 防病毒并部署另一个防病毒产品。DisableAntiSpyware is intended to be used by OEMs and IT Pros to disable Microsoft Defender Antivirus and deploy another antivirus product during deployment. 这是一种不再需要的旧设置,因为当 Microsoft Defender 防病毒检测到另一个防病毒程序时,它会自动自行关闭。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. Microsoft Defender 反恶意软件平台版本4.18.2007.8 和更高的 KB 4052623随附了此更改。This change is included with Microsoft Defender Antimalware platform versions 4.18.2007.8 and higher KB 4052623. 企业版 E3 和 E5 版本将在将来发布。Enterprise E3 and E5 editions will be released at a future date. 请注意,此设置受 篡改保护Note that this setting is protected by tamper protection. 在 Windows 10 版本1903及更高版本的所有 Home 和 Pro 版本中均提供防篡改保护,默认情况下已启用。Tamper protection is available in all Home and Pro editions of Windows 10 version 1903 and higher and is enabled by default. 在使用 Microsoft Defender 防病毒之前,1903的 DisableAntiSpyware 删除影响仅限于之前的 Windows 10 版本。The impact of the DisableAntiSpyware removal is limited to Windows 10 versions prior to 1903 using Microsoft Defender Antivirus. 此更改不会影响与 Windows 安全应用程序的第三方防病毒连接。This change does not impact third party antivirus connections to the Windows Security app. 它们仍将按预期方式工作。Those will still work as expected.

DisableAntiSpyware 指定是否禁用 Microsoft Defender 防病毒。DisableAntiSpyware specifies whether to disable Microsoft Defender Antivirus. Microsoft Defender 防病毒是一种应用程序,它可以阻止、删除和隔离恶意软件,包括间谍软件。Microsoft Defender Antivirus is an application that can prevent, remove, and quarantine malicious software, including spyware.


ValueValue 说明Description
truetrue 关闭 Microsoft Defender 防病毒以及第三方防病毒软件和应用。Turns off Microsoft Defender Antivirus, as well as third-party antivirus software and apps.
falsefalse 启用 Microsoft Defender。Turns on Microsoft Defender. 这是默认值。This is the default value.


将此值设置为 true 将不会更改客户端设备上的 Microsoft Defender 防病毒行为, (托管和非托管) 。Setting this value to true will not change Microsoft Defender Antivirus behavior on client devices (both managed and unmanaged). 此设置仅适用于 Windows Server。This setting only applies to Windows Server.

强烈建议第三方防病毒解决方案提供商使用Microsoft 病毒计划 (MVI) 提供的api ,以便向 Windows 安全中心进行注册。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




父层次结构Parent Hierarchy

安全性-恶意软件-Windows-Defender | DisableAntiSpywareSecurity-Malware-Windows-Defender | DisableAntiSpyware

适用于Applies To

  • Windows ServerWindows Server