De modus van DNS-over-HTTPS beheren: registerwaarde DnsOverHttpsModeComputerHKLM\Software\Policies\Microsoft\Edge
- Beleids-ID
- DnsOverHttpsMode
- Bereik
- Computerconfiguratie, Gebruikersconfiguratie
- Ondersteund op
- Microsoft Edge versie 83, Windows 7 of hoger
- Bron
- Microsoft Edge Policy Templates (versie 155.0.4283.45)
- Categorie
- Microsoft Edge
Register
DnsOverHttpsMode
REG_SZComputerGebruiker…\Software\Policies\Microsoft\EdgeHKLM\Software\Policies\Microsoft\Edge Huidige sleutel
HKCU\Software\Policies\Microsoft\Edge
HKCU\Software\Policies\Microsoft\Edge
- Waarde bij ingeschakeld
- Afhankelijk van de waarde van de optie
- Element
- De modus van DNS-over-HTTPS beheren
| Item | Opgeslagen waarde |
|---|---|
| DNS-over-HTTPS uitschakelen | off |
| DNS-over-HTTPS met onveilige terugval inschakelen | automatic |
| DNS-over-HTTPS zonder onveilige terugval inschakelen | secure |
Toepassen met .reg · CMD · PowerShell
ComputerInstelling voor de hele computer
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge] ; Opties (gebruik er maar één) ; DNS-over-HTTPS uitschakelen "DnsOverHttpsMode"="off" ; DNS-over-HTTPS met onveilige terugval inschakelen "DnsOverHttpsMode"="automatic" ; DNS-over-HTTPS zonder onveilige terugval inschakelen "DnsOverHttpsMode"="secure"
CMD
:: Opties (gebruik er maar één) :: DNS-over-HTTPS uitschakelen reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "off" /f :: DNS-over-HTTPS met onveilige terugval inschakelen reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "automatic" /f :: DNS-over-HTTPS zonder onveilige terugval inschakelen reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "secure" /f
PowerShell
# Algemeen: sleutel maken New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null # Opties (gebruik er maar één) # DNS-over-HTTPS uitschakelen New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'off' -Force | Out-Null # DNS-over-HTTPS met onveilige terugval inschakelen New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'automatic' -Force | Out-Null # DNS-over-HTTPS zonder onveilige terugval inschakelen New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'secure' -Force | Out-Null
GebruikerInstelling per account
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge] ; Opties (gebruik er maar één) ; DNS-over-HTTPS uitschakelen "DnsOverHttpsMode"="off" ; DNS-over-HTTPS met onveilige terugval inschakelen "DnsOverHttpsMode"="automatic" ; DNS-over-HTTPS zonder onveilige terugval inschakelen "DnsOverHttpsMode"="secure"
CMD
:: Opties (gebruik er maar één) :: DNS-over-HTTPS uitschakelen reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "off" /f :: DNS-over-HTTPS met onveilige terugval inschakelen reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "automatic" /f :: DNS-over-HTTPS zonder onveilige terugval inschakelen reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DnsOverHttpsMode" /t REG_SZ /d "secure" /f
PowerShell
# Algemeen: sleutel maken New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null # Opties (gebruik er maar één) # DNS-over-HTTPS uitschakelen New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'off' -Force | Out-Null # DNS-over-HTTPS met onveilige terugval inschakelen New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'automatic' -Force | Out-Null # DNS-over-HTTPS zonder onveilige terugval inschakelen New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'secure' -Force | Out-Null