Allow Trusted Locations on the network
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 trusted locations on the network can be used.
If you enable this policy setting, users can specify trusted locations on network shares or in other remote locations that are not under their direct control by clicking the "Add new location" button in the Trusted Locations section of the Trust Center. Content, code, and add-ins are allowed to load from trusted locations with minimal security and without prompting the user for permission.
If you disable this policy setting, the selected application ignores any network locations listed in the Trusted Locations section of the Trust Center.
If you also deploy Trusted Locations via Group Policy, you should verify whether any of them are remote locations. If any of them are remote locations and you do not allow remote locations via this policy setting, those policy keys that point to remote locations will be ignored on client computers.
Disabling this policy setting does not delete any network locations from the Trusted Locations list, but causes disruption for users who add network locations to the Trusted Locations list. Users are also prevented from adding new network locations to the Trusted Locations list in the Trust Center. We recommended that you do not enable this policy setting (as the "Allow Trusted Locations on my network (not recommended)" check box also states). Therefore, in practice, it should be possible to disable this policy setting in most situations without causing significant usability issues for most users.
If you do not enable this policy setting, users can select the "Allow Trusted Locations on my network (not recommended)" check box if desired and then specify trusted locations by clicking the "Add new location" button.
Registre
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\visio\security\trusted locations- Nom de la valeur
allownetworklocations
| É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 : visio16/L_AllowTrustedLocationsOnTheNetwork
$k = 'HKCU:\software\policies\microsoft\office\16.0\visio\security\trusted locations'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'allownetworklocations' -Value 1 -Type DWordDésactiver
# Désactiver : visio16/L_AllowTrustedLocationsOnTheNetwork
$k = 'HKCU:\software\policies\microsoft\office\16.0\visio\security\trusted locations'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'allownetworklocations' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : visio16/L_AllowTrustedLocationsOnTheNetwork
$k = 'HKCU:\software\policies\microsoft\office\16.0\visio\security\trusted locations'
Remove-ItemProperty -Path $k -Name 'allownetworklocations' -ErrorAction SilentlyContinueApplication
Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.