Controlla la modalità di DNS over HTTPS: valore del Registro di sistema DnsOverHttpsModeComputerHKLM\Software\Policies\Google\Chrome

ID criterio
DnsOverHttpsMode
Ambito
Configurazione computer, Configurazione utente
Supportato in
Microsoft Windows 7 o versioni successive
Origine
Google Chrome Policy Templates (versione 156.0.8078.80)
Categoria
Google › Google Chrome

Registro

DnsOverHttpsMode

REG_SZComputerUtente
…\Software\Policies\Google\ChromeHKLM\Software\Policies\Google\Chrome Chiave corrente
HKCU\Software\Policies\Google\Chrome
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Controlla la modalità di DNS over HTTPS
Opzioni
VoceValore memorizzato
Disattiva DNS over HTTPSoff
Attiva DNS over HTTPS con fallback non sicuroautomatic
Attiva DNS over HTTPS senza fallback non sicurosecure
Applica con .reg · CMD · PowerShell
ComputerImpostazione globale del computer
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]

; Opzioni (usarne solo una)
; Disattiva DNS over HTTPS
"DnsOverHttpsMode"="off"
; Attiva DNS over HTTPS con fallback non sicuro
"DnsOverHttpsMode"="automatic"
; Attiva DNS over HTTPS senza fallback non sicuro
"DnsOverHttpsMode"="secure"
CMD
:: Opzioni (usarne solo una)

:: Disattiva DNS over HTTPS
reg add "HKLM\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "off" /f
:: Attiva DNS over HTTPS con fallback non sicuro
reg add "HKLM\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "automatic" /f
:: Attiva DNS over HTTPS senza fallback non sicuro
reg add "HKLM\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "secure" /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opzioni (usarne solo una)
# Disattiva DNS over HTTPS
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'off' -Force | Out-Null
# Attiva DNS over HTTPS con fallback non sicuro
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'automatic' -Force | Out-Null
# Attiva DNS over HTTPS senza fallback non sicuro
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'secure' -Force | Out-Null
UtenteImpostazione per account
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]

; Opzioni (usarne solo una)
; Disattiva DNS over HTTPS
"DnsOverHttpsMode"="off"
; Attiva DNS over HTTPS con fallback non sicuro
"DnsOverHttpsMode"="automatic"
; Attiva DNS over HTTPS senza fallback non sicuro
"DnsOverHttpsMode"="secure"
CMD
:: Opzioni (usarne solo una)

:: Disattiva DNS over HTTPS
reg add "HKCU\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "off" /f
:: Attiva DNS over HTTPS con fallback non sicuro
reg add "HKCU\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "automatic" /f
:: Attiva DNS over HTTPS senza fallback non sicuro
reg add "HKCU\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "secure" /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opzioni (usarne solo una)
# Disattiva DNS over HTTPS
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'off' -Force | Out-Null
# Attiva DNS over HTTPS con fallback non sicuro
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'automatic' -Force | Out-Null
# Attiva DNS over HTTPS senza fallback non sicuro
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'secure' -Force | Out-Null