Ouvrir dans l'explorateur

Automatically configure profile based on Active Directory Primary SMTP address (one-time only)

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Utilisateur
Chemin GPO
Configuration utilisateur › Stratégies › Modèles d'administration › Microsoft Outlook 2016 › Paramètres de compte › Exchange EN : User Configuration › Policies › Administrative Templates › Microsoft Outlook 2016 › Account Settings › Exchange
Pris en charge sur
At least Windows Server 2008 R2 or Windows 7
Fichier ADMX
outlk16.admx
Nom interne
outlk16/L_AutomaticallyConfigureProfileBasedOnActiveOnce

Explication

This policy setting controls whether a user can create additional profiles and specify a different SMTP address, after the first profile is automatically created using the user’s Active Directory Primary SMTP address.

If you enable this policy setting, the first time a user creates a 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.

After the first profile is created automatically, the user can manually create additional profiles. 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.

Note: If you want the user’s Active Directory Primary SMTP address to always be used when creating a new profile, then use the “Automatically configure profile based on Active Directory Primary SMTP address” policy setting instead. If that policy setting is enabled, then it takes precedence over this policy setting.

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
zeroconfigexchangeonce
ÉtatValeur é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_AutomaticallyConfigureProfileBasedOnActiveOnce
$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 'zeroconfigexchangeonce' -Value 1 -Type DWord

Désactiver

# Désactiver : outlk16/L_AutomaticallyConfigureProfileBasedOnActiveOnce
$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 'zeroconfigexchangeonce' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : outlk16/L_AutomaticallyConfigureProfileBasedOnActiveOnce
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\autodiscover'
Remove-ItemProperty -Path $k -Name 'zeroconfigexchangeonce' -ErrorAction SilentlyContinue

Application

Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.