Specify default quality of compression done on inlined images inserted in Outlook
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 DWordDisable
# 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 SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Default inline image compression quality for Outlook:L_DefaultCompressionQualityForInlinedImagesInOutlookPart | Drop-down listenum | oulookimagedpiindex | REG_DWORD | Default choice (UI): #0
|
Application
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.