Imponi verifica errori dei certificati: valore del Registro di sistema PreventIgnoreCertErrorsUtenteHKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings

ID criterio
NoCertError
Ambito
Configurazione computer, Configurazione utente
Supportato in
Almeno Internet Explorer 7.0
Origine
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
Categoria
Componenti di Windows › Internet Explorer › Pannello di controllo Internet

Registro

PreventIgnoreCertErrors

REG_DWORDUtenteComputer
Valore abilitato
1
Valore disabilitato
0
Applica con .reg · CMD · PowerShell
UtenteImpostazione per account
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Abilitato
"PreventIgnoreCertErrors"=dword:00000001
; Disabilitato
"PreventIgnoreCertErrors"=dword:00000000
CMD
:: Opzioni (usarne solo una)

:: Abilitato
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v "PreventIgnoreCertErrors" /t REG_DWORD /d 1 /f
:: Disabilitato
reg add "HKCU\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v "PreventIgnoreCertErrors" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Force | Out-Null

# Opzioni (usarne solo una)
# Abilitato
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Name 'PreventIgnoreCertErrors' -PropertyType DWord -Value 1 -Force | Out-Null
# Disabilitato
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Name 'PreventIgnoreCertErrors' -PropertyType DWord -Value 0 -Force | Out-Null
ComputerImpostazione globale del computer
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Abilitato
"PreventIgnoreCertErrors"=dword:00000001
; Disabilitato
"PreventIgnoreCertErrors"=dword:00000000
CMD
:: Opzioni (usarne solo una)

:: Abilitato
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v "PreventIgnoreCertErrors" /t REG_DWORD /d 1 /f
:: Disabilitato
reg add "HKLM\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" /v "PreventIgnoreCertErrors" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Force | Out-Null

# Opzioni (usarne solo una)
# Abilitato
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Name 'PreventIgnoreCertErrors' -PropertyType DWord -Value 1 -Force | Out-Null
# Disabilitato
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings' -Name 'PreventIgnoreCertErrors' -PropertyType DWord -Value 0 -Force | Out-Null