Registry data refreshed from vendors: Last vendor change detected: 5 Dec 2026Next refresh: 1st of the monthApp v1.4.0 (5 Dec 2026): Cleanup or tattoo: see what stays behind after a GPO is removed. Release notes
Windows (ADMX) · WindowsDefender.admx

WindowsDefender.admx: 152 policies

Generated from Microsoft Windows Server 2025 Datacenter build 26100 in-box templates + Windows 11 ADMX package (download id 108394) on 2026-12-05. Titles, explanations and "Supported on" text are Microsoft's own, from the en-US ADML file.

Allow antimalware service to remain running always

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender
Value nameServiceKeepAlive
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure whether or not the antimalware service remains running when antivirus and antispyware security intelligence is disabled. It is recommended that this setting remain disabled.

If you enable this setting, the antimalware service will always remain running even if both antivirus and antispyware security intelligence is disabled.

If you disable or do not configure this setting, the antimalware service will be stopped when both antivirus and antispyware security intelligence is disabled. If the computer is restarted, the service will be started if it is set to Automatic startup. After the service has started, there will be a check to see if antivirus and antispyware security intelligence is enabled. If at least one is enabled, the service will remain running. If both are disabled, the service will be stopped.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Allow antimalware service to remain running always

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'ServiceKeepAlive' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name ServiceKeepAlive

Allow antimalware service to startup with normal priority

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender
Value nameAllowFastServiceStartup
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls the load priority for the antimalware service. Increasing the load priority will allow for faster service startup, but may impact performance.

If you enable or do not configure this setting, the antimalware service will load as a normal priority task.

If you disable this setting, the antimalware service will load as a low priority task.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Allow antimalware service to startup with normal priority

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'AllowFastServiceStartup' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name AllowFastServiceStartup

Configure detection for potentially unwanted applications

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender
Value namePUAProtection
OptionValueTypeAllowed values
Root_PUAProtectionPUAProtection0 (REG_DWORD) = Disable (Default)
1 (REG_DWORD) = Block
2 (REG_DWORD) = Audit Mode
What it does (vendor explanation)

Enable or disable detection for potentially unwanted applications. You can choose to block, audit, or allow when potentially unwanted software is being downloaded or attempts to install itself on your computer.

Enabled: Specify the mode in the Options section: -Block: Potentially unwanted software will be blocked. -Audit Mode: Potentially unwanted software will not be blocked, however if this feature would have blocked access if it were set to Block, then a record of the event will be in the event logs.

Disabled: Potentially unwanted software will not be blocked.

Not configured: Same as Disabled.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Configure detection for potentially unwanted applications

PowerShell equivalent (generated from the template)
# Root_PUAProtection
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'PUAProtection' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Root_PUAProtection

Configure local administrator merge behavior for lists

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender
Value nameDisableLocalAdminMerge
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls whether or not complex list settings configured by a local administrator are merged with Group Policy settings. This setting applies to lists such as threats and Exclusions.

If you disable or do not configure this setting, unique items defined in Group Policy and in preference settings configured by the local administrator will be merged into the resulting effective policy. In the case of conflicts, Group policy Settings will override preference settings.

If you enable this setting, only items defined by Group Policy will be used in the resulting effective policy. Group Policy settings will override preference settings configured by the local administrator.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Configure local administrator merge behavior for lists

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'DisableLocalAdminMerge' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name DisableLocalAdminMerge

Configure scheduled task times randomization window

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender
Value nameSchedulerRandomizationTime
OptionValueTypeAllowed values
Specify scheduler randomization window in hours.SchedulerRandomizationTimeREG_DWORDNumber 1 to 23
What it does (vendor explanation)

This policy setting allows you to configure scheduled task scan start time and the scheduled security intelligence update start time window in hours. This setting affects the Randomize scheduled task times configuration.

If you enable this setting, you must pick a randomization window in hours. The possible randomization window interval is between 1 and 23 hours. The randomization interval implemented is between 0 and the configured value. When you enable this setting, Randomize scheduled task times settings uses the randomization window specified in this configuration setting. If you disable or do not configure this policy setting, Randomize scheduled task times settings will randomize scheduled task times between 0-4 hours.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Configure scheduled task times randomization window

PowerShell equivalent (generated from the template)
# Specify scheduler randomization window in hours.
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'SchedulerRandomizationTime' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name SchedulerRandomizationTime

Control whether exclusions are visible to local users

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender
Value nameHideExclusionsFromLocalUsers
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls whether exclusions are visible to local users on the device. Use the policy setting HideExclusionsFromLocalAdmins to hide exclusions from both standard and administrative local users.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Control whether exclusions are visible to local users

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'HideExclusionsFromLocalUsers' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name HideExclusionsFromLocalUsers

Control whether or not exclusions are visible to Local Admins

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender
Value nameHideExclusionsFromLocalAdmins
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls whether or not exclusions are visible to Local Admins. For end users (that are not Local Admins) exclusions are not visible, whether or not this setting is enabled. Disabled(Default): If you disable or do not configure this setting, Local Admins will be able to see exclusions in the Windows Security App or via PowerShell.

Enabled: If you enable this setting, Local Admins will no longer be able to see the exclusion list in Windows Security App or via PowerShell. Note: Applying this setting will not remove exclusions, it will only prevent them from being visible to Local Admins. This is reflected in Get-MpPreference.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Control whether or not exclusions are visible to Local Admins

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'HideExclusionsFromLocalAdmins' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name HideExclusionsFromLocalAdmins

Define addresses to bypass proxy server

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender
OptionValueTypeAllowed values
Define addresses to bypass proxy serverProxyBypassREG_SZText
What it does (vendor explanation)

This policy, if defined, will prevent antimalware from using the configured proxy server when communicating with the specified IP addresses. The address value should be entered as a valid URL.

If you enable this setting, the proxy server will be bypassed for the specified addresses.

If you disable or do not configure this setting, the proxy server will not be bypassed for the specified addresses.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Define addresses to bypass proxy server

PowerShell equivalent (generated from the template)
# Define addresses to bypass proxy server
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'ProxyBypass' -Value <value> -PropertyType String -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name ProxyBypass

Define proxy auto-config (.pac) for connecting to the network

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender
OptionValueTypeAllowed values
Define proxy auto-config (.pac) for connecting to the networkProxyPacUrlREG_SZText
What it does (vendor explanation)

This policy setting defines the URL of a proxy .pac file that should be used when the client attempts to connect the network for security intelligence updates and MAPS reporting. If the proxy auto-config fails or if there is no proxy auto-config specified, the client will fall back to the alternative options (in order): 1. Proxy server (if specified) 2. Proxy .pac URL (if specified) 3. None 4. Internet Explorer proxy settings 5. Autodetect

If you enable this setting, the proxy setting will be set to use the specified proxy .pac according to the order specified above.

If you disable or do not configure this setting, the proxy will skip over this fallback step according to the order specified above.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Define proxy auto-config (.pac) for connecting to the network

PowerShell equivalent (generated from the template)
# Define proxy auto-config (.pac) for connecting to the network
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'ProxyPacUrl' -Value <value> -PropertyType String -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name ProxyPacUrl

Define proxy server for connecting to the network

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender
OptionValueTypeAllowed values
Define proxy server for connecting to the networkProxyServerREG_SZText
What it does (vendor explanation)

This policy setting allows you to configure the named proxy that should be used when the client attempts to connect to the network for security intelligence updates and MAPS reporting. If the named proxy fails or if there is no proxy specified, the client will fall back to the alternative options (in order): 1. Proxy server (if specified) 2. Proxy .pac URL (if specified) 3. None 4. Internet Explorer proxy settings 5. Autodetect

If you enable this setting, the proxy will be set to the specified URL according to the order specified above. The URL should be proceeded with either http:// or https://.

If you disable or do not configure this setting, the proxy will skip over this fallback step according to the order specified above.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Define proxy server for connecting to the network

PowerShell equivalent (generated from the template)
# Define proxy server for connecting to the network
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'ProxyServer' -Value <value> -PropertyType String -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name ProxyServer

Define the directory path to copy support log files

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender
OptionValueTypeAllowed values
Define the directory path to copy support log filesSupportLogLocationREG_SZText
What it does (vendor explanation)

This policy setting allows you to configure the directory path where the support log files would be copied to. The value of this setting should be a valid directory path.

If you enable this setting, the support log files will be copied to the specified support log location path.

If you disable or do not configure this setting, the support logs files will not be copied to any location.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Define the directory path to copy support log files

PowerShell equivalent (generated from the template)
# Define the directory path to copy support log files
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'SupportLogLocation' -Value <value> -PropertyType String -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name SupportLogLocation

Randomize scheduled task times

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender
Value nameRandomizeScheduleTaskTimes
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure the randomization of the scheduled scan start time and the scheduled definition update start time.

If you enable or do not configure this policy setting, and did not set a randomization window in the Configure scheduled task time randomization window setting , then randomization will be added between 0-4 hours. If you enable or do not configure this policy setting, and set a randomization window in the Configure scheduled task time randomization window setting, the configured randomization window will be used. If you disable this policy setting, but configured the scheduled task time randomization window, randomization will not be done.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Randomize scheduled task times

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'RandomizeScheduleTaskTimes' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name RandomizeScheduleTaskTimes

Select the channel for Microsoft Defender daily security intelligence updates

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender
OptionValueTypeAllowed values
Select the channel for Microsoft Defender daily security intelligence updates:SignaturesRing4 (REG_DWORD) = Current Channel (Staged)
5 (REG_DWORD) = Current Channel (Broad)
What it does (vendor explanation)

Enable this policy to specify when devices receive Microsoft Defender security intelligence updates during the daily gradual rollout.

Current Channel (Staged): Devices will be offered updates after the release cycle. Suggested to apply to a small, representative part of production population (~10%). Current Channel (Broad): Devices will be offered updates only after the gradual release cycle completes. Suggested to apply to a broad set of devices in your production population (~10-100%). Critical - Time delay: Devices will be offered updates with a 48-hour delay. Suggested for critical environments only.

If you disable or do not configure this policy, the device will stay up to date automatically during the daily release cycle. Suitable for most devices.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Select the channel for Microsoft Defender daily security intelligence updates

PowerShell equivalent (generated from the template)
# Select the channel for Microsoft Defender daily security intelligence updates:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'SignaturesRing' -Value 4 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Root_SecurityIntelligenceUpdateChannel

Select the channel for Microsoft Defender monthly engine updates

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender
OptionValueTypeAllowed values
Select the channel for Microsoft Defender monthly engine updates:EngineRing2 (REG_DWORD) = Beta Channel
3 (REG_DWORD) = Current Channel (Preview)
4 (REG_DWORD) = Current Channel (Staged)
5 (REG_DWORD) = Current Channel (Broad)
6 (REG_DWORD) = Critical - Time delay
What it does (vendor explanation)

Enable this policy to specify when devices receive Microsoft Defender engine updates during the monthly gradual rollout.​

Beta Channel: Devices set to this channel will be the first to receive new updates. Select Beta Channel to participate in identifying and reporting issues to Microsoft. Devices in the Windows Insider Program are subscribed to this channel by default. For use in (manual) test environments only and a limited number of devices. Current Channel (Preview): Devices set to this channel will be offered updates earliest during the monthly gradual release cycle. Suggested for pre-production/validation environments. Current Channel (Staged): Devices will be offered updates after the monthly gradual release cycle. Suggested to apply to a small, representative part of your production population (~10%). Current Channel (Broad): Devices will be offered updates only after the gradual release cycle completes. Suggested to apply to a broad set of devices in your production population (~10-100%). Critical - Time delay: Devices will be offered updates with a 48-hour delay. Suggested for critical environments only.

If you disable or do not configure this policy, the device will stay up to date automatically during the gradual release cycle. Suitable for most devices.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Select the channel for Microsoft Defender monthly engine updates

PowerShell equivalent (generated from the template)
# Select the channel for Microsoft Defender monthly engine updates:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'EngineRing' -Value 2 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Root_EngineUpdateChannel

Select the channel for Microsoft Defender monthly platform updates

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender
OptionValueTypeAllowed values
Select the channel for Microsoft Defender monthly platform updates:PlatformRing2 (REG_DWORD) = Beta Channel
3 (REG_DWORD) = Current Channel (Preview)
4 (REG_DWORD) = Current Channel (Staged)
5 (REG_DWORD) = Current Channel (Broad)
6 (REG_DWORD) = Critical - Time delay
What it does (vendor explanation)

Enable this policy to specify when devices receive Microsoft Defender platform updates during the monthly gradual rollout.​

Beta Channel: Devices set to this channel will be the first to receive new updates. Select Beta Channel to participate in identifying and reporting issues to Microsoft. Devices in the Windows Insider Program are subscribed to this channel by default. For use in (manual) test environments only and a limited number of devices. Current Channel (Preview): Devices set to this channel will be offered updates earliest during the monthly gradual release cycle. Suggested for pre-production/validation environments. Current Channel (Staged): Devices will be offered updates after the monthly gradual release cycle. Suggested to apply to a small, representative part of your production population (~10%). Current Channel (Broad): Devices will be offered updates only after the gradual release cycle completes. Suggested to apply to a broad set of devices in your production population (~10-100%). Critical - Time delay: Devices will be offered updates with a 48-hour delay. Suggested for critical environments only.

If you disable or do not configure this policy, the device will stay up to date automatically during the gradual release cycle. Suitable for most devices.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Select the channel for Microsoft Defender monthly platform updates

PowerShell equivalent (generated from the template)
# Select the channel for Microsoft Defender monthly platform updates:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'PlatformRing' -Value 2 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Root_PlatformUpdateChannel

Turn off Microsoft Defender Antivirus

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender
Value nameDisableAntiSpyware
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting turns off Microsoft Defender Antivirus.

If you enable this policy setting, Microsoft Defender Antivirus does not run, and will not scan computers for malware or other potentially unwanted software.

If you disable this policy setting, Microsoft Defender Antivirus will run regardless of any other installed antivirus product.

If you do not configure this policy setting, Windows will internally manage Microsoft Defender Antivirus. If you install another antivirus program, Windows automatically disables Microsoft Defender Antivirus. Otherwise, Microsoft Defender Antivirus will scan your computers for malware and other potentially unwanted software.

Enabling or disabling this policy may lead to unexpected or unsupported behavior. It is recommended that you leave this policy setting unconfigured.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Turn off Microsoft Defender Antivirus

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'DisableAntiSpyware' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name DisableAntiSpywareDefender

Turn off routine remediation

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender
Value nameDisableRoutinelyTakingAction
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure whether Microsoft Defender Antivirus automatically takes action on all detected threats. The action to be taken on a particular threat is determined by the combination of the policy-defined action, user-defined action, and the signature-defined action.

If you enable this policy setting, Microsoft Defender Antivirus does not automatically take action on the detected threats, but prompts users to choose from the actions available for each threat.

If you disable or do not configure this policy setting, Microsoft Defender Antivirus automatically takes action on all detected threats after a nonconfigurable delay of approximately five seconds.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Turn off routine remediation

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender' -Name 'DisableRoutinelyTakingAction' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name DisableRoutinelyTakingAction

Enable headless UI mode

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\UX Configuration
Value nameUILockdown
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure whether or not to display AM UI to the users. If you enable this setting AM UI won't be available to users.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Client Interface > Enable headless UI mode

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\UX Configuration' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\UX Configuration' -Name 'UILockdown' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name UX_Configuration_UILockdown

Suppress all notifications

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\UX Configuration
Value nameNotification_Suppress
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Use this policy setting to specify if you want Microsoft Defender Antivirus notifications to display on clients. If you disable or do not configure this setting, Microsoft Defender Antivirus notifications will display on clients.

If you enable this setting, Microsoft Defender Antivirus notifications will not display on clients.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Client Interface > Suppress all notifications

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\UX Configuration' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\UX Configuration' -Name 'Notification_Suppress' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name UX_Configuration_Notification_Suppress

Suppresses reboot notifications

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\UX Configuration
Value nameSuppressRebootNotification
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows user to supress reboot notifications in UI only mode (for cases where UI can't be in lockdown mode).

If you enable this setting AM UI won't show reboot notifications.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Client Interface > Suppresses reboot notifications

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\UX Configuration' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\UX Configuration' -Name 'SuppressRebootNotification' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name UX_Configuration_SuppressRebootNotification

Define Device Control evidence data remote location

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Device Control
OptionValueTypeAllowed values
Define the Device Control data duplication remote location.DataDuplicationRemoteLocationREG_SZText
What it does (vendor explanation)

Define evidence file remote location, where Device Control service will move evidence data captured.

When configuring this setting, ensure that Device Control is Enabled and that the provided path is a remote path the user can access.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Device Control > Define Device Control evidence data remote location

PowerShell equivalent (generated from the template)
# Define the Device Control data duplication remote location.
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Device Control' -Name 'DataDuplicationRemoteLocation' -Value <value> -PropertyType String -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name DeviceControl_DataDuplicationRemoteLocation

Define device control policy groups

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Device Control\Policy Groups
OptionValueTypeAllowed values
Define the policy groups herePolicyGroupsREG_SZText
What it does (vendor explanation)

Please follow the device control policy groups xml schema to fill out the policy groups data. Alternatively you could use a file path containing the XML groups data.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Device Control > Define device control policy groups

PowerShell equivalent (generated from the template)
# Define the policy groups here
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Device Control\Policy Groups' -Name 'PolicyGroups' -Value <value> -PropertyType String -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name DeviceControl_PolicyGroups

Define device control policy rules

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Device Control\Policy Rules
OptionValueTypeAllowed values
Define the policy rules herePolicyRulesREG_SZText
What it does (vendor explanation)

Please follow the device control policy rules xml schema to fill out the policy rules data. Alternatively you could use a file path containing the XML rules data.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Device Control > Define device control policy rules

PowerShell equivalent (generated from the template)
# Define the policy rules here
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Device Control\Policy Rules' -Name 'PolicyRules' -Value <value> -PropertyType String -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name DeviceControl_PolicyRules

Select Device Control Default Enforcement Policy

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Device Control
OptionValueTypeAllowed values
Select Device Control Default Enforcement PolicyDefaultEnforcement1 (REG_DWORD) = Default Allow
2 (REG_DWORD) = Default Deny
What it does (vendor explanation)

Default Allow: Choosing this default enforcement, will Allow any operations to occur on the attached devices if no policy rules are found to match. Default Deny: Choosing this default enforcement, will Deny any operations to occur on the attached devices if no policy rules are found to match.

Default Enforcement will establish what decision should be made during the Device Control access checks when none of the policy rules match.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Device Control > Select Device Control Default Enforcement Policy

PowerShell equivalent (generated from the template)
# Select Device Control Default Enforcement Policy
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Device Control' -Name 'DefaultEnforcement' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name DeviceControl_DefaultEnforcement

Set the Azure AD refresh rate

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Device Control
OptionValueTypeAllowed values
Set the Azure AD refresh rateAzureAdRefreshIntervalREG_SZText
What it does (vendor explanation)

This setting defines the interval, in minutes, at which the device will query Azure AD to update related settings, configuration, and group memberships.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Device Control > Set the Azure AD refresh rate

PowerShell equivalent (generated from the template)
# Set the Azure AD refresh rate
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Device Control' -Name 'AzureAdRefreshInterval' -Value <value> -PropertyType String -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name DeviceControl_AzureAdRefreshInterval

Set the data duplication limit (MB)

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Device Control
OptionValueTypeAllowed values
Set the data duplication limit (MB)DataDuplicationMaximumQuotaREG_SZText
What it does (vendor explanation)

This setting defines the maximum amount of data that can be duplicated for device control.

When the limit is reached, files that are copied to removable storage will not be duplicated on the machine.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Device Control > Set the data duplication limit (MB)

PowerShell equivalent (generated from the template)
# Set the data duplication limit (MB)
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Device Control' -Name 'DataDuplicationMaximumQuota' -Value <value> -PropertyType String -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name DeviceControl_DataDuplicationMaximumQuota

Set the policy refresh rate

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Device Control
OptionValueTypeAllowed values
Set the policy refresh ratePolicyRefreshFailureIntervalREG_SZText
What it does (vendor explanation)

This setting defines the interval, in minutes, at which the device will retry loading the policy configuration in the case that an error has occurred and the policy could not load.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Device Control > Set the policy refresh rate

PowerShell equivalent (generated from the template)
# Set the policy refresh rate
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Device Control' -Name 'PolicyRefreshFailureInterval' -Value <value> -PropertyType String -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name DeviceControl_PolicyRefreshFailureInterval

Set the retention period for files in the local device control cache

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Device Control
OptionValueTypeAllowed values
Set the retention period for files in the local device control cacheDataDuplicationLocalRetentionPeriodREG_DWORDNumber 0 to 10000
What it does (vendor explanation)

This policy setting determines how long device control retains files for evidence in its local cache on the device. Device control keeps a file in its local cache only if it is unable to upload the file to a designated network share or Azure storage.

By default, device control retains files in its local cache for 60 days.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Device Control > Set the retention period for files in the local device control cache

PowerShell equivalent (generated from the template)
# Set the retention period for files in the local device control cache
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Device Control' -Name 'DataDuplicationLocalRetentionPeriod' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name DeviceControl_DataDuplicationLocalRetentionPeriod

Turn on device control for specific device types

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Device Control
OptionValueTypeAllowed values
Turn on device control for specific device typesSecuredDevicesConfigurationREG_SZText
What it does (vendor explanation)

This policy setting controls which device types, identified by their PrimaryIds, will have device control protection turned on. If you enable this setting for certain device types, device control will regulate access to those devices based on the corresponding custom policy. Device control will be turned off for all other types of supported devices, even if custom protection policies are configured for those devices.

This setting currently supports these device types: RemovableMediaDevices, CdRomDevices, WpdDevices, and PrinterDevices.

If you enable this policy setting but do not specify any PrimaryIds, device control will be turned off across all supported device types.

If you disable or don’t configure this policy setting, device control will be enforced on all supported devicesbased on their corresponding custom policies.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Device Control > Turn on device control for specific device types

PowerShell equivalent (generated from the template)
# Turn on device control for specific device types
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Device Control' -Name 'SecuredDevicesConfiguration' -Value <value> -PropertyType String -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name DeviceControl_SecuredDevicesConfiguration

Extension Exclusions

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Exclusions
Value nameExclusions_Extensions
OptionValueTypeAllowed values
Extension ExclusionsSoftware\Policies\Microsoft\Windows Defender\Exclusions\Extensions\(list subkey)REG_SZ (one value per entry)One value per list entry
What it does (vendor explanation)

This policy setting allows you specify a list of file types that should be excluded from scheduled, custom, and real-time scanning. File types should be added under the Options for this setting. Each entry must be listed as a name value pair, where the name should be a string representation of the file type extension (such as "obj" or "lib"). The value is not used and it is recommended that this be set to 0.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Exclusions > Extension Exclusions

Security hardeningADMX: WindowsDefender.admx · policy name Exclusions_Extensions

Ip Address Exclusions

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1709

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Exclusions
Value nameExclusions_IpAddresses
OptionValueTypeAllowed values
IP Address ExclusionsSoftware\Policies\Microsoft\Windows Defender\Exclusions\IpAddresses\(list subkey)REG_SZ (one value per entry)One value per list entry
What it does (vendor explanation)

Allows an administrator to explicitly disable network packet inspection made by wdnisdrv on a particular set of IP addresses.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Exclusions > Ip Address Exclusions

Security hardeningADMX: WindowsDefender.admx · policy name Exclusions_IpAddresses

Path Exclusions

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Exclusions
Value nameExclusions_Paths
OptionValueTypeAllowed values
Path ExclusionsSoftware\Policies\Microsoft\Windows Defender\Exclusions\Paths\(list subkey)REG_SZ (one value per entry)One value per list entry
What it does (vendor explanation)

This policy setting allows you to disable scheduled and real-time scanning for files under the paths specified or for the fully qualified resources specified. Paths should be added under the Options for this setting. Each entry must be listed as a name value pair, where the name should be a string representation of a path or a fully qualified resource name. As an example, a path might be defined as: "c:\Windows" to exclude all files in this directory. A fully qualified resource name might be defined as: "C:\Windows\App.exe". The value is not used and it is recommended that this be set to 0.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Exclusions > Path Exclusions

Security hardeningADMX: WindowsDefender.admx · policy name Exclusions_Paths

Process Exclusions

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Exclusions
Value nameExclusions_Processes
OptionValueTypeAllowed values
Process ExclusionsSoftware\Policies\Microsoft\Windows Defender\Exclusions\Processes\(list subkey)REG_SZ (one value per entry)One value per list entry
What it does (vendor explanation)

This policy setting allows you to disable real-time scanning for any file opened by any of the specified processes. This policy does not apply to scheduled scans. The process itself will not be excluded. To exclude the process, use the Path exclusion. Processes should be added under the Options for this setting. Each entry must be listed as a name value pair, where the name should be a string representation of the path to the process image. Note that only executables can be excluded. For example, a process might be defined as: "c:\windows\app.exe". The value is not used and it is recommended that this be set to 0.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Exclusions > Process Exclusions

Security hardeningADMX: WindowsDefender.admx · policy name Exclusions_Processes

Turn off Auto Exclusions

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Exclusions
Value nameDisableAutoExclusions
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Allows an administrator to specify if Automatic Exclusions feature for Server SKUs should be turned off.

Disabled (Default): Microsoft Defender will exclude pre-defined list of paths from the scan to improve performance.

Enabled: Microsoft Defender will not exclude pre-defined list of paths from scans. This can impact machine performance in some scenarios.

Not configured: Same as Disabled.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Exclusions > Turn off Auto Exclusions

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Exclusions' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Exclusions' -Name 'DisableAutoExclusions' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name DisableAutoExclusions

Device Control

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Features
Value nameDeviceControlEnabled
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Enable or Disable Defender Device Control on this machine. Note: You must be enrolled as E3 or E5 in order for Device Control to be enabled.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Features > Device Control

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Features' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Features' -Name 'DeviceControlEnabled' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name DeviceControlEnabled

Enable EDR in block mode

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Features
Value namePassiveRemediation
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting enables or disables EDR in block mode (also known as "passive remediation"). EDR in block mode is recommended for devices running Microsoft Defender Antivirus in passive mode. Available with platform release: 4.18.2202.X

The data type is integer

Supported values:

1: Turn EDR in block mode on 0: Turn EDR in block mode off

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Features > Enable EDR in block mode

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Features' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Features' -Name 'PassiveRemediation' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Features_PassiveRemediation

Intel TDT Integration Level

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Features
Value nameTDTFeatureEnabled
Enabled writes1 (REG_DWORD)
Disabled writes2 (REG_DWORD)
What it does (vendor explanation)

This policy setting configures the Intel TDT integration level for Intel TDT-capable devices.

If you do not configure this setting, the default value will be applied. The default value is controlled by Microsoft security intelligence updates. Microsoft will enable Intel TDT if there is a known threat. If you configure this setting to enabled, Intel TDT integration will turn on. If you configure this setting to disabled, Intel TDT integration will turn off.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Features > Intel TDT Integration Level

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Features' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Features' -Name 'TDTFeatureEnabled' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Features_TDTFeatureEnabled

Configure local setting override for reporting to Microsoft MAPS

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Spynet
Value nameLocalSettingOverrideSpynetReporting
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting configures a local override for the configuration to join Microsoft MAPS. This setting can only be set by Group Policy.

If you enable this setting, the local preference setting will take priority over Group Policy.

If you disable or do not configure this setting, Group Policy will take priority over the local preference setting.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > MAPS > Configure local setting override for reporting to Microsoft MAPS

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Spynet' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Spynet' -Name 'LocalSettingOverrideSpynetReporting' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Spynet_LocalSettingOverrideSpynetReporting

Configure the 'Block at First Sight' feature

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Spynet
Value nameDisableBlockAtFirstSeen
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This feature ensures the device checks in real time with the Microsoft Active Protection Service (MAPS) before allowing certain content to be run or accessed. If this feature is disabled, the check will not occur, which will lower the protection state of the device. Enabled – The Block at First Sight setting is turned on. Disabled – The Block at First Sight setting is turned off.

This feature requires these Group Policy settings to be set as follows: MAPS -> The “Join Microsoft MAPS” must be enabled or the “Block at First Sight” feature will not function. MAPS -> The “Send file samples when further analysis is required” should be set to 1 (Send safe samples) or 3 (Send all samples). Setting to 0 (Always Prompt) will lower the protection state of the device. Setting to 2 (Never send) means the “Block at First Sight” feature will not function. Real-time Protection -> The “Scan all downloaded files and attachments” policy must be enabled or the “Block at First Sight” feature will not function. Real-time Protection -> Do not enable the “Turn off real-time protection” policy or the “Block at First Sight” feature will not function.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > MAPS > Configure the 'Block at First Sight' feature

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Spynet' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Spynet' -Name 'DisableBlockAtFirstSeen' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name DisableBlockAtFirstSeen

Join Microsoft MAPS

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Spynet
Value nameSpynetReporting
OptionValueTypeAllowed values
Join Microsoft MAPSSpynetReporting0 (REG_DWORD) = Disabled
1 (REG_DWORD) = Basic MAPS
2 (REG_DWORD) = Advanced MAPS
What it does (vendor explanation)

This policy setting allows you to join Microsoft MAPS. Microsoft MAPS is the online community that helps you choose how to respond to potential threats. The community also helps stop the spread of new malicious software infections.

You can choose to send basic or additional information about detected software. Additional information helps Microsoft create new security intelligence and help it to protect your computer. This information can include things like location of detected items on your computer if harmful software was removed. The information will be automatically collected and sent. In some instances, personal information might unintentionally be sent to Microsoft. However, Microsoft will not use this information to identify you or contact you.

Possible options are: (0x0) Disabled (default) (0x1) Basic membership (0x2) Advanced membership

Basic membership will send basic information to Microsoft about software that has been detected, including where the software came from, the actions that you apply or that are applied automatically, and whether the actions were successful.

Advanced membership, in addition to basic information, will send more information to Microsoft about malicious software, spyware, and potentially unwanted software, including the location of the software, file names, how the software operates, and how it has impacted your computer.

If you enable this setting, you will join Microsoft MAPS with the membership specified.

If you disable or do not configure this setting, you will not join Microsoft MAPS.

In Windows 10, Basic membership is no longer available, so setting the value to 1 or 2 enrolls the device into Advanced membership.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > MAPS > Join Microsoft MAPS

PowerShell equivalent (generated from the template)
# Join Microsoft MAPS
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Spynet' -Name 'SpynetReporting' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name SpynetReporting

Send file samples when further analysis is required

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Spynet
Value nameSubmitSamplesConsent
OptionValueTypeAllowed values
Send file samples when further analysis is requiredSubmitSamplesConsent0 (REG_DWORD) = Always prompt
1 (REG_DWORD) = Send safe samples
2 (REG_DWORD) = Never send
3 (REG_DWORD) = Send all samples
What it does (vendor explanation)

This policy setting configures behaviour of samples submission when opt-in for MAPS telemetry is set.

Possible options are: (0x0) Always prompt (0x1) Send safe samples automatically (0x2) Never send (0x3) Send all samples automatically

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > MAPS > Send file samples when further analysis is required

PowerShell equivalent (generated from the template)
# Send file samples when further analysis is required
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Spynet' -Name 'SubmitSamplesConsent' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name SubmitSamplesConsent

Apply a list of exclusions to specific attack surface reduction (ASR) rules

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1709

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR
Value nameExploitGuard_ASR_ASROnlyPerRuleExclusions
OptionValueTypeAllowed values
Exclusions for each ASR rules:Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\ASROnlyPerRuleExclusions\(list subkey)REG_SZ (one value per entry)One value per list entry
What it does (vendor explanation)

This policy allows an administrator to specify a list of exclusions for specific ASR rules. Each entry is a name-value pair. The key indicates the rule GUID, and the value is a set of full paths separated by the > character, indicating the exclusions for that particular ASR rule.

NOTE: The GUID is a KEY, not a value.

Example: KEY: "{75668C1F-73B5-4CF0-BB93-3ECF5DB7C484}" VALUE: "C:\Notepad.exe>c:\regedit.exe>C:\SomeFolder\test.exe"

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Microsoft Defender Exploit Guard > Attack Surface Reduction > Apply a list of exclusions to specific attack surface reduction (ASR) rules

Security hardeningADMX: WindowsDefender.admx · policy name ExploitGuard_ASR_ASROnlyPerRuleExclusions

Configure Attack Surface Reduction rules

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1709

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR
Value nameExploitGuard_ASR_Rules
OptionValueTypeAllowed values
Set the state for each ASR rule:Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\Rules\(list subkey)REG_SZ (one value per entry)One value per list entry
What it does (vendor explanation)

Set the state for each Attack Surface Reduction (ASR) rule.

After enabling this setting, you can set each rule to the following in the Options section: - Block: the rule will be applied - Audit Mode: if the rule would normally cause an event, then it will be recorded (although the rule will not actually be applied) - Off: the rule will not be applied - Not Configured: the rule is enabled with default values - Warn: the rule will be applied and the end-user will have the option to bypass the block

Unless the ASR rule is disabled, a subsample of audit events are collected for ASR rules will the value of not configured.

Enabled: Specify the state for each ASR rule under the Options section for this setting. Enter each rule on a new line as a name-value pair: - Name column: Enter a valid ASR rule ID - Value column: Enter the status ID that relates to state you want to specify for the associated rule

The following status IDs are permitted under the value column: - 1 (Block) - 0 (Off) - 2 (Audit) - 5 (Not Configured) - 6 (Warn)

Example: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 0 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 1 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 2

Disabled: No ASR rules will be configured.

Not configured: Same as Disabled.

You can exclude folders or files in the ""Exclude files and paths from Attack Surface Reduction Rules"" GP setting.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Microsoft Defender Exploit Guard > Attack Surface Reduction > Configure Attack Surface Reduction rules

Security hardeningADMX: WindowsDefender.admx · policy name ExploitGuard_ASR_Rules

Exclude files and paths from Attack Surface Reduction Rules

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1709

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR
Value nameExploitGuard_ASR_ASROnlyExclusions
OptionValueTypeAllowed values
Exclusions from ASR rules:Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\ASR\ASROnlyExclusions\(list subkey)REG_SZ (one value per entry)One value per list entry
What it does (vendor explanation)

Exclude files and paths from Attack Surface Reduction (ASR) rules.

Enabled: Specify the folders or files and resources that should be excluded from ASR rules in the Options section. Enter each rule on a new line as a name-value pair: - Name column: Enter a folder path or a fully qualified resource name. For example, ""C:\Windows"" will exclude all files in that directory. ""C:\Windows\App.exe"" will exclude only that specific file in that specific folder - Value column: Enter ""0"" for each item

Disabled: No exclusions will be applied to the ASR rules.

Not configured: Same as Disabled.

You can configure ASR rules in the Configure Attack Surface Reduction rules GP setting.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Microsoft Defender Exploit Guard > Attack Surface Reduction > Exclude files and paths from Attack Surface Reduction Rules

Security hardeningADMX: WindowsDefender.admx · policy name ExploitGuard_ASR_ASROnlyExclusions

Configure Controlled folder access

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1709

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\Controlled Folder Access
Value nameEnableControlledFolderAccess
OptionValueTypeAllowed values
Configure the guard my folders featureEnableControlledFolderAccess0 (REG_DWORD) = Disable (Default)
1 (REG_DWORD) = Block
2 (REG_DWORD) = Audit Mode
3 (REG_DWORD) = Block disk modification only
4 (REG_DWORD) = Audit disk modification only
What it does (vendor explanation)

Enable or disable controlled folder access for untrusted applications. You can choose to block, audit, or allow attempts by untrusted apps to: - Modify or delete files in protected folders, such as the Documents folder - Write to disk sectors

You can also choose to only block or audit writes to disk sectors while still allowing the modification or deletion of files in protected folders.

Microsoft Defender Antivirus automatically determines which applications can be trusted. You can add additional trusted applications in the Configure allowed applications GP setting. Default system folders are automatically protected, but you can add folders in the Configure protected folders GP setting.

Block: The following will be blocked: - Attempts by untrusted apps to modify or delete files in protected folders - Attempts by untrusted apps to write to disk sectors The Windows event log will record these blocks under Applications and Services Logs > Microsoft > Windows > Windows Defender > Operational > ID 1123.

Disabled: The following will not be blocked and will be allowed to run: - Attempts by untrusted apps to modify or delete files in protected folders - Attempts by untrusted apps to write to disk sectors These attempts will not be recorded in the Windows event log.

Audit Mode: The following will not be blocked and will be allowed to run: - Attempts by untrusted apps to modify or delete files in protected folders - Attempts by untrusted apps to write to disk sectors The Windows event log will record these attempts under Applications and Services Logs > Microsoft > Windows > Windows Defender > Operational > ID 1124.

Block disk modification only: The following will be blocked: - Attempts by untrusted apps to write to disk sectors The Windows event log will record these attempts under Applications and Services Logs > Microsoft > Windows > Windows Defender > Operational > ID 1123.

The following will not be blocked and will be allowed to run: - Attempts by untrusted apps to modify or delete files in protected folders These attempts will not be recorded in the Windows event log.

Audit disk modification only: The following will not be blocked and will be allowed to run: - Attempts by untrusted apps to write to disk sectors - Attempts by untrusted apps to modify or delete files in protected folders Only attempts to write to protected disk sectors will be recorded in the Windows event log (under Applications and Services Logs > Microsoft > Windows > Windows Defender > Operational > ID 1124). Attempts to modify or delete files in protected folders will not be recorded.

Not configured: Same as Disabled.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Microsoft Defender Exploit Guard > Controlled Folder Access > Configure Controlled folder access

PowerShell equivalent (generated from the template)
# Configure the guard my folders feature
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\Controlled Folder Access' -Name 'EnableControlledFolderAccess' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name ExploitGuard_ControlledFolderAccess_EnableControlledFolderAccess

Configure allowed applications

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1709

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\Controlled Folder Access
Value nameExploitGuard_ControlledFolderAccess_AllowedApplications
OptionValueTypeAllowed values
Enter the applications that should be trusted:Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\Controlled Folder Access\AllowedApplications\(list subkey)REG_SZ (one value per entry)One value per list entry
What it does (vendor explanation)

Add additional applications that should be considered "trusted" by controlled folder access.

These applications are allowed to modify or delete files in controlled folder access folders.

Microsoft Defender Antivirus automatically determines which applications should be trusted. You can configure this setting to add additional applications.

Enabled: Specify additional allowed applications in the Options section..

Disabled: No additional applications will be added to the trusted list.

Not configured: Same as Disabled.

You can enable controlled folder access in the Configure controlled folder access GP setting.

Default system folders are automatically guarded, but you can add folders in the configure protected folders GP setting.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Microsoft Defender Exploit Guard > Controlled Folder Access > Configure allowed applications

Security hardeningADMX: WindowsDefender.admx · policy name ExploitGuard_ControlledFolderAccess_AllowedApplications

Configure protected folders

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1709

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\Controlled Folder Access
Value nameExploitGuard_ControlledFolderAccess_ProtectedFolders
OptionValueTypeAllowed values
Enter the folders that should be guarded:Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\Controlled Folder Access\ProtectedFolders\(list subkey)REG_SZ (one value per entry)One value per list entry
What it does (vendor explanation)

Specify additional folders that should be guarded by the Controlled folder access feature.

Files in these folders cannot be modified or deleted by untrusted applications.

Default system folders are automatically protected. You can configure this setting to add additional folders. The list of default system folders that are protected is shown in Windows Security.

Enabled: Specify additional folders that should be protected in the Options section.

Disabled: No additional folders will be protected.

Not configured: Same as Disabled.

You can enable controlled folder access in the Configure controlled folder access GP setting.

Microsoft Defender Antivirus automatically determines which applications can be trusted. You can add additional trusted applications in the Configure allowed applications GP setting.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Microsoft Defender Exploit Guard > Controlled Folder Access > Configure protected folders

Security hardeningADMX: WindowsDefender.admx · policy name ExploitGuard_ControlledFolderAccess_ProtectedFolders

Prevent users and apps from accessing dangerous websites

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1709

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\Network Protection
Value nameEnableNetworkProtection
OptionValueTypeAllowed values
ExploitGuard_EnableNetworkProtectionEnableNetworkProtection0 (REG_DWORD) = Disable (Default)
1 (REG_DWORD) = Block
2 (REG_DWORD) = Audit Mode
What it does (vendor explanation)

Enable or disable Microsoft Defender Exploit Guard network protection to prevent employees from using any application to access dangerous domains that may host phishing scams, exploit-hosting sites, and other malicious content on the Internet.

Enabled: Specify the mode in the Options section: -Block: Users and applications will not be able to access dangerous domains -Audit Mode: Users and applications can connect to dangerous domains, however if this feature would have blocked access if it were set to Block, then a record of the event will be in the event logs.

Disabled: Users and applications will not be blocked from connecting to dangerous domains.

Not configured: Same as Disabled.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Microsoft Defender Exploit Guard > Network Protection > Prevent users and apps from accessing dangerous websites

PowerShell equivalent (generated from the template)
# ExploitGuard_EnableNetworkProtection
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\Network Protection' -Name 'EnableNetworkProtection' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningNetworking (TCP/IP, SMB, DNS)ADMX: WindowsDefender.admx · policy name ExploitGuard_EnableNetworkProtection

This settings controls whether Network Protection is allowed to be configured into block or audit mode on Windows Server.

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1709

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\Network Protection
Value nameAllowNetworkProtectionOnWinServer
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Disabled (Default): If Not Configured or Disabled, network protection is not allowed to be configured into block or audit mode on Windows Server.

Enabled: If Enabled, administrators can control whether Network Protection is allowed to be configured into block or audit mode on Windows Server. Note, that this configuration is dependent on the EnableNetworkProtection configuration. If this configuration is false, EnableNetworkProtection will be ignored, otherwise network protection will start on Windows Server depending on the value of EnableNetworkProtection.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Microsoft Defender Exploit Guard > Network Protection > This settings controls whether Network Protection is allowed to be configured into block or audit mode on Windows Server.

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\Network Protection' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\Network Protection' -Name 'AllowNetworkProtectionOnWinServer' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningNetworking (TCP/IP, SMB, DNS)ADMX: WindowsDefender.admx · policy name AllowNetworkProtectionOnWinServer

Configure extended cloud check

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\MpEngine
Value nameMpBafsExtendedTimeout
OptionValueTypeAllowed values
Specify the extended cloud check time in secondsMpBafsExtendedTimeoutREG_DWORDNumber 0 to 50
What it does (vendor explanation)

This feature allows Microsoft Defender Antivirus to block a suspicious file for up to 60 seconds, and scan it in the cloud to make sure it's safe.

The typical cloud check timeout is 10 seconds. To enable the extended cloud check feature, specify the extended time in seconds, up to an additional 50 seconds.

For example, if the desired timeout is 60 seconds, specify 50 seconds in this setting, which will enable the extended cloud check feature, and will raise the total time to 60 seconds.

Note: This feature depends on three other MAPS settings - "Configure the 'Block at First Sight' feature; "Join Microsoft MAPS"; "Send file samples when further analysis is required" all need to be enabled.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > MpEngine > Configure extended cloud check

PowerShell equivalent (generated from the template)
# Specify the extended cloud check time in seconds
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine' -Name 'MpBafsExtendedTimeout' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name MpEngine_MpBafsExtendedTimeout

Disable gradual rollout of Microsoft Defender updates.

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\MpEngine
Value nameDisableGradualRelease
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Enable this policy to disable gradual rollout of Defender updates.

Current Channel (Broad): Devices set to this channel will be offered updates last during the gradual release cycle. Best for datacenter machines that only receive limited updates.

Note: This setting applies to both monthly as well as daily Defender updates and will override any previously configured channel selections for platform and engine updates.

If you disable or do not configure this policy, the device will remain in Current Channel (Default) unless specified otherwise in specific channels for platform and engine updates. Stay up to date automatically during the gradual release cycle. Suitable for most devices.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > MpEngine > Disable gradual rollout of Microsoft Defender updates.

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine' -Name 'DisableGradualRelease' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name DisableGradualRelease

Enable file hash computation feature

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1909

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\MpEngine
Value nameEnableFileHashComputation
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Enable or disable file hash computation feature.

Enabled: When this feature is enabled Microsoft Defender will compute hash value for files it scans.

Disabled: File hash value is not computed

Not configured: Same as Disabled.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > MpEngine > Enable file hash computation feature

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine' -Name 'EnableFileHashComputation' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name MpEngine_EnableFileHashComputation

Select cloud protection level

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\MpEngine
Value nameMpCloudBlockLevel
OptionValueTypeAllowed values
Select cloud blocking levelMpCloudBlockLevel0 (REG_DWORD) = Default blocking level
1 (REG_DWORD) = Moderate blocking level
2 (REG_DWORD) = High blocking level
4 (REG_DWORD) = High+ blocking level
6 (REG_DWORD) = Zero tolerance blocking level
What it does (vendor explanation)

This policy setting determines how aggressive Microsoft Defender Antivirus will be in blocking and scanning suspicious files.

If this setting is on, Microsoft Defender Antivirus will be more aggressive when identifying suspicious files to block and scan; otherwise, it will be less aggressive and therefore block and scan with less frequency.

For more information about specific values that are supported, see the Microsoft Defender Antivirus documentation site.

Note: This feature requires the "Join Microsoft MAPS" setting enabled in order to function.

Possible options are: (0x0) Default Microsoft Defender Antivirus blocking level (0x1) Moderate Microsoft Defender Antivirus blocking level, delivers verdict only for high confidence detections (0x2) High blocking level - aggressively block unknowns while optimizing client performance (greater chance of false positives) (0x4) High+ blocking level – aggressively block unknowns and apply additional protection measures (may impact client performance) (0x6) Zero tolerance blocking level – block all unknown executables

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > MpEngine > Select cloud protection level

PowerShell equivalent (generated from the template)
# Select cloud blocking level
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine' -Name 'MpCloudBlockLevel' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name MpEngine_MpCloudBlockLevel

Convert warn verdict to block

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1709

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\NIS
Value nameEnableConvertWarnToBlock
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Network protection inspects network traffic and determines whether it allows or blocks traffic or displays a warning.

Disabled (Default): If Not Configured or Disabled, network protection will display a warning for warn verdicts.

Enabled: If this setting is Enabled, network protection blocks network traffic instead of displaying a warning.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Network Inspection System > Convert warn verdict to block

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\NIS' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\NIS' -Name 'EnableConvertWarnToBlock' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningNetworking (TCP/IP, SMB, DNS)ADMX: WindowsDefender.admx · policy name EnableConvertWarnToBlock

Specify additional definition sets for network traffic inspection

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\NIS\Consumers\IPS\SKU Differentiation
Value nameNis_Consumers_IPS_sku_differentiation_Signature_Set_Guid
OptionValueTypeAllowed values
Specify additional definition sets for network traffic inspectionSoftware\Policies\Microsoft\Windows Defender\NIS\Consumers\IPS\SKU Differentiation\Signature Set GUID\(list subkey)REG_SZ (one value per entry)One value per list entry
What it does (vendor explanation)

This policy setting defines additional definition sets to enable for network traffic inspection. Definition set GUIDs should be added under the Options for this setting. Each entry must be listed as a name value pair, where the name should be a string representation of a definition set GUID. As an example, the definition set GUID to enable test security intelligence is defined as: “{b54b6ac9-a737-498e-9120-6616ad3bf590}”. The value is not used and it is recommended that this be set to 0.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Network Inspection System > Specify additional definition sets for network traffic inspection

Security hardeningNetworking (TCP/IP, SMB, DNS)ADMX: WindowsDefender.admx · policy name Nis_Consumers_IPS_sku_differentiation_Signature_Set_Guid

This setting controls datagram processing for network protection.

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1709

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\NIS
Value nameDisableDatagramProcessing
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Disabled (Default): If Not Configured or Disabled, datagram processing will be enabled for network protection.

Enabled: If Enabled, datagram processing will be disabled for network protection.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Network Inspection System > This setting controls datagram processing for network protection.

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\NIS' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\NIS' -Name 'DisableDatagramProcessing' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningNetworking (TCP/IP, SMB, DNS)ADMX: WindowsDefender.admx · policy name DisableDatagramProcessing

Turn on asynchronous inspection

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1709

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\NIS
Value nameAllowSwitchToAsyncInspection
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Control whether network protection can improve performance by switching from real-time inspection to asynchronous inspection.

Disabled (Default): If Not Configured or Disabled, asynchronous inspection will not be enabled for network protection.

Enabled: If Enabled, switching to asynchronous inspection will be allowed for network protection.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Network Inspection System > Turn on asynchronous inspection

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\NIS' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\NIS' -Name 'AllowSwitchToAsyncInspection' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningNetworking (TCP/IP, SMB, DNS)ADMX: WindowsDefender.admx · policy name AllowSwitchToAsyncInspection

Turn on definition retirement

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\NIS\Consumers\IPS
Value nameDisableSignatureRetirement
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure definition retirement for network protection against exploits of known vulnerabilities. Definition retirement checks to see if a computer has the required security updates necessary to protect it against a particular vulnerability. If the system is not vulnerable to the exploit detected by a definition, then that definition is "retired". If all security intelligence for a given protocal are retired then that protocol is no longer parsed. Enabling this feature helps to improve performance. On a computer that is up-to-date with all the latest security updates, network protection will have no impact on network performance.

If you enable or do not configure this setting, definition retirement will be enabled.

If you disable this setting, definition retirement will be disabled.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Network Inspection System > Turn on definition retirement

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\NIS\Consumers\IPS' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\NIS\Consumers\IPS' -Name 'DisableSignatureRetirement' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningNetworking (TCP/IP, SMB, DNS)ADMX: WindowsDefender.admx · policy name Nis_Consumers_IPS_DisableSignatureRetirement

Turn on protocol recognition

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\NIS
Value nameDisableProtocolRecognition
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure protocol recognition for network protection against exploits of known vulnerabilities.

If you enable or do not configure this setting, protocol recognition will be enabled.

If you disable this setting, protocol recognition will be disabled.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Network Inspection System > Turn on protocol recognition

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\NIS' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\NIS' -Name 'DisableProtocolRecognition' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningNetworking (TCP/IP, SMB, DNS)ADMX: WindowsDefender.admx · policy name Nis_DisableProtocolRecognition

Configure local setting override for the removal of items from Quarantine folder

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Quarantine
Value nameLocalSettingOverridePurgeItemsAfterDelay
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting configures a local override for the configuration of the number of days items should be kept in the Quarantine folder before being removed. This setting can only be set by Group Policy.

If you enable this setting, the local preference setting will take priority over Group Policy.

If you disable or do not configure this setting, Group Policy will take priority over the local preference setting.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Quarantine > Configure local setting override for the removal of items from Quarantine folder

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Quarantine' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Quarantine' -Name 'LocalSettingOverridePurgeItemsAfterDelay' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Quarantine_LocalSettingOverridePurgeItemsAfterDelay

Configure removal of items from Quarantine folder

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Quarantine
Value namePurgeItemsAfterDelay
OptionValueTypeAllowed values
Configure removal of items from Quarantine folderPurgeItemsAfterDelayREG_DWORDNumber 0 to 10000000
What it does (vendor explanation)

This policy setting defines the number of days items should be kept in the Quarantine folder before being removed.

If you enable this setting, items will be removed from the Quarantine folder after the number of days specified.

If you disable or do not configure this setting, items will be kept in the quarantine folder indefinitely and will not be automatically removed.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Quarantine > Configure removal of items from Quarantine folder

PowerShell equivalent (generated from the template)
# Configure removal of items from Quarantine folder
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Quarantine' -Name 'PurgeItemsAfterDelay' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Quarantine_PurgeItemsAfterDelay

Configure local setting override for monitoring file and program activity on your computer

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection
Value nameLocalSettingOverrideDisableOnAccessProtection
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting configures a local override for the configuration of monitoring for file and program activity on your computer. This setting can only be set by Group Policy.

If you enable this setting, the local preference setting will take priority over Group Policy.

If you disable or do not configure this setting, Group Policy will take priority over the local preference setting.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Real-time Protection > Configure local setting override for monitoring file and program activity on your computer

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'LocalSettingOverrideDisableOnAccessProtection' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningLanguage, region and inputADMX: WindowsDefender.admx · policy name RealtimeProtection_LocalSettingOverrideDisableOnAccessProtection

Configure local setting override for monitoring for incoming and outgoing file activity

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection
Value nameLocalSettingOverrideRealtimeScanDirection
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting configures a local override for the configuration of monitoring for incoming and outgoing file activity. This setting can only be set by Group Policy.

If you enable this setting, the local preference setting will take priority over Group Policy.

If you disable or do not configure this setting, Group Policy will take priority over the local preference setting.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Real-time Protection > Configure local setting override for monitoring for incoming and outgoing file activity

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'LocalSettingOverrideRealtimeScanDirection' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningLanguage, region and inputADMX: WindowsDefender.admx · policy name RealtimeProtection_LocalSettingOverrideRealtimeScanDirection

Configure local setting override for scanning all downloaded files and attachments

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection
Value nameLocalSettingOverrideDisableIOAVProtection
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting configures a local override for the configuration of scanning for all downloaded files and attachments. This setting can only be set by Group Policy.

If you enable this setting, the local preference setting will take priority over Group Policy.

If you disable or do not configure this setting, Group Policy will take priority over the local preference setting.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Real-time Protection > Configure local setting override for scanning all downloaded files and attachments

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'LocalSettingOverrideDisableIOAVProtection' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningLanguage, region and inputADMX: WindowsDefender.admx · policy name RealtimeProtection_LocalSettingOverrideDisableIOAVProtection

Configure local setting override for turn on behavior monitoring

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection
Value nameLocalSettingOverrideDisableBehaviorMonitoring
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting configures a local override for the configuration of behavior monitoring. This setting can only be set by Group Policy.

If you enable this setting, the local preference setting will take priority over Group Policy.

If you disable or do not configure this setting, Group Policy will take priority over the local preference setting.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Real-time Protection > Configure local setting override for turn on behavior monitoring

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'LocalSettingOverrideDisableBehaviorMonitoring' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningLanguage, region and inputADMX: WindowsDefender.admx · policy name RealtimeProtection_LocalSettingOverrideDisableBehaviorMonitoring

Configure local setting override to turn on real-time protection

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection
Value nameLocalSettingOverrideDisableRealtimeMonitoring
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting configures a local override for the configuration to turn on real-time protection. This setting can only be set by Group Policy.

If you enable this setting, the local preference setting will take priority over Group Policy.

If you disable or do not configure this setting, Group Policy will take priority over the local preference setting.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Real-time Protection > Configure local setting override to turn on real-time protection

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'LocalSettingOverrideDisableRealtimeMonitoring' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningLanguage, region and inputADMX: WindowsDefender.admx · policy name RealtimeProtection_LocalSettingOverrideDisableRealtimeMonitoring

Configure monitoring for incoming and outgoing file and program activity

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection
Value nameRealtimeScanDirection
OptionValueTypeAllowed values
Configure monitoring for incoming and outgoing file and program activityRealtimeScanDirection0 (REG_DWORD) = bi-directional (full on-access)
1 (REG_DWORD) = scan only incoming (disable on-open)
2 (REG_DWORD) = scan only outgoing (disable on-close)
What it does (vendor explanation)

This policy setting allows you to configure monitoring for incoming and outgoing files, without having to turn off monitoring entirely. It is recommended for use on servers where there is a lot of incoming and outgoing file activity but for performance reasons need to have scanning disabled for a particular scan direction. The appropriate configuration should be evaluated based on the server role.

Note that this configuration is only honored for NTFS volumes. For any other file system type, full monitoring of file and program activity will be present on those volumes.

The options for this setting are mutually exclusive: 0 = Scan incoming and outgoing files (default) 1 = Scan incoming files only 2 = Scan outgoing files only

Any other value, or if the value does not exist, resolves to the default (0).

If you enable this setting, the specified type of monitoring will be enabled.

If you disable or do not configure this setting, monitoring for incoming and outgoing files will be enabled.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Real-time Protection > Configure monitoring for incoming and outgoing file and program activity

PowerShell equivalent (generated from the template)
# Configure monitoring for incoming and outgoing file and program activity
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'RealtimeScanDirection' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningLanguage, region and inputADMX: WindowsDefender.admx · policy name RealtimeProtection_RealtimeScanDirection

Configure performance mode status

Per machine Windows 11Windows Server 2025

Supported on: At least Windows 11 22H1 (from the template reference name SUPPORTED_Windows_11_0_22H1)

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection
Value nameDisableAsyncScanOnOpen
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy controls Microsoft Defender Antivirus performance mode for Dev Drives.

A Dev Drive is a disk drive optimized for higher performance in software development scenarios. When this policy is Enabled or not configured, Performance mode is turned on for Microsoft Defender Antivirus. In Performance mode, Microsoft Defender Antivirus security checks of content stored on Dev Drives are conducted asynchronously to enhance performance. Performance mode requires the following policies also be enabled: “Enable dev drive”, and “Dev drive filter attach policy”.

If you either Enable or do not configure this policy setting, Performance mode is turned on.

If you Disable this policy setting, Performance mode is turned off and Microsoft Defender Antivirus will protect a Dev Drive in the same way as other drives.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Real-time Protection > Configure performance mode status

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'DisableAsyncScanOnOpen' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningLanguage, region and inputADMX: WindowsDefender.admx · policy name RealtimeProtection_PerformanceModeStatus

Configure real-time protection and Security Intelligence Updates during OOBE

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection
Value nameOobeEnableRtpAndSigUpdate
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure whether real-time protection and Security Intelligence Updates are enabled during OOBE (Out of Box experience).

If you enable this setting, real-time protection and Security Intelligence Updates are enabled during OOBE.

If you either disable or do not configure this policy setting, real-time protection and Security Intelligence Updates during OOBE is not enabled.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Real-time Protection > Configure real-time protection and Security Intelligence Updates during OOBE

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'OobeEnableRtpAndSigUpdate' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningLanguage, region and inputADMX: WindowsDefender.admx · policy name RealtimeProtection_OobeEnableRtpAndSigUpdate

Define the maximum size of downloaded files and attachments to be scanned

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection
Value nameIOAVMaxSize
OptionValueTypeAllowed values
Define the maximum size of downloaded files and attachments to be scannedIOAVMaxSizeREG_DWORDNumber 0 to 10000000
What it does (vendor explanation)

This policy setting defines the maximum size (in kilobytes) of downloaded files and attachments that will be scanned.

If you enable this setting, downloaded files and attachments smaller than the size specified will be scanned.

If you disable or do not configure this setting, a default size will be applied.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Real-time Protection > Define the maximum size of downloaded files and attachments to be scanned

PowerShell equivalent (generated from the template)
# Define the maximum size of downloaded files and attachments to be scanned
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'IOAVMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningLanguage, region and inputADMX: WindowsDefender.admx · policy name RealtimeProtection_IOAVMaxSize

Monitor file and program activity on your computer

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection
Value nameDisableOnAccessProtection
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure monitoring for file and program activity.

If you enable or do not configure this setting, monitoring for file and program activity will be enabled.

If you disable this setting, monitoring for file and program activity will be disabled.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Real-time Protection > Monitor file and program activity on your computer

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'DisableOnAccessProtection' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningLanguage, region and inputADMX: WindowsDefender.admx · policy name RealtimeProtection_DisableOnAccessProtection

Scan all downloaded files and attachments

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection
Value nameDisableIOAVProtection
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure scanning for all downloaded files and attachments.

If you enable or do not configure this setting, scanning for all downloaded files and attachments will be enabled.

If you disable this setting, scanning for all downloaded files and attachments will be disabled.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Real-time Protection > Scan all downloaded files and attachments

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'DisableIOAVProtection' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningLanguage, region and inputADMX: WindowsDefender.admx · policy name RealtimeProtection_DisableIOAVProtection

Turn off real-time protection

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection
Value nameDisableRealtimeMonitoring
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy turns off real-time protection in Microsoft Defender Antivirus.

Real-time protection consists of always-on scanning with file and process behavior monitoring and heuristics. When real-time protection is on, Microsoft Defender Antivirus detects malware and potentially unwanted software that attempts to install itself or run on your device, and prompts you to take action on malware detections.

If you enable this policy setting, real-time protection is turned off.

If you either disable or do not configure this policy setting, real-time protection is turned on.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Real-time Protection > Turn off real-time protection

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'DisableRealtimeMonitoring' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningLanguage, region and inputADMX: WindowsDefender.admx · policy name DisableRealtimeMonitoring

Turn on behavior monitoring

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection
Value nameDisableBehaviorMonitoring
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure behavior monitoring.

If you enable or do not configure this setting, behavior monitoring will be enabled.

If you disable this setting, behavior monitoring will be disabled.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Real-time Protection > Turn on behavior monitoring

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'DisableBehaviorMonitoring' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningLanguage, region and inputADMX: WindowsDefender.admx · policy name RealtimeProtection_DisableBehaviorMonitoring

Turn on process scanning whenever real-time protection is enabled

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection
Value nameDisableScanOnRealtimeEnable
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure process scanning when real-time protection is turned on. This helps to catch malware which could start when real-time protection is turned off.

If you enable or do not configure this setting, a process scan will be initiated when real-time protection is turned on.

If you disable this setting, a process scan will not be initiated when real-time protection is turned on.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Real-time Protection > Turn on process scanning whenever real-time protection is enabled

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'DisableScanOnRealtimeEnable' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningLanguage, region and inputADMX: WindowsDefender.admx · policy name RealtimeProtection_DisableScanOnRealtimeEnable

Turn on raw volume write notifications

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection
Value nameDisableRawWriteNotification
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls whether raw volume write notifications are sent to behavior monitoring.

If you enable or do not configure this setting, raw write notifications will be enabled.

If you disable this setting, raw write notifications be disabled.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Real-time Protection > Turn on raw volume write notifications

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'DisableRawWriteNotification' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningLanguage, region and inputADMX: WindowsDefender.admx · policy name RealtimeProtection_DisableRawWriteNotification

Turn on script scanning

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection
Value nameDisableScriptScanning
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure script scanning.

If you enable or do not configure this setting, script scanning will be enabled.

If you disable this setting, script scanning will be disabled.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Real-time Protection > Turn on script scanning

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Real-Time Protection' -Name 'DisableScriptScanning' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningLanguage, region and inputADMX: WindowsDefender.admx · policy name RealtimeProtection_DisableSriptScanning

Configure local setting override for the time of day to run a scheduled full scan to complete remediation

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Remediation
Value nameLocalSettingOverrideScan_ScheduleTime
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting configures a local override for the configuration of the time to run a scheduled full scan to complete remediation. This setting can only be set by Group Policy.

If you enable this setting, the local preference setting will take priority over Group Policy.

If you disable or do not configure this setting, Group Policy will take priority over the local preference setting.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Remediation > Configure local setting override for the time of day to run a scheduled full scan to complete remediation

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Remediation' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Remediation' -Name 'LocalSettingOverrideScan_ScheduleTime' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Remediation_LocalSettingOverrideScan_ScheduleTime

Specify the day of the week to run a scheduled full scan to complete remediation

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Remediation
Value nameScan_ScheduleDay
OptionValueTypeAllowed values
Specify the day of the week to run a scheduled full scan to complete remediationScan_ScheduleDay8 (REG_DWORD) = Never
0 (REG_DWORD) = Every Day
1 (REG_DWORD) = Sunday
2 (REG_DWORD) = Monday
3 (REG_DWORD) = Tuesday
4 (REG_DWORD) = Wednesday
5 (REG_DWORD) = Thursday
6 (REG_DWORD) = Friday
7 (REG_DWORD) = Saturday
What it does (vendor explanation)

This policy setting allows you to specify the day of the week on which to perform a scheduled full scan in order to complete remediation. The scan can also be configured to run every day or to never run at all.

This setting can be configured with the following ordinal number values: (0x0) Every Day (0x1) Sunday (0x2) Monday (0x3) Tuesday (0x4) Wednesday (0x5) Thursday (0x6) Friday (0x7) Saturday (0x8) Never (default)

If you enable this setting, a scheduled full scan to complete remediation will run at the frequency specified.

If you disable or do not configure this setting, a scheduled full scan to complete remediation will run at a default frequency.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Remediation > Specify the day of the week to run a scheduled full scan to complete remediation

PowerShell equivalent (generated from the template)
# Specify the day of the week to run a scheduled full scan to complete remediation
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Remediation' -Name 'Scan_ScheduleDay' -Value 8 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Remediation_Scan_ScheduleDay

Specify the time of day to run a scheduled full scan to complete remediation

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Remediation
Value nameScan_ScheduleTime
OptionValueTypeAllowed values
Specify the time of day to run a scheduled full scan to complete remediationScan_ScheduleTimeREG_DWORDNumber 0 to 1440
What it does (vendor explanation)

This policy setting allows you to specify the time of day at which to perform a scheduled full scan in order to complete remediation. The time value is represented as the number of minutes past midnight (00:00). For example, 120 (0x78) is equivalent to 02:00 AM. The schedule is based on local time on the computer where the scan is executing.

If you enable this setting, a scheduled full scan to complete remediation will run at the time of day specified.

If you disable or do not configure this setting, a scheduled full scan to complete remediation will run at a default time.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Remediation > Specify the time of day to run a scheduled full scan to complete remediation

PowerShell equivalent (generated from the template)
# Specify the time of day to run a scheduled full scan to complete remediation
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Remediation' -Name 'Scan_ScheduleTime' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Remediation_Scan_ScheduleTime

Configure Brute-Force Protection aggressiveness

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Remediation\Behavioral Network Blocks\Brute Force Protection
Value nameBruteForceProtectionAggressiveness
OptionValueTypeAllowed values
Specify how aggressively Brute-Force Protection blocks threatsBruteForceProtectionAggressiveness0 (REG_DWORD) = Low
1 (REG_DWORD) = Medium
2 (REG_DWORD) = High
What it does (vendor explanation)

Set the criteria for when Brute-Force Protection blocks IP addresses.

Supported settings: *0 - Low: Block only when confidence level is 100% (Default) *1 - Medium: Use cloud aggregation and block when confidence level is above 99% *2 - High: Use cloud intel and context, and block when confidence level is above 90%

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Remediation > Behavioral Network Blocks > Brute-Force Protection > Configure Brute-Force Protection aggressiveness

PowerShell equivalent (generated from the template)
# Specify how aggressively Brute-Force Protection blocks threats
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Remediation\Behavioral Network Blocks\Brute Force Protection' -Name 'BruteForceProtectionAggressiveness' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningNetworking (TCP/IP, SMB, DNS)ADMX: WindowsDefender.admx · policy name Remediation_BNB_BFP_BruteForceProtection_Aggressiveness

Configure Brute-Force Protection blocking time

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Remediation\Behavioral Network Blocks\Brute Force Protection
Value nameBruteForceProtectionMaxBlockTime
OptionValueTypeAllowed values
Specify how long to block detections for, in minutesBruteForceProtectionMaxBlockTimeREG_DWORDNumber 0 to 4294967295
What it does (vendor explanation)

Set the maximum time an IP address is blocked by Brute-Force Protection. After this time, blocked IP addresses will be able to sign-in and initiate sessions.

Supported settings: * 0 - None: Internal feature logic will determine the actual blocking time * Specify other times in 15-minute increments

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Remediation > Behavioral Network Blocks > Brute-Force Protection > Configure Brute-Force Protection blocking time

PowerShell equivalent (generated from the template)
# Specify how long to block detections for, in minutes
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Remediation\Behavioral Network Blocks\Brute Force Protection' -Name 'BruteForceProtectionMaxBlockTime' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningNetworking (TCP/IP, SMB, DNS)ADMX: WindowsDefender.admx · policy name Remediation_BNB_BFP_BruteForceProtection_MaxBlockTime

Configure Remote Encryption Protection Mode

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Remediation\Behavioral Network Blocks\Brute Force Protection
Value nameBruteForceProtectionConfiguredState
OptionValueTypeAllowed values
Specify the state of Brute-Force ProtectionBruteForceProtectionConfiguredState0 (REG_DWORD) = Default
1 (REG_DWORD) = Block
2 (REG_DWORD) = Audit
4 (REG_DWORD) = Off
What it does (vendor explanation)

Set the mode for Brute-Force Protection in Microsoft Defender Antivirus, which can detect and block attempts to forcibly initiate sign in and initiate sessions.

Supported settings: * 0 - Not configured or Default: Apply defaults, which can vary depending on the antivirus engine version and the platform * 1 - Block: Prevent suspicious and malicious behaviors * 2 - Audit: Generate EDR detections without blocking * 4 - Off: Feature is off with no performance impact

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Remediation > Behavioral Network Blocks > Brute-Force Protection > Configure Remote Encryption Protection Mode

PowerShell equivalent (generated from the template)
# Specify the state of Brute-Force Protection
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Remediation\Behavioral Network Blocks\Brute Force Protection' -Name 'BruteForceProtectionConfiguredState' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningNetworking (TCP/IP, SMB, DNS)ADMX: WindowsDefender.admx · policy name Remediation_BNB_BFP_BruteForceProtection_ConfiguredState

Set exclusions from Brute-Force Protection

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Remediation\Behavioral Network Blocks\Brute Force Protection
Value nameBruteForceProtection_Exclusions
OptionValueTypeAllowed values
Brute-Force Protection ExclusionsSoftware\Policies\Microsoft\Windows Defender\Remediation\Behavioral Network Blocks\Brute Force Protection\BruteForceProtectionExclusions\(list subkey)REG_SZ (one value per entry)One value per list entry
What it does (vendor explanation)

Specify IP addresses, subnets or workstation names to exclude from Brute-Force Protection. Excluded IP addresses will not be checked for possible brute force activity.

Note that attackers can spoof excluded addresses and names to bypass protection. Ensure the names are unique and unlikely to be guessed by attackers.

Enter each address or subnet on a new line as a name-value pair: - Name column: Enter an IP address, subnet name, or workstation name. For example, "1.1.127.0" will exclude this IP address from getting blocked by BFP. - Value column: Enter "0" for each item

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Remediation > Behavioral Network Blocks > Brute-Force Protection > Set exclusions from Brute-Force Protection

Security hardeningNetworking (TCP/IP, SMB, DNS)ADMX: WindowsDefender.admx · policy name Remediation_BNB_BFP_BruteForceProtectionExclusions

Configure Remote Encryption Protection Mode

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Remediation\Behavioral Network Blocks\Remote Encryption Protection
Value nameRemoteEncryptionProtectionConfiguredState
OptionValueTypeAllowed values
Specify the state of Remote Encryption ProtectionRemoteEncryptionProtectionConfiguredState0 (REG_DWORD) = Default
1 (REG_DWORD) = Block
2 (REG_DWORD) = Audit
4 (REG_DWORD) = Off
What it does (vendor explanation)

Set the mode for Remote Encryption Protection in Microsoft Defender Antivirus, which can detect and block attempts to replace local files with encrypted versions from another device.

Supported settings: * 0 - Not configured or Default: Apply defaults, which can vary depending on the antivirus engine version and the platform * 1 - Block: Prevent suspicious and malicious behaviors * 2 - Audit: Generate EDR detections without blocking * 4 - Off: Feature is off with no performance impact

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Remediation > Behavioral Network Blocks > Remote Encryption Protection > Configure Remote Encryption Protection Mode

PowerShell equivalent (generated from the template)
# Specify the state of Remote Encryption Protection
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Remediation\Behavioral Network Blocks\Remote Encryption Protection' -Name 'RemoteEncryptionProtectionConfiguredState' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningNetworking (TCP/IP, SMB, DNS)ADMX: WindowsDefender.admx · policy name Remediation_BNB_REP_RemoteEncryptionProtection_ConfiguredState

Configure Remote Encryption Protection blocking time

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Remediation\Behavioral Network Blocks\Remote Encryption Protection
Value nameRemoteEncryptionProtectionMaxBlockTime
OptionValueTypeAllowed values
Specify how long to block detections for, in minutesRemoteEncryptionProtectionMaxBlockTimeREG_DWORDNumber 0 to 4294967295
What it does (vendor explanation)

Set the maximum time an IP address is blocked by Remote Encryption Protection. After this time, blocked IP addresses will be able to reinitiate connections.

Supported settings: * 0 - None: Internal feature logic will determine the actual blocking time * Specify other times in 15-minute increments

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Remediation > Behavioral Network Blocks > Remote Encryption Protection > Configure Remote Encryption Protection blocking time

PowerShell equivalent (generated from the template)
# Specify how long to block detections for, in minutes
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Remediation\Behavioral Network Blocks\Remote Encryption Protection' -Name 'RemoteEncryptionProtectionMaxBlockTime' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningNetworking (TCP/IP, SMB, DNS)ADMX: WindowsDefender.admx · policy name Remediation_BNB_REP_RemoteEncryptionProtection_MaxBlockTime

Configure how aggressively Remote Encryption Protection blocks threats

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Remediation\Behavioral Network Blocks\Remote Encryption Protection
Value nameRemoteEncryptionProtectionAggressiveness
OptionValueTypeAllowed values
Specify how aggressively Remote Encryption Protection blocks threatsRemoteEncryptionProtectionAggressiveness0 (REG_DWORD) = Low
1 (REG_DWORD) = Medium
2 (REG_DWORD) = High
What it does (vendor explanation)

Set the criteria for when remote encryption preventionprotection blocks IP addresses.

Supported settings: *0 - Low: Block only when confidence level is 100% (Default) *1 - Medium: Use cloud aggregation and block when confidence level is above 99% *2 - High: Use cloud intel and context, and block when confidence level is above 90%

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Remediation > Behavioral Network Blocks > Remote Encryption Protection > Configure how aggressively Remote Encryption Protection blocks threats

PowerShell equivalent (generated from the template)
# Specify how aggressively Remote Encryption Protection blocks threats
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Remediation\Behavioral Network Blocks\Remote Encryption Protection' -Name 'RemoteEncryptionProtectionAggressiveness' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningNetworking (TCP/IP, SMB, DNS)ADMX: WindowsDefender.admx · policy name Remediation_BNB_REP_RemoteEncryptionProtection_Aggressiveness

Set exclusions from Remote Encryption Protection

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Remediation\Behavioral Network Blocks\Remote Encryption Protection
Value nameRemoteEncryptionProtection_Exclusions
OptionValueTypeAllowed values
Remote Encryption Protection ExclusionsSoftware\Policies\Microsoft\Windows Defender\Remediation\Behavioral Network Blocks\Remote Encryption Protection\RemoteEncryptionProtectionExclusions\(list subkey)REG_SZ (one value per entry)One value per list entry
What it does (vendor explanation)

Specify IP addresses, subnets, and domain names to exclude from Remote Encryption Protection. Note that attackers can spoof excluded addresses and names to bypass protection.

Enter each address or subnet on a new line as a name-value pair: - Name column: Enter an IP address or subnet name. For example, ""1.1.127.0"" will exclude this IP address from getting blocked. - Value column: Enter ""0"" for each item

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Remediation > Behavioral Network Blocks > Remote Encryption Protection > Set exclusions from Remote Encryption Protection

Security hardeningNetworking (TCP/IP, SMB, DNS)ADMX: WindowsDefender.admx · policy name Remediation_BNB_REP_RemoteEncryptionProtectionExclusions

Configure WPP tracing level

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Reporting
Value nameWppTracingLevel
OptionValueTypeAllowed values
Configure WPP tracing levelWppTracingLevelREG_DWORDNumber 0 to 4294967295
What it does (vendor explanation)

This policy allows you to configure tracing levels for Windows software trace preprocessor (WPP Software Tracing). Tracing levels are defined as: 1 - Error 2 - Warning 3 - Info 4 - Debug

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Reporting > Configure WPP tracing level

PowerShell equivalent (generated from the template)
# Configure WPP tracing level
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Reporting' -Name 'WppTracingLevel' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Reporting_WppTracingLevel

Configure Watson events

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Reporting
Value nameDisableGenericRePorts
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure whether or not Watson events are sent.

If you enable or do not configure this setting, Watson events will be sent.

If you disable this setting, Watson events will not be sent.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Reporting > Configure Watson events

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Reporting' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Reporting' -Name 'DisableGenericRePorts' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Reporting_DisablegenericrePorts

Configure Windows software trace preprocessor components

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Reporting
Value nameWppTracingComponents
OptionValueTypeAllowed values
Configure Windows software trace preprocessor componentsWppTracingComponentsREG_DWORDNumber 0 to 4294967295
What it does (vendor explanation)

This policy configures Windows software trace preprocessor (WPP Software Tracing) components.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Reporting > Configure Windows software trace preprocessor components

PowerShell equivalent (generated from the template)
# Configure Windows software trace preprocessor components
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Reporting' -Name 'WppTracingComponents' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Reporting_WppTracingComponents

Configure time interval for service health reports

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Reporting
Value nameServiceHealthReportInterval
OptionValueTypeAllowed values
Configure time interval for service health reportsServiceHealthReportIntervalREG_DWORDNumber 0 to 14400
What it does (vendor explanation)

This policy setting configures the time interval (in minutes) for the service health reports to be sent from endpoints.

If you disable or do not configure this setting, the default value will be applied. The default value is set at 60 minutes (1 hour).

If you configure this setting to 0, no service health reports will be sent.

The maximum value allowed to be set is 14400 minutes (10 days).

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Reporting > Configure time interval for service health reports

PowerShell equivalent (generated from the template)
# Configure time interval for service health reports
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Reporting' -Name 'ServiceHealthReportInterval' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Reporting_ServiceHealthReportInterval

Configure time out for detections in critically failed state

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Reporting
Value nameCriticalFailureTimeout
OptionValueTypeAllowed values
Configure time out for detections in critically failed stateCriticalFailureTimeoutREG_DWORDNumber 0 to 4294967295
What it does (vendor explanation)

This policy setting configures the time in minutes before a detection in the “critically failed” state to moves to either the “additional action” state or the “cleared” state.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Reporting > Configure time out for detections in critically failed state

PowerShell equivalent (generated from the template)
# Configure time out for detections in critically failed state
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Reporting' -Name 'CriticalFailureTimeout' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Reporting_CriticalFailureTimeout

Configure time out for detections in non-critical failed state

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Reporting
Value nameNonCriticalTimeout
OptionValueTypeAllowed values
Configure time out for detections in non-critical failed stateNonCriticalTimeoutREG_DWORDNumber 0 to 4294967295
What it does (vendor explanation)

This policy setting configures the time in minutes before a detection in the "non-critically failed" state moves to the "cleared" state.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Reporting > Configure time out for detections in non-critical failed state

PowerShell equivalent (generated from the template)
# Configure time out for detections in non-critical failed state
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Reporting' -Name 'NonCriticalTimeout' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Reporting_NonCriticalTimeout

Configure time out for detections in recently remediated state

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Reporting
Value nameRecentlyCleanedTimeout
OptionValueTypeAllowed values
Configure time out for detections in recently remediated stateRecentlyCleanedTimeoutREG_DWORDNumber 0 to 4294967295
What it does (vendor explanation)

This policy setting configures the time in minutes before a detection in the "completed" state moves to the "cleared" state.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Reporting > Configure time out for detections in recently remediated state

PowerShell equivalent (generated from the template)
# Configure time out for detections in recently remediated state
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Reporting' -Name 'RecentlyCleanedTimeout' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Reporting_RecentlyCleanedTimeout

Configure time out for detections requiring additional action

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Reporting
Value nameAdditionalActionTimeout
OptionValueTypeAllowed values
Configure time out for detections requiring additional actionAdditionalActionTimeoutREG_DWORDNumber 0 to 4294967295
What it does (vendor explanation)

This policy setting configures the time in minutes before a detection in the "additional action" state moves to the "cleared" state.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Reporting > Configure time out for detections requiring additional action

PowerShell equivalent (generated from the template)
# Configure time out for detections requiring additional action
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Reporting' -Name 'AdditionalActionTimeout' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Reporting_AdditionalActionTimeout

Configure whether to report Dynamic Signature dropped events

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Reporting
Value nameEnableDynamicSignatureDroppedEventReporting
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting configures whether to report Dynamic Signature dropped events.

If you do not configure this setting, the default value will be applied. The default value is set to disabled (such events are not reported). If you configure this setting to enabled, Dynamic Signature dropped events will be reported. If you configure this setting to disabled, Dynamic Signature dropped events will not be reported.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Reporting > Configure whether to report Dynamic Signature dropped events

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Reporting' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Reporting' -Name 'EnableDynamicSignatureDroppedEventReporting' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Reporting_EnableDynamicSignatureDroppedEventReporting

Turn off enhanced notifications

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Reporting
Value nameDisableEnhancedNotifications
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Use this policy setting to specify if you want Microsoft Defender Antivirus enhanced notifications to display on clients.

If you disable or do not configure this setting, Microsoft Defender Antivirus enhanced notifications will display on clients.

If you enable this setting, Microsoft Defender Antivirus enhanced notifications will not display on clients.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Reporting > Turn off enhanced notifications

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Reporting' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Reporting' -Name 'DisableEnhancedNotifications' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Reporting_DisableEnhancedNotifications

Allow users to pause scan

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameAllowPause
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to manage whether or not end users can pause a scan in progress.

If you enable or do not configure this setting, a new context menu will be added to the task tray icon to allow the user to pause a scan.

If you disable this setting, users will not be able to pause scans.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Allow users to pause scan

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'AllowPause' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_AllowPause

CPU throttling type

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1607

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameThrottleForScheduledScanOnly
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting determines whether the maximum percentage CPU utilization permitted during a scan applies only to scheduled scans, or to both scheduled and custom scans (but not real-time protection). The maximum CPU utilization limit is also referred to as CPU throttling, or a CPU usage limit.

The default value for this policy setting is True, which means CPU throttling is applied only to scheduled scans.

If you either enable or do not configure this setting, CPU throttling will apply only to scheduled scans.

If you disable this setting, CPU throttling will apply to scheduled and custom scans.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > CPU throttling type

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'ThrottleForScheduledScanOnly' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_ThrottleForScheduledScanOnly

Check for the latest virus and spyware security intelligence before running a scheduled scan

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Vista

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameCheckForSignaturesBeforeRunningScan
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to manage whether a check for new virus and spyware security intelligence will occur before running a scan.

This setting applies to scheduled scans, but it has no effect on scans initiated manually from the user interface or to the ones started from the command line using "mpcmdrun -Scan".

If you enable this setting, a check for new security intelligence will occur before running a scan.

If you disable this setting or do not configure this setting, the scan will start using the existing security intelligence.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Check for the latest virus and spyware security intelligence before running a scheduled scan

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'CheckForSignaturesBeforeRunningScan' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name CheckForSignaturesBeforeRunningScan

Configure local setting override for maximum percentage of CPU utilization

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameLocalSettingOverrideAvgCPULoadFactor
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting configures a local override for the configuration of maximum percentage of CPU utilization during scan. This setting can only be set by Group Policy.

If you enable this setting, the local preference setting will take priority over Group Policy.

If you disable or do not configure this setting, Group Policy will take priority over the local preference setting.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Configure local setting override for maximum percentage of CPU utilization

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'LocalSettingOverrideAvgCPULoadFactor' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_LocalSettingOverrideAvgCPULoadFactor

Configure local setting override for schedule scan day

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameLocalSettingOverrideScheduleDay
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting configures a local override for the configuration of scheduled scan day. This setting can only be set by Group Policy.

If you enable this setting, the local preference setting will take priority over Group Policy.

If you disable or do not configure this setting, Group Policy will take priority over the local preference setting.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Configure local setting override for schedule scan day

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'LocalSettingOverrideScheduleDay' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_LocalSettingOverrideScheduleDay

Configure local setting override for scheduled quick scan time

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameLocalSettingOverrideScheduleQuickScanTime
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting configures a local override for the configuration of scheduled quick scan time. This setting can only be set by Group Policy.

If you enable this setting, the local preference setting will take priority over Group Policy.

If you disable or do not configure this setting, Group Policy will take priority over the local preference setting.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Configure local setting override for scheduled quick scan time

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'LocalSettingOverrideScheduleQuickScanTime' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_LocalSettingOverrideScheduleQuickScantime

Configure local setting override for scheduled scan time

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameLocalSettingOverrideScheduleTime
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting configures a local override for the configuration of scheduled scan time. This setting can only be set by Group Policy.

If you enable this setting, the local preference setting will take priority over Group Policy.

If you disable or do not configure this setting, Group Policy will take priority over the local preference setting.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Configure local setting override for scheduled scan time

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'LocalSettingOverrideScheduleTime' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_LocalSettingOverrideScheduleTime

Configure local setting override for the scan type to use for a scheduled scan

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameLocalSettingOverrideScanParameters
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting configures a local override for the configuration of the scan type to use during a scheduled scan. This setting can only be set by Group Policy.

If you enable this setting, the local preference setting will take priority over Group Policy.

If you disable or do not configure this setting, Group Policy will take priority over the local preference setting.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Configure local setting override for the scan type to use for a scheduled scan

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'LocalSettingOverrideScanParameters' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_LocalSettingOverrideScanParameters

Configure low CPU priority for scheduled scans

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1809

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameLowCpuPriority
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to enable or disable low CPU priority for scheduled scans.

If you enable this setting, low CPU priority will be used during scheduled scans.

If you disable or do not configure this setting, not changes will be made to CPU priority for scheduled scans.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Configure low CPU priority for scheduled scans

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'LowCpuPriority' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_LowCpuPriority

Configure scanning of network files

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameDisableScanningNetworkFiles
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows the scanning of network files using on access protection. The default is enabled. Recommended to remain enabled in most cases.

If you enable or do not configure this setting, network files will be scanned.

If you disable this setting, network files will not be scanned.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Configure scanning of network files

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'DisableScanningNetworkFiles' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_DisableScanningNetworkFiles

Create a system restore point

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameDisableRestorePoint
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to create a system restore point on the computer on a daily basis prior to cleaning.

If you enable this setting, a system restore point will be created.

If you disable or do not configure this setting, a system restore point will not be created.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Create a system restore point

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'DisableRestorePoint' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_DisableRestorePoint

Define the number of days after which a catch-up scan is forced

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameMissedScheduledScanCountBeforeCatchup
OptionValueTypeAllowed values
Define the number of scheduled scans that can be missed after which a catch-up scan is forcedMissedScheduledScanCountBeforeCatchupREG_DWORDNumber 2 to 20
What it does (vendor explanation)

This policy setting allows you to define the number of consecutive scheduled scans that can be missed after which a catch-up scan will be forced. By default, the value of this setting is 2 consecutive scheduled scans.

If you enable this setting, a catch-up scan will occur after the specified number consecutive missed scheduled scans.

If you disable or do not configure this setting, a catch-up scan will occur after the 2 consecutive missed scheduled scans.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Define the number of days after which a catch-up scan is forced

PowerShell equivalent (generated from the template)
# Define the number of scheduled scans that can be missed after which a catch-up scan is forced
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'MissedScheduledScanCountBeforeCatchup' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_MissedScheduledScanCountBeforeCatchup

Run full scan on mapped network drives

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameDisableScanningMappedNetworkDrivesForFullScan
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure scanning mapped network drives.

If you enable this setting, mapped network drives will be scanned.

If you disable or do not configure this setting, mapped network drives will not be scanned.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Run full scan on mapped network drives

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'DisableScanningMappedNetworkDrivesForFullScan' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_DisableScanningMappedNetworkDrivesForFullScan

Scan archive files

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameDisableArchiveScanning
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure scans for malicious software and unwanted software in archive files such as .ZIP or .CAB files.

If you enable or do not configure this setting, archive files will be scanned.

If you disable this setting, archive files will not be scanned. However, archives are always scanned during directed scans.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Scan archive files

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'DisableArchiveScanning' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_DisableArchiveScanning

Scan excluded files and directories during quick scans

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameQuickScanIncludeExclusions
OptionValueTypeAllowed values
Scan_QuickScanIncludeExclusionsQuickScanIncludeExclusions0 (REG_DWORD) = 0
1 (REG_DWORD) = 1
What it does (vendor explanation)

This policy setting allows you to scan excluded files and directories during quick scans.

If you set this policy setting to 1, all files and directories that are excluded from real-time protection using contextual exclusions are scanned during a quick scan.

If you set this policy to 0 or do not configure it, exclusions are not scanned during quick scans.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Scan excluded files and directories during quick scans

PowerShell equivalent (generated from the template)
# Scan_QuickScanIncludeExclusions
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'QuickScanIncludeExclusions' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_QuickScanIncludeExclusions

Scan packed executables

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameDisablePackedExeScanning
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure scanning for packed executables. It is recommended that this type of scanning remain enabled.

If you enable or do not configure this setting, packed executables will be scanned.

If you disable this setting, packed executables will not be scanned.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Scan packed executables

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'DisablePackedExeScanning' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_DisablePackedExeScanning

Scan removable drives

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameDisableRemovableDriveScanning
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to manage whether or not to scan for malicious software and unwanted software in the contents of removable drives, such as USB flash drives, when running a full scan.

If you enable this setting, removable drives will be scanned during any type of scan.

If you disable or do not configure this setting, removable drives will not be scanned during a full scan. Removable drives may still be scanned during quick scan and custom scan.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Scan removable drives

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'DisableRemovableDriveScanning' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_DisableRemovableDriveScanning

Specify the day of the week to run a scheduled scan

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameScheduleDay
OptionValueTypeAllowed values
Specify the day of the week to run a scheduled scanScheduleDay8 (REG_DWORD) = Never
0 (REG_DWORD) = Every Day
1 (REG_DWORD) = Sunday
2 (REG_DWORD) = Monday
3 (REG_DWORD) = Tuesday
4 (REG_DWORD) = Wednesday
5 (REG_DWORD) = Thursday
6 (REG_DWORD) = Friday
7 (REG_DWORD) = Saturday
What it does (vendor explanation)

This policy setting allows you to specify the day of the week on which to perform a scheduled scan. The scan can also be configured to run every day or to never run at all.

This setting can be configured with the following ordinal number values: (0x0) Every Day (0x1) Sunday (0x2) Monday (0x3) Tuesday (0x4) Wednesday (0x5) Thursday (0x6) Friday (0x7) Saturday (0x8) Never (default)

If you enable this setting, a scheduled scan will run at the frequency specified.

If you disable or do not configure this setting, a scheduled scan will run at a default frequency.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Specify the day of the week to run a scheduled scan

PowerShell equivalent (generated from the template)
# Specify the day of the week to run a scheduled scan
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'ScheduleDay' -Value 8 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_ScheduleDay

Specify the interval to run quick scans per day

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameQuickScanInterval
OptionValueTypeAllowed values
Specify the interval to run quick scans per dayQuickScanIntervalREG_DWORDNumber 0 to 24
What it does (vendor explanation)

This policy setting allows you to specify an interval at which to perform a quick scan. The time value is represented as the number of hours between quick scans. Valid values range from 1 (every hour) to 24 (once per day). If set to zero, interval quick scans will not occur. By default, this setting is set to 0.

If you enable this setting, a quick scan will run at the interval specified.

If you disable or do not configure this setting, quick scan controlled by this config will not be run.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Specify the interval to run quick scans per day

PowerShell equivalent (generated from the template)
# Specify the interval to run quick scans per day
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'QuickScanInterval' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_QuickScanInterval

Specify the maximum depth to scan archive files

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameArchiveMaxDepth
OptionValueTypeAllowed values
Specify the maximum depth to scan archive filesArchiveMaxDepthREG_DWORDNumber 0 to 4294967295
What it does (vendor explanation)

This policy setting allows you to configure the maximum directory depth level into which archive files such as .ZIP or .CAB are unpacked during scanning. The default directory depth level is 0.

If you enable this setting, archive files will be scanned to the directory depth level specified.

If you disable or do not configure this setting, archive files will be scanned to the default directory depth level.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Specify the maximum depth to scan archive files

PowerShell equivalent (generated from the template)
# Specify the maximum depth to scan archive files
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'ArchiveMaxDepth' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_ArchiveMaxDepth

Specify the maximum percentage of CPU utilization during a scan

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameAvgCPULoadFactor
OptionValueTypeAllowed values
Specify the maximum percentage of CPU utilization during a scanAvgCPULoadFactorREG_DWORDNumber 0 to 100
What it does (vendor explanation)

This policy setting allows you to configure the maximum percentage CPU utilization permitted during a scan. Valid values for this setting are a percentage represented by the integers 5 to 100. A value of 0 indicates that there should be no throttling of CPU utilization. The default value is 50.

If you enable this setting, CPU utilization will not exceed the percentage specified.

If you disable or do not configure this setting, CPU utilization will not exceed the default value.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Specify the maximum percentage of CPU utilization during a scan

PowerShell equivalent (generated from the template)
# Specify the maximum percentage of CPU utilization during a scan
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'AvgCPULoadFactor' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_AvgCPULoadFactor

Specify the maximum size of archive files to be scanned

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameArchiveMaxSize
OptionValueTypeAllowed values
Specify the maximum size of archive files to be scannedArchiveMaxSizeREG_DWORDNumber 0 to 4294967295
What it does (vendor explanation)

This policy setting allows you to configure the maximum size of archive files such as .ZIP or .CAB that will be scanned. The value represents file size in kilobytes (KB). The default value is 0 and represents no limit to archive size for scanning.

If you enable this setting, archive files less than or equal to the size specified will be scanned.

If you disable or do not configure this setting, archive files will be scanned according to the default value.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Specify the maximum size of archive files to be scanned

PowerShell equivalent (generated from the template)
# Specify the maximum size of archive files to be scanned
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'ArchiveMaxSize' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_ArchiveMaxSize

Specify the scan type to use for a scheduled scan

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameScanParameters
OptionValueTypeAllowed values
Specify the scan type to use for a scheduled scanScanParameters1 (REG_DWORD) = Quick scan
2 (REG_DWORD) = Full system scan
What it does (vendor explanation)

This policy setting allows you to specify the scan type to use during a scheduled scan. Scan type options are: 1 = Quick Scan (default) 2 = Full Scan

If you enable this setting, the scan type will be set to the specified value.

If you disable or do not configure this setting, the default scan type will used.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Specify the scan type to use for a scheduled scan

PowerShell equivalent (generated from the template)
# Specify the scan type to use for a scheduled scan
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'ScanParameters' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_ScanParameters

Specify the time for a daily quick scan

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameScheduleQuickScanTime
OptionValueTypeAllowed values
Specify the time for a daily quick scanScheduleQuickScanTimeREG_DWORDNumber 0 to 1440
What it does (vendor explanation)

This policy setting allows you to specify the time of day at which to perform a daily quick scan. The time value is represented as the number of minutes past midnight (00:00). For example, 120 (0x78) is equivalent to 02:00 AM. By default, this setting is set to disabled. The schedule is based on local time on the computer where the scan is executing.

If you enable this setting, a daily quick scan will run at the time of day specified.

If you disable or do not configure this setting, daily quick scan controlled by this config will not be run.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Specify the time for a daily quick scan

PowerShell equivalent (generated from the template)
# Specify the time for a daily quick scan
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'ScheduleQuickScanTime' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_ScheduleQuickScantime

Specify the time of day to run a scheduled scan

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameScheduleTime
OptionValueTypeAllowed values
Specify the time of day to run a scheduled scanScheduleTimeREG_DWORDNumber 0 to 1440
What it does (vendor explanation)

This policy setting allows you to specify the time of day at which to perform a scheduled scan. The time value is represented as the number of minutes past midnight (00:00). For example, 120 (0x78) is equivalent to 02:00 AM. By default, this setting is set to a time value of 2:00 AM. The schedule is based on local time on the computer where the scan is executing.

If you enable this setting, a scheduled scan will run at the time of day specified.

If you disable or do not configure this setting, a scheduled scan will run at a default time.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Specify the time of day to run a scheduled scan

PowerShell equivalent (generated from the template)
# Specify the time of day to run a scheduled scan
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'ScheduleTime' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_ScheduleTime

Start the scheduled scan only when computer is on but not in use

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameScanOnlyIfIdle
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure scheduled scans to start only when your computer is on but not in use.

If you enable or do not configure this setting, scheduled scans will only run when the computer is on but not in use.

If you disable this setting, scheduled scans will run at the scheduled time.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Start the scheduled scan only when computer is on but not in use

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'ScanOnlyIfIdle' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_ScanOnlyIfIdle

Trigger a quick scan after X days without any scans

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameDaysUntilAggressiveCatchupQuickScan
OptionValueTypeAllowed values
Specify how many days without scans should pass before an aggressive quick scan is triggeredDaysUntilAggressiveCatchupQuickScanREG_DWORDNumber 7 to 60
What it does (vendor explanation)

This policy setting defines the number of days that can pass since the last scan before an aggresive catchup quick scan is automatically triggered. The value represents the number of days that can pass without any scans being performed before an agressive quick scan will be triggered.

Valid values range from 7 to 60 days. If not configured, aggressive quick scans will be disabled. By default, the value is set to 25 days when enabled.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Trigger a quick scan after X days without any scans

PowerShell equivalent (generated from the template)
# Specify how many days without scans should pass before an aggressive quick scan is triggered
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'DaysUntilAggressiveCatchupQuickScan' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_DaysUntilAggressiveCatchupQuickScan

Turn on catch-up full scan

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameDisableCatchupFullScan
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure catch-up scans for scheduled full scans. A catch-up scan is a scan that is initiated because a regularly scheduled scan was missed. Usually these scheduled scans are missed because the computer was turned off at the scheduled time.

If you enable this setting, catch-up scans for scheduled full scans will be turned on. If a computer is offline for two consecutive scheduled scans, a catch-up scan is started the next time someone logs on to the computer. If there is no scheduled scan configured, there will be no catch-up scan run.

If you disable or do not configure this setting, catch-up scans for scheduled full scans will be turned off.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Turn on catch-up full scan

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'DisableCatchupFullScan' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_DisableCatchupFullScan

Turn on catch-up quick scan

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameDisableCatchupQuickScan
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure catch-up scans for scheduled quick scans. A catch-up scan is a scan that is initiated because a regularly scheduled scan was missed. Usually these scheduled scans are missed because the computer was turned off at the scheduled time.

If you enable this setting, catch-up scans for scheduled quick scans will be turned on. If a computer is offline for two consecutive scheduled scans, a catch-up scan is started the next time someone logs on to the computer. If there is no scheduled scan configured, there will be no catch-up scan run.

If you disable or do not configure this setting, catch-up scans for scheduled quick scans will be turned off.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Turn on catch-up quick scan

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'DisableCatchupQuickScan' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_DisableCatchupQuickScan

Turn on e-mail scanning

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameDisableEmailScanning
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure e-mail scanning. When e-mail scanning is enabled, the engine will parse the mailbox and mail files, according to their specific format, in order to analyze the mail bodies and attachments. Several e-mail formats are currently supported, for example: pst (Outlook), dbx, mbx, mime (Outlook Express), binhex (Mac). Email scanning is not supported on modern email clients.

If you enable this setting, e-mail scanning will be enabled.

If you disable or do not configure this setting, e-mail scanning will be disabled.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Turn on e-mail scanning

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'DisableEmailScanning' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_DisableEmailScanning

Turn on heuristics

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameDisableHeuristics
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure heuristics. Suspicious detections will be suppressed right before reporting to the engine client. Turning off heuristics will reduce the capability to flag new threats. It is recommended that you do not turn off heuristics.

If you enable or do not configure this setting, heuristics will be enabled.

If you disable this setting, heuristics will be disabled.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Turn on heuristics

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'DisableHeuristics' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_DisableHeuristics

Turn on removal of items from scan history folder

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value namePurgeItemsAfterDelay
OptionValueTypeAllowed values
Turn on removal of items from scan history folderPurgeItemsAfterDelayREG_DWORDNumber 0 to 4294967295
What it does (vendor explanation)

This policy setting defines the number of days items should be kept in the scan history folder before being permanently removed. The value represents the number of days to keep items in the folder. If set to zero, items will be kept forever and will not be automatically removed. By default, the value is set to 30 days.

If you enable this setting, items will be removed from the scan history folder after the number of days specified.

If you disable or do not configure this setting, items will be kept in the scan history folder for the default number of days.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Turn on removal of items from scan history folder

PowerShell equivalent (generated from the template)
# Turn on removal of items from scan history folder
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'PurgeItemsAfterDelay' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_PurgeItemsAfterDelay

Turn on reparse point scanning

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Scan
Value nameDisableReparsePointScanning
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure reparse point scanning. If you allow reparse points to be scanned, there is a possible risk of recursion. However, the engine supports following reparse points to a maximum depth so at worst scanning could be slowed. Reparse point scanning is disabled by default and this is the recommended state for this functionality.

If you enable this setting, reparse point scanning will be enabled.

If you disable or do not configure this setting, reparse point scanning will be disabled.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan > Turn on reparse point scanning

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Scan' -Name 'DisableReparsePointScanning' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name Scan_DisableReparsePointScanning

Allow notifications to disable security intelligence based reports to Microsoft MAPS

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Signature Updates
Value nameSignatureDisableNotification
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure the antimalware service to receive notifications to disable individual security intelligence in response to reports it sends to Microsoft MAPS. Microsoft MAPS uses these notifications to disable security intelligence that are causing false positive reports. You must have configured your computer to join Microsoft MAPS for this functionality to work.

If you enable this setting or do not configure, the antimalware service will receive notifications to disable security intelligence.

If you disable this setting, the antimalware service will not receive notifications to disable security intelligence.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Security Intelligence Updates > Allow notifications to disable security intelligence based reports to Microsoft MAPS

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Name 'SignatureDisableNotification' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name SignatureUpdate_SignatureDisableNotification

Allow real-time security intelligence updates based on reports to Microsoft MAPS

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Signature Updates
Value nameRealtimeSignatureDelivery
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to enable real-time security intelligence updates in response to reports sent to Microsoft MAPS. If the service reports a file as an unknown and Microsoft MAPS finds that the latest security intelligence update has security intelligence for a threat involving that file, the service will receive all of the latest security intelligence for that threat immediately. You must have configured your computer to join Microsoft MAPS for this functionality to work.

If you enable or do not configure this setting, real-time security intelligence updates will be enabled.

If you disable this setting, real-time security intelligence updates will disabled.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Security Intelligence Updates > Allow real-time security intelligence updates based on reports to Microsoft MAPS

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Name 'RealtimeSignatureDelivery' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name SignatureUpdate_RealtimeSignatureDelivery

Allow security intelligence updates from Microsoft Update

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Signature Updates
Value nameForceUpdateFromMU
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to enable download of security intelligence updates from Microsoft Update even if the Automatic Updates default server is configured to another download source such as Windows Update.

If you enable this setting, security intelligence updates will be downloaded from Microsoft Update.

If you disable or do not configure this setting, security intelligence updates will be downloaded from the configured download source.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Security Intelligence Updates > Allow security intelligence updates from Microsoft Update

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Name 'ForceUpdateFromMU' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name SignatureUpdate_ForceUpdateFromMU

Allow security intelligence updates when running on battery power

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Signature Updates
Value nameDisableScheduledSignatureUpdateOnBattery
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure security intelligence updates when the computer is running on battery power.

If you enable or do not configure this setting, security intelligence updates will occur as usual regardless of power state.

If you disable this setting, security intelligence updates will be turned off while the computer is running on battery power.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Security Intelligence Updates > Allow security intelligence updates when running on battery power

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Name 'DisableScheduledSignatureUpdateOnBattery' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name SignatureUpdate_DisableScheduledSignatureUpdateonBattery

Allows Microsoft Defender Antivirus to update and communicate over a metered connection.

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Signature Updates
Value nameMeteredConnectionUpdates
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

Disabled (Default): Updates and communications are not allowed over metered connections.

Enabled: Allow managed devices to update through metered connections. Data charges may apply.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Security Intelligence Updates > Allows Microsoft Defender Antivirus to update and communicate over a metered connection.

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Name 'MeteredConnectionUpdates' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name MeteredConnectionUpdates

Check for the latest virus and spyware security intelligence on startup

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Signature Updates
Value nameUpdateOnStartUp
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to manage whether a check for new virus and spyware security intelligence will occur immediately after service startup.

If you enable this setting, a check for new security intelligence will occur after service startup.

If you disable this setting or do not configure this setting, a check for new security intelligence will not occur after service startup.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Security Intelligence Updates > Check for the latest virus and spyware security intelligence on startup

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Name 'UpdateOnStartUp' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name SignatureUpdate_UpdateOnStartup

Configure security intelligence updates according to the scheduler for VDI clients.

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1903

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Signature Updates
Value nameSharedSignatureRootUpdateAtScheduledTimeOnly
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure security intelligence updates according to the scheduler for VDI-configured computers. It is used together with the shared security intelligence location (SharedSignaturesLocation).

If you enable this policy setting and configure SharedSignaturesLocation, updates from the configured location occur only at the previously configured scheduled update time.

If you either disable or do not configure this policy setting, updates occur whenever a new security intelligence update is detected at the location that is specified by SharedSignaturesLocation.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Security Intelligence Updates > Configure security intelligence updates according to the scheduler for VDI clients.

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Name 'SharedSignatureRootUpdateAtScheduledTimeOnly' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name SignatureUpdate_SharedSignaturesLocationUpdateAtScheduledTimeOnly

Define file shares for downloading security intelligence updates

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Signature Updates
OptionValueTypeAllowed values
Define file shares for downloading security intelligence updatesDefinitionUpdateFileSharesSourcesREG_SZText
What it does (vendor explanation)

This policy setting allows you to configure UNC file share sources for downloading security intelligence updates. Sources will be contacted in the order specified. The value of this setting should be entered as a pipe-separated string enumerating the security intelligence update sources. For example: "{\\unc1 | \\unc2 }". The list is empty by default.

If you enable this setting, the specified sources will be contacted for security intelligence updates. Once security intelligence updates have been successfully downloaded from one specified source, the remaining sources in the list will not be contacted.

If you disable or do not configure this setting, the list will remain empty by default and no sources will be contacted.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Security Intelligence Updates > Define file shares for downloading security intelligence updates

PowerShell equivalent (generated from the template)
# Define file shares for downloading security intelligence updates
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Name 'DefinitionUpdateFileSharesSources' -Value <value> -PropertyType String -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name SignatureUpdate_DefinitionUpdateFileSharesSources

Define security intelligence location for VDI clients.

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1903

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Signature Updates
OptionValueTypeAllowed values
Define file share for downloading security intelligence updates in virtual environmentsSharedSignatureRootREG_SZText
What it does (vendor explanation)

This policy setting allows you to define the security intelligence location for VDI-configured computers.

If you disable or do not configure this setting, security intelligence will be referred from the default local source.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Security Intelligence Updates > Define security intelligence location for VDI clients.

PowerShell equivalent (generated from the template)
# Define file share for downloading security intelligence updates in virtual environments
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Name 'SharedSignatureRoot' -Value <value> -PropertyType String -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name SignatureUpdate_SharedSignaturesLocation

Define the number of days after which a catch-up security intelligence update is required

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Signature Updates
Value nameSignatureUpdateCatchupInterval
OptionValueTypeAllowed values
Define the number of days after which a catch-up security intelligence update is requiredSignatureUpdateCatchupIntervalREG_DWORDNumber 0 to 4294967295
What it does (vendor explanation)

This policy setting allows you to define the number of days after which a catch-up security intelligence update will be required. By default, the value of this setting is 1 day.

If you enable this setting, a catch-up security intelligence update will occur after the specified number of days.

If you disable or do not configure this setting, a catch-up security intelligence update will be required after the default number of days.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Security Intelligence Updates > Define the number of days after which a catch-up security intelligence update is required

PowerShell equivalent (generated from the template)
# Define the number of days after which a catch-up security intelligence update is required
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Name 'SignatureUpdateCatchupInterval' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name SignatureUpdate_SignatureUpdateCatchupInterval

Define the number of days before spyware security intelligence is considered out of date

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Signature Updates
Value nameASSignatureDue
OptionValueTypeAllowed values
Define the number of days before spyware security intelligence is considered out of dateASSignatureDueREG_DWORDNumber 0 to 4294967295
What it does (vendor explanation)

This policy setting allows you to define the number of days that must pass before spyware security intelligence is considered out of date. If security intelligence is determined to be out of date, this state may trigger several additional actions, including falling back to an alternative update source or displaying a warning icon in the user interface. By default, this value is set to 7 days.

If you enable this setting, spyware security intelligence will be considered out of date after the number of days specified have passed without an update.

If you disable or do not configure this setting, spyware security intelligence will be considered out of date after the default number of days have passed without an update.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Security Intelligence Updates > Define the number of days before spyware security intelligence is considered out of date

PowerShell equivalent (generated from the template)
# Define the number of days before spyware security intelligence is considered out of date
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Name 'ASSignatureDue' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name SignatureUpdate_ASSignatureDue

Define the number of days before virus security intelligence is considered out of date

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Signature Updates
Value nameAVSignatureDue
OptionValueTypeAllowed values
Define the number of days before virus security intelligence is considered out of dateAVSignatureDueREG_DWORDNumber 0 to 4294967295
What it does (vendor explanation)

This policy setting allows you to define the number of days that must pass before virus security intelligence is considered out of date. If security intelligence is determined to be out of date, this state may trigger several additional actions, including falling back to an alternative update source or displaying a warning icon in the user interface. By default, this value is set to 7 days.

If you enable this setting, virus security intelligence will be considered out of date after the number of days specified have passed without an update.

If you disable or do not configure this setting, virus security intelligence will be considered out of date after the default number of days have passed without an update.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Security Intelligence Updates > Define the number of days before virus security intelligence is considered out of date

PowerShell equivalent (generated from the template)
# Define the number of days before virus security intelligence is considered out of date
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Name 'AVSignatureDue' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name SignatureUpdate_AVSignatureDue

Define the order of sources for downloading security intelligence updates

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Signature Updates
OptionValueTypeAllowed values
Define the order of sources for downloading security intelligence updatesFallbackOrderREG_SZText
What it does (vendor explanation)

This policy setting allows you to define the order in which different security intelligence update sources should be contacted. The value of this setting should be entered as a pipe-separated string enumerating the security intelligence update sources in order. Possible values are: “InternalDefinitionUpdateServer”, “MicrosoftUpdateServer”, “MMPC”, and “FileShares”

For example: { InternalDefinitionUpdateServer | MicrosoftUpdateServer | MMPC }

If you enable this setting, security intelligence update sources will be contacted in the order specified. Once security intelligence updates have been successfully downloaded from one specified source, the remaining sources in the list will not be contacted.

If you disable or do not configure this setting, security intelligence update sources will be contacted in a default order.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Security Intelligence Updates > Define the order of sources for downloading security intelligence updates

PowerShell equivalent (generated from the template)
# Define the order of sources for downloading security intelligence updates
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Name 'FallbackOrder' -Value <value> -PropertyType String -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name SignatureUpdate_FallbackOrder

Initiate security intelligence update on startup

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Signature Updates
Value nameDisableUpdateOnStartupWithoutEngine
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure security intelligence updates on startup when there is no antimalware engine present.

If you enable or do not configure this setting, security intelligence updates will be initiated on startup when there is no antimalware engine present.

If you disable this setting, security intelligence updates will not be initiated on startup when there is no antimalware engine present.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Security Intelligence Updates > Initiate security intelligence update on startup

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Name 'DisableUpdateOnStartupWithoutEngine' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name SignatureUpdate_DisableUpdateOnStartupWithoutEngine

Specify the day of the week to check for security intelligence updates

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Signature Updates
Value nameScheduleDay
OptionValueTypeAllowed values
Specify the day of the week to check for security intelligence updatesScheduleDay8 (REG_DWORD) = Never
0 (REG_DWORD) = Every Day
1 (REG_DWORD) = Sunday
2 (REG_DWORD) = Monday
3 (REG_DWORD) = Tuesday
4 (REG_DWORD) = Wednesday
5 (REG_DWORD) = Thursday
6 (REG_DWORD) = Friday
7 (REG_DWORD) = Saturday
What it does (vendor explanation)

This policy setting allows you to specify the day of the week on which to check for security intelligence updates. The check can also be configured to run every day or to never run at all.

This setting can be configured with the following ordinal number values: (0x0) Every Day (default) (0x1) Sunday (0x2) Monday (0x3) Tuesday (0x4) Wednesday (0x5) Thursday (0x6) Friday (0x7) Saturday (0x8) Never

If you enable this setting, the check for security intelligence updates will occur at the frequency specified.

If you disable or do not configure this setting, the check for security intelligence updates will occur at a default frequency.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Security Intelligence Updates > Specify the day of the week to check for security intelligence updates

PowerShell equivalent (generated from the template)
# Specify the day of the week to check for security intelligence updates
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Name 'ScheduleDay' -Value 8 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name SignatureUpdate_ScheduleDay

Specify the interval to check for security intelligence updates

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Signature Updates
Value nameSignatureUpdateInterval
OptionValueTypeAllowed values
Specify the interval to check for security intelligence updatesSignatureUpdateIntervalREG_DWORDNumber 0 to 24
What it does (vendor explanation)

This policy setting allows you to specify an interval at which to check for security intelligence updates. The time value is represented as the number of hours between update checks. Valid values range from 1 (every hour) to 24 (once per day).

If you enable this setting, checks for security intelligence updates will occur at the interval specified.

If you disable or do not configure this setting, checks for security intelligence updates will occur at the default interval.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Security Intelligence Updates > Specify the interval to check for security intelligence updates

PowerShell equivalent (generated from the template)
# Specify the interval to check for security intelligence updates
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Name 'SignatureUpdateInterval' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name SignatureUpdate_SignatureUpdateInterval

Specify the time to check for security intelligence updates

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Signature Updates
Value nameScheduleTime
OptionValueTypeAllowed values
Specify the time to check for security intelligence updatesScheduleTimeREG_DWORDNumber 0 to 1440
What it does (vendor explanation)

This policy setting allows you to specify the time of day at which to check for security intelligence updates. The time value is represented as the number of minutes past midnight (00:00). For example, 120 (0x78) is equivalent to 02:00 AM. By default this setting is configured to check for security intelligence updates 15 minutes before the scheduled scan time. The schedule is based on local time on the computer where the check is occurring.

If you enable this setting, the check for security intelligence updates will occur at the time of day specified.

If you disable or do not configure this setting, the check for security intelligence updates will occur at the default time.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Security Intelligence Updates > Specify the time to check for security intelligence updates

PowerShell equivalent (generated from the template)
# Specify the time to check for security intelligence updates
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Name 'ScheduleTime' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name SignatureUpdate_ScheduleTime

Turn on scan after security intelligence update

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Signature Updates
Value nameDisableScanOnUpdate
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

This policy setting allows you to configure the automatic scan which starts after a security intelligence update has occurred.

If you enable or do not configure this setting, a scan will start following a security intelligence update.

If you disable this setting, a scan will not start following a security intelligence update.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Security Intelligence Updates > Turn on scan after security intelligence update

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\Signature Updates' -Name 'DisableScanOnUpdate' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Security hardeningADMX: WindowsDefender.admx · policy name SignatureUpdate_DisableScanOnUpdate

Specify threat alert levels at which default action should not be taken when detected

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Threats
Value nameThreats_ThreatSeverityDefaultAction
OptionValueTypeAllowed values
Specify threat alert levels at which default action should not be taken when detectedSoftware\Policies\Microsoft\Windows Defender\Threats\ThreatSeverityDefaultAction\(list subkey)REG_SZ (one value per entry)One value per list entry
What it does (vendor explanation)

This policy setting allows you to customize which automatic remediation action will be taken for each threat alert level.Threat alert levels should be added under the Options for this setting. Each entry must be listed as a name value pair. The name defines a threat alert level. The value contains the action ID for the remediation action that should be taken.

Valid threat alert levels are: 1 = Low 2 = Medium 4 = High 5 = Severe

Valid remediation action values are: 2 = Quarantine 3 = Remove 6 = Ignore

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Threats > Specify threat alert levels at which default action should not be taken when detected

Security hardeningADMX: WindowsDefender.admx · policy name Threats_ThreatSeverityDefaultAction

Specify threats upon which default action should not be taken when detected

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows Defender\Threats
Value nameThreats_ThreatIdDefaultAction
OptionValueTypeAllowed values
Specify threats upon which default action should not be taken when detectedSoftware\Policies\Microsoft\Windows Defender\Threats\ThreatIdDefaultAction\(list subkey)REG_SZ (one value per entry)One value per list entry
What it does (vendor explanation)

This policy setting customize which remediation action will be taken for each listed Threat ID when it is detected during a scan. Threats should be added under the Options for this setting. Each entry must be listed as a name value pair. The name defines a valid Threat ID, while the value contains the action ID for the remediation action that should be taken.

Valid remediation action values are: 2 = Quarantine 3 = Remove 6 = Ignore

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Threats > Specify threats upon which default action should not be taken when detected

Security hardeningADMX: WindowsDefender.admx · policy name Threats_ThreatIdDefaultAction