DNS-over-HTTPS モードを管理する のレジストリ値 DnsOverHttpsModeユーザーHKCU\Software\Policies\Google\Chrome

ポリシー ID
DnsOverHttpsMode
適用対象
コンピューターの構成、ユーザーの構成
サポートされるバージョン
Microsoft Windows 7 以降
出典
Google Chrome Policy Templates (バージョン 156.0.8078.80)
カテゴリ
Google › Google Chrome

レジストリ

DnsOverHttpsMode

REG_SZユーザーコンピューター
…\Software\Policies\Google\ChromeHKCU\Software\Policies\Google\Chrome 現在のキー
HKLM\Software\Policies\Google\Chrome
有効時の値
オプションの値に依存
要素
DNS-over-HTTPS モードを管理する
オプション
項目保存される値
DNS-over-HTTPS を無効にするoff
DNS-over-HTTPS を有効にする(安全でないフォールバックあり)automatic
DNS-over-HTTPS を有効にする(安全でないフォールバックなし)secure
.reg · CMD · PowerShell で適用する
ユーザーアカウントごとの設定
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]

; 選択項目 (1 つだけ使用)
; DNS-over-HTTPS を無効にする
"DnsOverHttpsMode"="off"
; DNS-over-HTTPS を有効にする(安全でないフォールバックあり)
"DnsOverHttpsMode"="automatic"
; DNS-over-HTTPS を有効にする(安全でないフォールバックなし)
"DnsOverHttpsMode"="secure"
CMD
:: 選択項目 (1 つだけ使用)

:: DNS-over-HTTPS を無効にする
reg add "HKCU\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "off" /f
:: DNS-over-HTTPS を有効にする(安全でないフォールバックあり)
reg add "HKCU\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "automatic" /f
:: DNS-over-HTTPS を有効にする(安全でないフォールバックなし)
reg add "HKCU\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "secure" /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# DNS-over-HTTPS を無効にする
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'off' -Force | Out-Null
# DNS-over-HTTPS を有効にする(安全でないフォールバックあり)
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'automatic' -Force | Out-Null
# DNS-over-HTTPS を有効にする(安全でないフォールバックなし)
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'secure' -Force | Out-Null
コンピューターコンピューター全体の設定
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]

; 選択項目 (1 つだけ使用)
; DNS-over-HTTPS を無効にする
"DnsOverHttpsMode"="off"
; DNS-over-HTTPS を有効にする(安全でないフォールバックあり)
"DnsOverHttpsMode"="automatic"
; DNS-over-HTTPS を有効にする(安全でないフォールバックなし)
"DnsOverHttpsMode"="secure"
CMD
:: 選択項目 (1 つだけ使用)

:: DNS-over-HTTPS を無効にする
reg add "HKLM\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "off" /f
:: DNS-over-HTTPS を有効にする(安全でないフォールバックあり)
reg add "HKLM\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "automatic" /f
:: DNS-over-HTTPS を有効にする(安全でないフォールバックなし)
reg add "HKLM\Software\Policies\Google\Chrome" /v "DnsOverHttpsMode" /t REG_SZ /d "secure" /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# DNS-over-HTTPS を無効にする
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'off' -Force | Out-Null
# DNS-over-HTTPS を有効にする(安全でないフォールバックあり)
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'automatic' -Force | Out-Null
# DNS-over-HTTPS を有効にする(安全でないフォールバックなし)
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DnsOverHttpsMode' -PropertyType String -Value 'secure' -Force | Out-Null