[Deprecated] When sending a message
Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.
Explication
[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
Registre
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\preferences- Nom de la valeur
- non défini dans l'ADMX
Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : 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
# Options possibles :
# High = 2
# Normal = 1
# Low = 0
Set-ItemProperty -Path $k -Name 'importance' -Value 1 -Type DWord
# Set sensitivity
# Options possibles :
# Normal = 0
# Personal = 1
# Private = 2
# Confidential = 3
Set-ItemProperty -Path $k -Name 'sensitivity' -Value 0 -Type DWord
# Allow commas as address separator
# décoché : 0
Set-ItemProperty -Path $k -Name 'allowcommasinrecip' -Value 1 -Type DWord
# Automatic name checking
# décoché : 0
Set-ItemProperty -Path $k -Name 'autonamecheck' -Value 1 -Type DWord
# Delete meeting request from Inbox when responding
# décoché : 0
Set-ItemProperty -Path $k -Name 'deletewhenrespond' -Value 1 -Type DWord
# Suggest names while completing To, Cc, and Bcc fields
# décoché : 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 # entre 0 et 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
# décoché : 1
Set-ItemProperty -Path $k -Name 'adhocreviewbehavior' -Value 0 -Type DWordDésactiver
# Désactiver : outlk16/L_Whensendingamessage
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)Revenir à « Non configuré »
# Revenir à « Non configuré » : 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)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Set importance:L_Setimportance | Liste déroulanteenum | importance | REG_DWORD | Choix par défaut (interface) : n° 1
| ||||||||||
| Set sensitivity:L_Setsensitivity | Liste déroulanteenum | sensitivity | REG_DWORD | Choix par défaut (interface) : n° 0
| ||||||||||
| Messages expire after (days):L_Messagesexpireafterdays | Zone numériquedecimal | numdaysexpiredans software\policies\microsoft\office\16.0\outlook\options\general | REG_DWORD | Min : 0 · Max : 3652 · Défaut (interface) : 0 | ||||||||||
| Allow commas as address separatorL_Allowcommasasaddressseparator | Case à cocherboolean | allowcommasinrecip | REG_DWORD | Coché : REG_DWORD = 1Décoché : REG_DWORD = 0 | ||||||||||
| Automatic name checkingL_Automaticnamechecking | Case à cocherboolean | autonamecheck | REG_DWORD | Coché : REG_DWORD = 1Décoché : REG_DWORD = 0 | ||||||||||
| Delete meeting request from Inbox when respondingL_DeletemeetingrequestfromInboxwhenresponding | Case à cocherboolean | deletewhenrespond | REG_DWORD | Coché : REG_DWORD = 1Décoché : REG_DWORD = 0 | ||||||||||
| Suggest names while completing To, Cc, and Bcc fieldsL_SuggestnameswhilecompletingToCcandBccfields | Case à cocherboolean | showautosug | REG_DWORD | Coché : REG_DWORD = 1Décoché : REG_DWORD = 0 | ||||||||||
| Add properties to attachments to enable Reply with ChangesL_AddpropertiestoattachmentstoenableReplywithChanges | Case à cocherboolean | adhocreviewbehaviordans software\policies\microsoft\office\16.0\outlook\options\mail | REG_DWORD | Coché : REG_DWORD = 0Décoché : REG_DWORD = 1 |
Application
Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.