Consenti l'esecuzione di VBScript in Internet Explorer: valore del Registro di sistema 140C (Zones\2)ComputerHKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2

ID criterio
IZ_PolicyAllowVBScript_5
Ambito
Configurazione computer, Configurazione utente
Supportato in
Almeno Internet Explorer 11.0
Origine
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
Categoria
Componenti di Windows › Internet Explorer › Pannello di controllo Internet › Scheda Sicurezza › Area siti attendibili

Registro

140C

REG_DWORDComputerUtente
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Consenti l'esecuzione di VBScript in Internet Explorer
Opzioni
VoceValore memorizzato
Abilita0
Disabilita3
Chiedi conferma1
Applica con .reg · CMD · PowerShell
ComputerImpostazione globale del computer
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Abilita
"140C"=dword:00000000
; Disabilita
"140C"=dword:00000003
; Chiedi conferma
"140C"=dword:00000001
CMD
:: Opzioni (usarne solo una)

:: Abilita
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "140C" /t REG_DWORD /d 0 /f
:: Disabilita
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "140C" /t REG_DWORD /d 3 /f
:: Chiedi conferma
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "140C" /t REG_DWORD /d 1 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Force | Out-Null

# Opzioni (usarne solo una)
# Abilita
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '140C' -PropertyType DWord -Value 0 -Force | Out-Null
# Disabilita
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '140C' -PropertyType DWord -Value 3 -Force | Out-Null
# Chiedi conferma
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '140C' -PropertyType DWord -Value 1 -Force | Out-Null
UtenteImpostazione per account
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Abilita
"140C"=dword:00000000
; Disabilita
"140C"=dword:00000003
; Chiedi conferma
"140C"=dword:00000001
CMD
:: Opzioni (usarne solo una)

:: Abilita
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "140C" /t REG_DWORD /d 0 /f
:: Disabilita
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "140C" /t REG_DWORD /d 3 /f
:: Chiedi conferma
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2" /v "140C" /t REG_DWORD /d 1 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Force | Out-Null

# Opzioni (usarne solo una)
# Abilita
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '140C' -PropertyType DWord -Value 0 -Force | Out-Null
# Disabilita
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '140C' -PropertyType DWord -Value 3 -Force | Out-Null
# Chiedi conferma
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2' -Name '140C' -PropertyType DWord -Value 1 -Force | Out-Null