Ouvrir dans l'explorateur

Allow mix of policy and user locations

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 Office 2016 › Paramètres de sécurité › Centre de gestion de la confidentialité EN : User Configuration › Policies › Administrative Templates › Microsoft Office 2016 › Security Settings › Trust Center
Pris en charge sur
At least Windows Server 2008 R2 or Windows 7
Fichier ADMX
office16.admx
Nom interne
office16/L_Allowmixofpolicyanduserlocations

Explication

This policy setting controls whether trusted locations can be defined by users, the Office Customization Tool (OCT), and Group Policy, or if they must be defined by Group Policy alone.

If you enable this policy setting, users can specify any location as a trusted location, and a computer can have a combination of user-created, OCT-created, and Group Policy-created trusted locations.

If you disable this policy setting, all trusted locations that are not created by Group Policy are disabled and users cannot create new trusted locations in the Trust Center.

If you do not configure this policy setting, the behavior is the equivalent of setting the policy to Enabled.

Note - InfoPath 2016 and Outlook 2016 do not recognize trusted locations, and therefore are unaffected by this policy setting.

Registre

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\security\trusted locations
Nom de la valeur
allow user locations
É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 : office16/L_Allowmixofpolicyanduserlocations
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\security\trusted locations'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'allow user locations' -Value 1 -Type DWord

Désactiver

# Désactiver : office16/L_Allowmixofpolicyanduserlocations
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\security\trusted locations'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'allow user locations' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : office16/L_Allowmixofpolicyanduserlocations
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\security\trusted locations'
Remove-ItemProperty -Path $k -Name 'allow user locations' -ErrorAction SilentlyContinue

Application

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

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