Permitir ubicaciones de confianza en la red: valor del Registro allownetworklocations (excel\security\trusted locations)UsuarioHKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations

Id. de directiva
L_AllowTrustedLocationsOnTheNetwork
Ámbito
Configuración de usuario
Compatible con
Al menos Windows Server 2008 R2 o Windows 7
Origen
Microsoft 365 Apps / Office Administrative Templates (versión 5568.1000)
Categoría
Microsoft Excel 2016 › Opciones de Excel › Seguridad › Centro de confianza › Ubicaciones de confianza

Registro

allownetworklocations

REG_DWORDUsuario
Valor al habilitar
1
Valor al deshabilitar
0
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\excel\security\trusted locations]

; Opciones (usar solo una)
; Habilitada
"allownetworklocations"=dword:00000001
; Deshabilitada
"allownetworklocations"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Habilitada
reg add "HKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations" /v "allownetworklocations" /t REG_DWORD /d 1 /f
:: Deshabilitada
reg add "HKCU\software\policies\microsoft\office\16.0\excel\security\trusted locations" /v "allownetworklocations" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations' -Force | Out-Null

# Opciones (usar solo una)
# Habilitada
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations' -Name 'allownetworklocations' -PropertyType DWord -Value 1 -Force | Out-Null
# Deshabilitada
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\trusted locations' -Name 'allownetworklocations' -PropertyType DWord -Value 0 -Force | Out-Null