Ouvrir dans l'explorateur

Configure Outlook object model prompt when accessing an address book

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 › Sécurité › Paramètres du formulaire de sécurité › Sécurité par programmation EN : User Configuration › Policies › Administrative Templates › Microsoft Outlook 2016 › Security › Security Form Settings › Programmatic Security
Pris en charge sur
At least Windows Server 2008 R2 or Windows 7
Fichier ADMX
outlk16.admx
Nom interne
outlk16/L_OOMAddressBook

Explication

This policy setting controls what happens when an untrusted program attempts to gain access to an Address Book using the Outlook object model. This includes COM add-ins, from 3rd parties and Microsoft, one example is Azure Information Protection which can access the Address Book programmatically.

If you enable this policy setting, you can choose from four different options when an untrusted program attempts to programmatically access an Address Book using the Outlook object model:

- Prompt user - Users are prompted to approve every access attempt.
- Automatically approve - Outlook will automatically grant programmatic access requests from any program. This option can create a significant vulnerability, and is not recommended.
- Automatically deny - Outlook will automatically deny programmatic access requests from any program.
- Prompt user based on computer security - Outlook will rely on the setting in the ''Programmatic Access'' section of the Trust Center. This is the default behavior.

If you disable or do not configure this policy setting, when an untrusted application attempts to access the address book programmatically, Outlook relies on the setting configured in the ''Programmatic Access'' section of the Trust Center.

Registre

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\security
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_OOMAddressBook
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\security'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Guard behavior
# Options possibles :
#   Prompt User = 1
#   Automatically Approve = 2
#   Automatically Deny = 0
#   Prompt user based on computer security = 3
Set-ItemProperty -Path $k -Name 'promptoomaddressbookaccess' -Value 3 -Type DWord

Désactiver

# Désactiver : outlk16/L_OOMAddressBook
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)

Revenir à « Non configuré »

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

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
Guard behavior:L_OOMAddressBook_SettingListe déroulanteenumpromptoomaddressbookaccessREG_DWORD
Choix par défaut (interface) : n° 3
LibelléValeur
Prompt UserREG_DWORD = 1
Automatically ApproveREG_DWORD = 2
Automatically DenyREG_DWORD = 0
Prompt user based on computer securityREG_DWORD = 3

Application

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

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