Bloquear complementos XLL de Excel procedentes de un origen que no es de confianza: valor del Registro blockxllfrominternetUsuarioHKCU\software\policies\microsoft\office\16.0\excel\security
- Id. de directiva
- L_BlockXLLFromInternet
- Ámbito
- Configuración de usuario
- Compatible con
- Se requiere al menos Windows Server 2016 o Windows 10
- Origen
- Microsoft 365 Apps / Office Administrative Templates (versión 5568.1000)
- Categoría
- Microsoft Excel 2016 › Opciones de Excel › Seguridad › Centro de confianza
Registro
blockxllfrominternet
REG_DWORDUsuario- Valor al habilitar
- Depende del valor de la opción
- Elemento
- -
| Elemento de lista | Valor almacenado |
|---|---|
| Bloquear | 1 |
| Mostrar advertencia adicional | 0 |
| Permitir | 2 |
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\excel\security] ; Opciones (usar solo una) ; Bloquear "blockxllfrominternet"=dword:00000001 ; Mostrar advertencia adicional "blockxllfrominternet"=dword:00000000 ; Permitir "blockxllfrominternet"=dword:00000002
CMD
:: Opciones (usar solo una) :: Bloquear reg add "HKCU\software\policies\microsoft\office\16.0\excel\security" /v "blockxllfrominternet" /t REG_DWORD /d 1 /f :: Mostrar advertencia adicional reg add "HKCU\software\policies\microsoft\office\16.0\excel\security" /v "blockxllfrominternet" /t REG_DWORD /d 0 /f :: Permitir reg add "HKCU\software\policies\microsoft\office\16.0\excel\security" /v "blockxllfrominternet" /t REG_DWORD /d 2 /f
PowerShell
# Común: crear la clave New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Force | Out-Null # Opciones (usar solo una) # Bloquear New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'blockxllfrominternet' -PropertyType DWord -Value 1 -Force | Out-Null # Mostrar advertencia adicional New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'blockxllfrominternet' -PropertyType DWord -Value 0 -Force | Out-Null # Permitir New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security' -Name 'blockxllfrominternet' -PropertyType DWord -Value 2 -Force | Out-Null