Policy

Control whether or not exclusions are visible to Local Admins

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.

Policy
PackMicrosoft Windows
CategoryWindows Components / Microsoft Defender Antivirus
Policy IDb6e79597a29e
Internal nameHideExclusionsFromLocalAdmins

Registry

Copy registry mappings

HKLM\Software\Policies\Microsoft\Windows Defender\HideExclusionsFromLocalAdmins (enabled) = 1
HKLM\Software\Policies\Microsoft\Windows Defender\HideExclusionsFromLocalAdmins (disabled) = 0

Policy notes

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.

Related policies