[Deprecated] When sending a message: registry value numdaysexpire (L_Whensendingamessage)UserHKCU\software\policies\microsoft\office\16.0\outlook\options\general
- Policy ID
- L_Whensendingamessage
- Scope
- User Configuration
- Supported on
- At least Windows Server 2008 R2 or Windows 7
- Source
- Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
- Category
- Microsoft Outlook 2016 › Outlook Options › Preferences › E-mail Options › Advanced E-mail Options
Registry
importance
REG_DWORDUser- Enabled value
- Depends on the option value
- Element
- Set importance:
| Item | Stored value |
|---|---|
| High | 2 |
| Normal | 1 |
| Low | 0 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\preferences] ; Options (use only one) ; High "importance"=dword:00000002 ; Normal "importance"=dword:00000001 ; Low "importance"=dword:00000000
CMD
:: Options (use only one) :: High reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "importance" /t REG_DWORD /d 2 /f :: Normal reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "importance" /t REG_DWORD /d 1 /f :: Low reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "importance" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Force | Out-Null # Options (use only one) # High New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'importance' -PropertyType DWord -Value 2 -Force | Out-Null # Normal New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'importance' -PropertyType DWord -Value 1 -Force | Out-Null # Low New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'importance' -PropertyType DWord -Value 0 -Force | Out-Null
sensitivity
REG_DWORDUser- Enabled value
- Depends on the option value
- Element
- Set sensitivity:
| Item | Stored value |
|---|---|
| Normal | 0 |
| Personal | 1 |
| Private | 2 |
| Confidential | 3 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\preferences] ; Options (use only one) ; Normal "sensitivity"=dword:00000000 ; Personal "sensitivity"=dword:00000001 ; Private "sensitivity"=dword:00000002 ; Confidential "sensitivity"=dword:00000003
CMD
:: Options (use only one) :: Normal reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "sensitivity" /t REG_DWORD /d 0 /f :: Personal reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "sensitivity" /t REG_DWORD /d 1 /f :: Private reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "sensitivity" /t REG_DWORD /d 2 /f :: Confidential reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "sensitivity" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Force | Out-Null # Options (use only one) # Normal New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'sensitivity' -PropertyType DWord -Value 0 -Force | Out-Null # Personal New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'sensitivity' -PropertyType DWord -Value 1 -Force | Out-Null # Private New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'sensitivity' -PropertyType DWord -Value 2 -Force | Out-Null # Confidential New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'sensitivity' -PropertyType DWord -Value 3 -Force | Out-Null
numdaysexpire
REG_DWORDUser- Enabled value
- Depends on the option value
- Element
- Messages expire after (days):
- Value type
- REG_DWORD
- Minimum value
- 0
- Maximum value
- 3652
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\options\general] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "numdaysexpire"=dword:<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\general" /v "numdaysexpire" /t REG_DWORD /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\general' -Force | Out-Null New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\general' -Name 'numdaysexpire' -PropertyType DWord -Value '<enter value>' -Force | Out-Null
allowcommasinrecip
REG_DWORDUser- Checked
- 1
- Unchecked
- 0
- Element
- Allow commas as address separator
- Value type
- REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\preferences] ; Options (use only one) ; Checked "allowcommasinrecip"=dword:00000001 ; Unchecked "allowcommasinrecip"=dword:00000000
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "allowcommasinrecip" /t REG_DWORD /d 1 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "allowcommasinrecip" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'allowcommasinrecip' -PropertyType DWord -Value 1 -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'allowcommasinrecip' -PropertyType DWord -Value 0 -Force | Out-Null
autonamecheck
REG_DWORDUser- Checked
- 1
- Unchecked
- 0
- Element
- Automatic name checking
- Value type
- REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\preferences] ; Options (use only one) ; Checked "autonamecheck"=dword:00000001 ; Unchecked "autonamecheck"=dword:00000000
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "autonamecheck" /t REG_DWORD /d 1 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "autonamecheck" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'autonamecheck' -PropertyType DWord -Value 1 -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'autonamecheck' -PropertyType DWord -Value 0 -Force | Out-Null
deletewhenrespond
REG_DWORDUser- Checked
- 1
- Unchecked
- 0
- Element
- Delete meeting request from Inbox when responding
- Value type
- REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\preferences] ; Options (use only one) ; Checked "deletewhenrespond"=dword:00000001 ; Unchecked "deletewhenrespond"=dword:00000000
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "deletewhenrespond" /t REG_DWORD /d 1 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "deletewhenrespond" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'deletewhenrespond' -PropertyType DWord -Value 1 -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'deletewhenrespond' -PropertyType DWord -Value 0 -Force | Out-Null
showautosug
REG_DWORDUser- Checked
- 1
- Unchecked
- 0
- Element
- Suggest names while completing To, Cc, and Bcc fields
- Value type
- REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\preferences] ; Options (use only one) ; Checked "showautosug"=dword:00000001 ; Unchecked "showautosug"=dword:00000000
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "showautosug" /t REG_DWORD /d 1 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\outlook\preferences" /v "showautosug" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'showautosug' -PropertyType DWord -Value 1 -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences' -Name 'showautosug' -PropertyType DWord -Value 0 -Force | Out-Null
adhocreviewbehavior
REG_DWORDUser- Checked
- 0
- Unchecked
- 1
- Element
- Add properties to attachments to enable Reply with Changes
- Value type
- REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\options\mail] ; Options (use only one) ; Checked "adhocreviewbehavior"=dword:00000000 ; Unchecked "adhocreviewbehavior"=dword:00000001
CMD
:: Options (use only one) :: Checked reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\mail" /v "adhocreviewbehavior" /t REG_DWORD /d 0 /f :: Unchecked reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\mail" /v "adhocreviewbehavior" /t REG_DWORD /d 1 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Name 'adhocreviewbehavior' -PropertyType DWord -Value 0 -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Name 'adhocreviewbehavior' -PropertyType DWord -Value 1 -Force | Out-Null