Open in the explorer

Add file extensions to block as Level 2

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Microsoft Outlook 2016 › Security › Security Form Settings › Attachment Security
Supported on
At least Windows Server 2008 R2 or Windows 7
ADMX file
outlk16.admx
Internal name
outlk16/L_Level2AddFilePolicy

Explanation

This policy setting controls which types of attachments (determined by file extension) must be saved to disk before users can open them. Files with specific extensions can be categorized as Level 1 (users cannot view the file) or Level 2 (users can open the file after saving it to disk). Users can freely open files of types that are not categorized as Level 1 or Level 2.

If you enable this policy setting, you can specify a list of attachment file types to classify as Level 2, which forces users to actively decide to download the attachment to view it.

If you disable or do not configure this policy setting, Outlook does not classify any file type extensions as Level 2.

Important: This policy setting only applies if the "Outlook Security Mode" policy setting under "Microsoft Outlook 2016\Security\Security Form Settings" is configured to "Use Outlook Security Group Policy."

Registry

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\security
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_Level2AddFilePolicy
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\security'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Additional Extensions
Set-ItemProperty -Path $k -Name 'fileextensionsaddlevel2' -Value '<value>' -Type String

Disable

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

Revert to "Not configured"

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

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Additional Extensions:L_additionalextensions23Text boxtextfileextensionsaddlevel2REG_SZ

Application

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

Official templates downloaded on November 12, 2026.