プロキシ サーバー設定の指定方法を選択する のレジストリ値 ProxyMode (HKCU Chrome)ユーザーHKCU\Software\Policies\Google\Chrome

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

レジストリ

ProxyMode

REG_SZユーザーコンピューター
…\Software\Policies\Google\ChromeHKCU\Software\Policies\Google\Chrome 現在のキー
HKLM\Software\Policies\Google\Chrome
有効時の値
オプションの値に依存
要素
プロキシ サーバー設定の指定方法を選択する
オプション
項目保存される値
プロキシを使用しないdirect
プロキシ設定を自動検出するauto_detect
.pac プロキシ スクリプトを使用するpac_script
固定プロキシ サーバーを使用するfixed_servers
システムのプロキシ設定を使用するsystem
.reg · CMD · PowerShell で適用する
ユーザーアカウントごとの設定
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]

; 選択項目 (1 つだけ使用)
; プロキシを使用しない
"ProxyMode"="direct"
; プロキシ設定を自動検出する
"ProxyMode"="auto_detect"
; .pac プロキシ スクリプトを使用する
"ProxyMode"="pac_script"
; 固定プロキシ サーバーを使用する
"ProxyMode"="fixed_servers"
; システムのプロキシ設定を使用する
"ProxyMode"="system"
CMD
:: 選択項目 (1 つだけ使用)

:: プロキシを使用しない
reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "direct" /f
:: プロキシ設定を自動検出する
reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "auto_detect" /f
:: .pac プロキシ スクリプトを使用する
reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "pac_script" /f
:: 固定プロキシ サーバーを使用する
reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "fixed_servers" /f
:: システムのプロキシ設定を使用する
reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "system" /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# プロキシを使用しない
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'direct' -Force | Out-Null
# プロキシ設定を自動検出する
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'auto_detect' -Force | Out-Null
# .pac プロキシ スクリプトを使用する
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'pac_script' -Force | Out-Null
# 固定プロキシ サーバーを使用する
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'fixed_servers' -Force | Out-Null
# システムのプロキシ設定を使用する
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'system' -Force | Out-Null
コンピューターコンピューター全体の設定
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]

; 選択項目 (1 つだけ使用)
; プロキシを使用しない
"ProxyMode"="direct"
; プロキシ設定を自動検出する
"ProxyMode"="auto_detect"
; .pac プロキシ スクリプトを使用する
"ProxyMode"="pac_script"
; 固定プロキシ サーバーを使用する
"ProxyMode"="fixed_servers"
; システムのプロキシ設定を使用する
"ProxyMode"="system"
CMD
:: 選択項目 (1 つだけ使用)

:: プロキシを使用しない
reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "direct" /f
:: プロキシ設定を自動検出する
reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "auto_detect" /f
:: .pac プロキシ スクリプトを使用する
reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "pac_script" /f
:: 固定プロキシ サーバーを使用する
reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "fixed_servers" /f
:: システムのプロキシ設定を使用する
reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "system" /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# プロキシを使用しない
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'direct' -Force | Out-Null
# プロキシ設定を自動検出する
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'auto_detect' -Force | Out-Null
# .pac プロキシ スクリプトを使用する
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'pac_script' -Force | Out-Null
# 固定プロキシ サーバーを使用する
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'fixed_servers' -Force | Out-Null
# システムのプロキシ設定を使用する
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'system' -Force | Out-Null