Windows Defender Cloud Protection Registry Key
This article explains how to locate and configure the Windows Defender cloud-delivered protection setting using the Windows Registry Editor (Regedit). Cloud-delivered protection allows Microsoft Defender Antivirus to identify and block new and emerging threats in real time using cloud-based heuristics and telemetry. Below, you will find the exact registry path, the specific DWORD value used to control this feature, and the configuration options available.
Registry Location and Key Name
The configuration for Windows Defender cloud-delivered protection (historically known as Microsoft Active Protection Service or MAPS) is managed through the following registry path:
- Key Path:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet - Value Name:
SpynetReporting - Value Type:
REG_DWORD(32-bit DWORD)
Configuration Values
The SpynetReporting value accepts numeric data to define
the level of cloud reporting and protection:
0(Disabled): Turns off cloud-delivered protection completely. Microsoft Defender will only rely on local definitions.1(Basic Membership): Sends basic information to Microsoft about detected software, such as where the software came from, actions taken, and whether the actions were successful.2(Advanced Membership): Enables full cloud-delivered protection. Sends detailed information including file names, partial memory dumps, and software behavior to improve detection accuracy.
How to Configure the Setting
Press Windows Key + R, type
regedit, and press Enter to open the Registry Editor.Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows DefenderCheck if the Spynet subkey exists under
Windows Defender. If it does not, right-click Windows Defender, select New > Key, and name itSpynet.Select the
Spynetkey. In the right pane, right-click and choose New > DWORD (32-bit) Value.Name the new value
SpynetReporting.Double-click
SpynetReporting, set the Base to Hexadecimal or Decimal, and enter0,1, or2depending on your desired protection level.Click OK and restart your computer or restart the Windows Defender service to apply the changes.
Automatic Sample Submission Setting
Cloud protection is often paired with automatic sample submission, which is managed in the same registry key:
- Key Path:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet - Value Name:
SubmitSamplesConsent - Value Type:
REG_DWORD - Values:
0: Always prompt before sending samples.1: Send safe samples automatically (Default).2: Never send samples.3: Send all samples automatically.