Controlar el modo de DNS mediante HTTPS: valor del Registro DnsOverHttpsModeUsuarioHKCU\Software\Policies\Microsoft\Edge

Id. de directiva
DnsOverHttpsMode
Ámbito
Configuración del equipo, configuración de usuario
Compatible con
Microsoft Edge, versión 83, Windows 7 o posterior
Origen
Microsoft Edge Policy Templates (versión 155.0.4283.45)
Categoría
Microsoft Edge

Registro

DnsOverHttpsMode

REG_SZUsuarioEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Controlar el modo de DNS mediante HTTPS
Opciones
Elemento de listaValor almacenado
Deshabilitar DNS mediante HTTPSoff
Habilitar DNS mediante HTTPS con reserva no seguraautomatic
Habilitar DNS mediante HTTPS sin reserva no segurasecure
Aplicar con .reg · CMD · PowerShell
UsuarioConfiguración por cuenta
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge]

; Opciones (usar solo una)
; Deshabilitar DNS mediante HTTPS
"DnsOverHttpsMode"="off"
; Habilitar DNS mediante HTTPS con reserva no segura
"DnsOverHttpsMode"="automatic"
; Habilitar DNS mediante HTTPS sin reserva no segura
"DnsOverHttpsMode"="secure"
CMD
:: Opciones (usar solo una)

:: Deshabilitar DNS mediante HTTPS
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "off" /f
:: Habilitar DNS mediante HTTPS con reserva no segura
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "automatic" /f
:: Habilitar DNS mediante HTTPS sin reserva no segura
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "secure" /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Opciones (usar solo una)
# Deshabilitar DNS mediante HTTPS
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'off' -Force | Out-Null
# Habilitar DNS mediante HTTPS con reserva no segura
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'automatic' -Force | Out-Null
# Habilitar DNS mediante HTTPS sin reserva no segura
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'secure' -Force | Out-Null
EquipoConfiguración global del equipo
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]

; Opciones (usar solo una)
; Deshabilitar DNS mediante HTTPS
"DnsOverHttpsMode"="off"
; Habilitar DNS mediante HTTPS con reserva no segura
"DnsOverHttpsMode"="automatic"
; Habilitar DNS mediante HTTPS sin reserva no segura
"DnsOverHttpsMode"="secure"
CMD
:: Opciones (usar solo una)

:: Deshabilitar DNS mediante HTTPS
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "off" /f
:: Habilitar DNS mediante HTTPS con reserva no segura
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "automatic" /f
:: Habilitar DNS mediante HTTPS sin reserva no segura
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "secure" /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Opciones (usar solo una)
# Deshabilitar DNS mediante HTTPS
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'off' -Force | Out-Null
# Habilitar DNS mediante HTTPS con reserva no segura
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'automatic' -Force | Out-Null
# Habilitar DNS mediante HTTPS sin reserva no segura
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'secure' -Force | Out-Null