Open in the explorer

Specify default quality of compression done on inlined images inserted in Outlook

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Microsoft Word 2016 › Word Options › Advanced › E-mail Options
Supported on
At least Windows Server 2008 R2 or Windows 7
ADMX file
word16.admx
Internal name
word16/L_DefaultCompressionQualityForInlinedImagesInOutlook

Explanation

This policy setting allows you to specify default quality of compression done on inlined images in Outlook.

If you enable this policy setting, Outlook would compress the inlined images in the message as per the specified quality.

If you disable or don't configure this policy setting, inlined images would be compressed at the default quality (220 dpi).

Note: This policy setting only applies to subscription versions of Office, such as Microsoft 365 Apps for enterprise.

Registry

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\mailsettings
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: word16/L_DefaultCompressionQualityForInlinedImagesInOutlook
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\mailsettings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Default inline image compression quality for Outlook
# Possible options:
#   High Fidelity = 0
#   330 ppi = 1
#   220 ppi = 2
#   150 ppi = 3
#   96 ppi = 4
Set-ItemProperty -Path $k -Name 'oulookimagedpiindex' -Value 0 -Type DWord

Disable

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

Revert to "Not configured"

# Revert to "Not configured": word16/L_DefaultCompressionQualityForInlinedImagesInOutlook
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\mailsettings'
Remove-ItemProperty -Path $k -Name 'oulookimagedpiindex' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Default inline image compression quality for Outlook:L_DefaultCompressionQualityForInlinedImagesInOutlookPartDrop-down listenumoulookimagedpiindexREG_DWORD
Default choice (UI): #0
LabelValue
High FidelityREG_DWORD = 0
330 ppiREG_DWORD = 1
220 ppiREG_DWORD = 2
150 ppiREG_DWORD = 3
96 ppiREG_DWORD = 4

Application

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

Official templates downloaded on November 12, 2026.