Den Modus von DNS-over-HTTPS steuern: Registrierungswert DnsOverHttpsModeBenutzerHKCU\Software\Policies\Microsoft\Edge

Richtlinien-ID
DnsOverHttpsMode
Bereich
Computerkonfiguration, Benutzerkonfiguration
Unterstützt unter
Microsoft Edge Version 83, Windows 7 oder höher
Quelle
Microsoft Edge Policy Templates (Version 155.0.4283.45)
Kategorie
Microsoft Edge

Registrierung

DnsOverHttpsMode

REG_SZBenutzerComputer
…\Software\Policies\Microsoft\EdgeHKCU\Software\Policies\Microsoft\Edge Aktueller Schlüssel
HKLM\Software\Policies\Microsoft\Edge
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Den Modus von DNS-over-HTTPS steuern
Optionen
EintragGespeicherter Wert
DNS-over-HTTPS abschaltenoff
Aktivieren von DNS-over-HTTPS mit unsicherem Fallbackautomatic
Aktivieren von DNS–over-HTTPS ohne unsicheres Fallbacksecure
Mit .reg · CMD · PowerShell anwenden
BenutzerEinstellung pro Konto
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge]

; Optionen (nur eine verwenden)
; DNS-over-HTTPS abschalten
"DnsOverHttpsMode"="off"
; Aktivieren von DNS-over-HTTPS mit unsicherem Fallback
"DnsOverHttpsMode"="automatic"
; Aktivieren von DNS–over-HTTPS ohne unsicheres Fallback
"DnsOverHttpsMode"="secure"
CMD
:: Optionen (nur eine verwenden)

:: DNS-over-HTTPS abschalten
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "off" /f
:: Aktivieren von DNS-over-HTTPS mit unsicherem Fallback
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "automatic" /f
:: Aktivieren von DNS–over-HTTPS ohne unsicheres Fallback
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "secure" /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Optionen (nur eine verwenden)
# DNS-over-HTTPS abschalten
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'off' -Force | Out-Null
# Aktivieren von DNS-over-HTTPS mit unsicherem Fallback
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'automatic' -Force | Out-Null
# Aktivieren von DNS–over-HTTPS ohne unsicheres Fallback
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'secure' -Force | Out-Null
ComputerComputerweite Einstellung
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]

; Optionen (nur eine verwenden)
; DNS-over-HTTPS abschalten
"DnsOverHttpsMode"="off"
; Aktivieren von DNS-over-HTTPS mit unsicherem Fallback
"DnsOverHttpsMode"="automatic"
; Aktivieren von DNS–over-HTTPS ohne unsicheres Fallback
"DnsOverHttpsMode"="secure"
CMD
:: Optionen (nur eine verwenden)

:: DNS-over-HTTPS abschalten
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "off" /f
:: Aktivieren von DNS-over-HTTPS mit unsicherem Fallback
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "automatic" /f
:: Aktivieren von DNS–over-HTTPS ohne unsicheres Fallback
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "secure" /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Optionen (nur eine verwenden)
# DNS-over-HTTPS abschalten
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'off' -Force | Out-Null
# Aktivieren von DNS-over-HTTPS mit unsicherem Fallback
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'automatic' -Force | Out-Null
# Aktivieren von DNS–over-HTTPS ohne unsicheres Fallback
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'secure' -Force | Out-Null