Automatically configure profile based on Active Directory Primary SMTP address
Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.
Explication
This policy setting controls whether a user’s Active Directory Primary SMTP address is automatically used when any new profile is created.
If you enable this policy setting, when a user creates any new profile, the user’s Active Directory Primary SMTP address is used for the profile. The user can only enter a profile name. The wizard used to configure specific profile settings is not shown to the user as the profile is created.
Note: If you want only the first new profile to use the Active Directory Primary SMTP address, and allow the user to specify a different SMTP address when creating other profiles, then use the “Automatically configure profile based on Active Directory Primary SMTP address (one-time only)” policy setting instead.
If you disable or don’t configure this policy setting, when a user creates a new profile, the wizard used to configure specific profile settings is shown to the user and the user can specify any SMTP address as the profile is created.
Registre
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\autodiscover- Nom de la valeur
zeroconfigexchange
| État | Valeur écrite |
|---|---|
| Activé | REG_DWORD = 1 |
| Désactivé | REG_DWORD = 0 |
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_AutomaticallyConfigureProfileBasedOnActive
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\autodiscover'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'zeroconfigexchange' -Value 1 -Type DWordDésactiver
# Désactiver : outlk16/L_AutomaticallyConfigureProfileBasedOnActive
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\autodiscover'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'zeroconfigexchange' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : outlk16/L_AutomaticallyConfigureProfileBasedOnActive
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\autodiscover'
Remove-ItemProperty -Path $k -Name 'zeroconfigexchange' -ErrorAction SilentlyContinueApplication
Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.