Permitir que o VBScript seja executado no Internet Explorer: valor do Registro 140C (Zones\2)ComputadorHKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2

ID da política
IZ_PolicyAllowVBScript_5
Escopo
Configuração do Computador, Configuração do Usuário
Compatível com
Internet Explorer 11.0 ou posterior
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Componentes do Windows › Internet Explorer › Painel de Controle da Internet › Página Segurança › Zona de Sites Confiáveis

Registro

140C

REG_DWORDComputadorUsuário
Valor habilitado
Depende do valor da opção
Elemento
Permitir que o VBScript seja executado no Internet Explorer
Opções
ItemValor armazenado
Habilitar0
Desabilitar3
Prompt1
Aplicar com .reg · CMD · PowerShell
ComputadorConfiguração global do computador
.reg
Windows Registry Editor Version 5.00

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

; Opções (use apenas uma)
; Habilitar
"140C"=dword:00000000
; Desabilitar
"140C"=dword:00000003
; Prompt
"140C"=dword:00000001
CMD
:: Opções (use apenas uma)

:: Habilitar
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "140C" /t REG_DWORD /d 0 /f
:: Desabilitar
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "140C" /t REG_DWORD /d 3 /f
:: Prompt
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "140C" /t REG_DWORD /d 1 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Force | Out-Null

# Opções (use apenas uma)
# Habilitar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '140C' -PropertyType DWord -Value 0 -Force | Out-Null
# Desabilitar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '140C' -PropertyType DWord -Value 3 -Force | Out-Null
# Prompt
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '140C' -PropertyType DWord -Value 1 -Force | Out-Null
UsuárioConfiguração por conta
.reg
Windows Registry Editor Version 5.00

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

; Opções (use apenas uma)
; Habilitar
"140C"=dword:00000000
; Desabilitar
"140C"=dword:00000003
; Prompt
"140C"=dword:00000001
CMD
:: Opções (use apenas uma)

:: Habilitar
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "140C" /t REG_DWORD /d 0 /f
:: Desabilitar
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "140C" /t REG_DWORD /d 3 /f
:: Prompt
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "140C" /t REG_DWORD /d 1 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Force | Out-Null

# Opções (use apenas uma)
# Habilitar
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '140C' -PropertyType DWord -Value 0 -Force | Out-Null
# Desabilitar
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '140C' -PropertyType DWord -Value 3 -Force | Out-Null
# Prompt
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '140C' -PropertyType DWord -Value 1 -Force | Out-Null