Open in the explorer

Junk E-mail protection level

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Microsoft Outlook 2016 › Outlook Options › Preferences › Junk E-mail
Supported on
At least Windows Server 2008 R2 or Windows 7
ADMX file
outlk16.admx
Internal name
outlk16/L_JunkEmailprotectionlevel

Explanation

This policy setting controls your Junk E-mail protection level. The Junk E-mail Filter in Outlook helps to prevent junk e-mail messages, also known as spam, from cluttering user's Inbox. The filter evaluates each incoming message based on several factors, including the time when the message was sent and the content of the message. The filter does not single out any particular sender or message type, but instead analyzes each message based on its content and structure to discover whether or not it is probably spam.

If you enable this policy setting, you can select one of the four listed options available. After you select an option, users will not be able to change it.

If you disable this policy setting, Outlook reverts to the user-defined protection level.

If you do not configure this policy setting, users can change their junk e-mail filtering options.

Registry

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\options\mail
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: outlk16/L_JunkEmailprotectionlevel
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Select level
# Possible options:
#   No Protection = 4294967295
#   Low (Default) = 6
#   High = 3
#   Trusted Lists Only = 2147483648
Set-ItemProperty -Path $k -Name 'junkmailprotection' -Value 6 -Type DWord

Disable

# Disable: outlk16/L_JunkEmailprotectionlevel
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": outlk16/L_JunkEmailprotectionlevel
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail'
Remove-ItemProperty -Path $k -Name 'junkmailprotection' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Select level:L_SelectlevelDrop-down listenumjunkmailprotectionREG_DWORD
Default choice (UI): #1
LabelValue
No ProtectionREG_DWORD = 4294967295
Low (Default)REG_DWORD = 6
HighREG_DWORD = 3
Trusted Lists OnlyREG_DWORD = 2147483648

Application

Microsoft 365 Apps / Office (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.