Open in the explorer

Allow Trusted Locations on the network

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Microsoft Visio 2016 › Visio Options › Security › Trust Center
Supported on
At least Windows Server 2008 R2 or Windows 7
ADMX file
visio16.admx
Internal name
visio16/L_AllowTrustedLocationsOnTheNetwork

Explanation

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.

Registry

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\visio\security\trusted locations
Value name
allownetworklocations
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: 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 DWord

Disable

# Disable: 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 DWord

Revert to "Not configured"

# Revert to "Not configured": visio16/L_AllowTrustedLocationsOnTheNetwork
$k = 'HKCU:\software\policies\microsoft\office\16.0\visio\security\trusted locations'
Remove-ItemProperty -Path $k -Name 'allownetworklocations' -ErrorAction SilentlyContinue

Application

Microsoft 365 Apps / Office (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.