Permitir que VBScript se ejecute en Internet Explorer: valor del Registro 140C (Zones\2)EquipoHKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2

Id. de directiva
IZ_PolicyAllowVBScript_5
Ámbito
Configuración del equipo, configuración de usuario
Compatible con
Al menos Internet Explorer 11.0
Origen
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
Categoría
Componentes de Windows › Internet Explorer › Panel de control de Internet › Página Seguridad › Zona Sitios de confianza

Registro

140C

REG_DWORDEquipoUsuario
Valor al habilitar
Depende del valor de la opción
Elemento
Permitir que VBScript se ejecute en Internet Explorer
Opciones
Elemento de listaValor almacenado
Habilitar0
Deshabilitar3
Preguntar1
Aplicar con .reg · CMD · PowerShell
EquipoConfiguración global del equipo
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2]

; Opciones (usar solo una)
; Habilitar
"140C"=dword:00000000
; Deshabilitar
"140C"=dword:00000003
; Preguntar
"140C"=dword:00000001
CMD
:: Opciones (usar solo una)

:: Habilitar
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "140C" /t REG_DWORD /d 0 /f
:: Deshabilitar
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "140C" /t REG_DWORD /d 3 /f
:: Preguntar
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "140C" /t REG_DWORD /d 1 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Force | Out-Null

# Opciones (usar solo una)
# Habilitar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '140C' -PropertyType DWord -Value 0 -Force | Out-Null
# Deshabilitar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '140C' -PropertyType DWord -Value 3 -Force | Out-Null
# Preguntar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '140C' -PropertyType DWord -Value 1 -Force | Out-Null
UsuarioConfiguración por cuenta
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2]

; Opciones (usar solo una)
; Habilitar
"140C"=dword:00000000
; Deshabilitar
"140C"=dword:00000003
; Preguntar
"140C"=dword:00000001
CMD
:: Opciones (usar solo una)

:: Habilitar
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "140C" /t REG_DWORD /d 0 /f
:: Deshabilitar
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "140C" /t REG_DWORD /d 3 /f
:: Preguntar
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "140C" /t REG_DWORD /d 1 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Force | Out-Null

# Opciones (usar solo una)
# Habilitar
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '140C' -PropertyType DWord -Value 0 -Force | Out-Null
# Deshabilitar
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '140C' -PropertyType DWord -Value 3 -Force | Out-Null
# Preguntar
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '140C' -PropertyType DWord -Value 1 -Force | Out-Null