Impedir invalidaciones de error de certificado: valor del Registro PreventCertErrorOverridesEquipoHKLM\Software\Policies\Microsoft\MicrosoftEdge\Internet Settings

Id. de directiva
PreventCertErrorOverrides
Ámbito
Configuración del equipo, configuración de usuario
Compatible con
Microsoft Edge en Windows 10, versión 1809 o posterior
Origen
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
Categoría
Componentes de Windows › Microsoft Edge

Registro

PreventCertErrorOverrides

REG_DWORDEquipoUsuario
Valor al habilitar
1
Valor al deshabilitar
0
Aplicar con .reg · CMD · PowerShell
EquipoConfiguración global del equipo
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MicrosoftEdge\Internet Settings]

; Opciones (usar solo una)
; Habilitada
"PreventCertErrorOverrides"=dword:00000001
; Deshabilitada
"PreventCertErrorOverrides"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Habilitada
reg add "HKLM\Software\Policies\Microsoft\MicrosoftEdge\Internet Settings" /v "PreventCertErrorOverrides" /t REG_DWORD /d 1 /f
:: Deshabilitada
reg add "HKLM\Software\Policies\Microsoft\MicrosoftEdge\Internet Settings" /v "PreventCertErrorOverrides" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Internet Settings' -Force | Out-Null

# Opciones (usar solo una)
# Habilitada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Internet Settings' -Name 'PreventCertErrorOverrides' -PropertyType DWord -Value 1 -Force | Out-Null
# Deshabilitada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Internet Settings' -Name 'PreventCertErrorOverrides' -PropertyType DWord -Value 0 -Force | Out-Null
UsuarioConfiguración por cuenta
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\MicrosoftEdge\Internet Settings]

; Opciones (usar solo una)
; Habilitada
"PreventCertErrorOverrides"=dword:00000001
; Deshabilitada
"PreventCertErrorOverrides"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Habilitada
reg add "HKCU\Software\Policies\Microsoft\MicrosoftEdge\Internet Settings" /v "PreventCertErrorOverrides" /t REG_DWORD /d 1 /f
:: Deshabilitada
reg add "HKCU\Software\Policies\Microsoft\MicrosoftEdge\Internet Settings" /v "PreventCertErrorOverrides" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKCU:\Software\Policies\Microsoft\MicrosoftEdge\Internet Settings' -Force | Out-Null

# Opciones (usar solo una)
# Habilitada
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\MicrosoftEdge\Internet Settings' -Name 'PreventCertErrorOverrides' -PropertyType DWord -Value 1 -Force | Out-Null
# Deshabilitada
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\MicrosoftEdge\Internet Settings' -Name 'PreventCertErrorOverrides' -PropertyType DWord -Value 0 -Force | Out-Null