[Deprecated] When sending a message
Explanation
[Deprecated]
This policy has been replaced with a new policy that allows the preferences to be set individually. For more information, see https://go.microsoft.com/fwlink/?linkid=2333436
Registry
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\preferences- 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_Whensendingamessage
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Set importance
# Possible options:
# High = 2
# Normal = 1
# Low = 0
Set-ItemProperty -Path $k -Name 'importance' -Value 1 -Type DWord
# Set sensitivity
# Possible options:
# Normal = 0
# Personal = 1
# Private = 2
# Confidential = 3
Set-ItemProperty -Path $k -Name 'sensitivity' -Value 0 -Type DWord
# Allow commas as address separator
# unchecked: 0
Set-ItemProperty -Path $k -Name 'allowcommasinrecip' -Value 1 -Type DWord
# Automatic name checking
# unchecked: 0
Set-ItemProperty -Path $k -Name 'autonamecheck' -Value 1 -Type DWord
# Delete meeting request from Inbox when responding
# unchecked: 0
Set-ItemProperty -Path $k -Name 'deletewhenrespond' -Value 1 -Type DWord
# Suggest names while completing To, Cc, and Bcc fields
# unchecked: 0
Set-ItemProperty -Path $k -Name 'showautosug' -Value 1 -Type DWord
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\general'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Messages expire after (days)
Set-ItemProperty -Path $k -Name 'numdaysexpire' -Value 0 -Type DWord # between 0 and 3652
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Add properties to attachments to enable Reply with Changes
# unchecked: 1
Set-ItemProperty -Path $k -Name 'adhocreviewbehavior' -Value 0 -Type DWordDisable
# Disable: outlk16/L_Whensendingamessage
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": outlk16/L_Whensendingamessage
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences'
Remove-ItemProperty -Path $k -Name 'importance' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'sensitivity' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'allowcommasinrecip' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'autonamecheck' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'deletewhenrespond' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'showautosug' -ErrorAction SilentlyContinue
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\general'
Remove-ItemProperty -Path $k -Name 'numdaysexpire' -ErrorAction SilentlyContinue
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail'
Remove-ItemProperty -Path $k -Name 'adhocreviewbehavior' -ErrorAction SilentlyContinueOptions (8)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Set importance:L_Setimportance | Drop-down listenum | importance | REG_DWORD | Default choice (UI): #1
| ||||||||||
| Set sensitivity:L_Setsensitivity | Drop-down listenum | sensitivity | REG_DWORD | Default choice (UI): #0
| ||||||||||
| Messages expire after (days):L_Messagesexpireafterdays | Numeric boxdecimal | numdaysexpirein software\policies\microsoft\office\16.0\outlook\options\general | REG_DWORD | Min: 0 · Max: 3652 · Default (UI): 0 | ||||||||||
| Allow commas as address separatorL_Allowcommasasaddressseparator | Check boxboolean | allowcommasinrecip | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 | ||||||||||
| Automatic name checkingL_Automaticnamechecking | Check boxboolean | autonamecheck | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 | ||||||||||
| Delete meeting request from Inbox when respondingL_DeletemeetingrequestfromInboxwhenresponding | Check boxboolean | deletewhenrespond | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 | ||||||||||
| Suggest names while completing To, Cc, and Bcc fieldsL_SuggestnameswhilecompletingToCcandBccfields | Check boxboolean | showautosug | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 | ||||||||||
| Add properties to attachments to enable Reply with ChangesL_AddpropertiestoattachmentstoenableReplywithChanges | Check boxboolean | adhocreviewbehaviorin software\policies\microsoft\office\16.0\outlook\options\mail | REG_DWORD | Checked: REG_DWORD = 0Unchecked: REG_DWORD = 1 |
Application
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.