プロキシ サーバー設定の指定方法を選択する のレジストリ値 ProxyServerMode (HKCU Chrome)ユーザーHKCU\Software\Policies\Google\Chrome
- ポリシー ID
- ProxyServerMode
- 適用対象
- コンピューターの構成、ユーザーの構成
- サポートされるバージョン
- Microsoft Windows 7 以降
- 出典
- Google Chrome Policy Templates (バージョン 156.0.8078.80)
- カテゴリ
- Google › Google Chrome › 非推奨ポリシー
レジストリ
ProxyServerMode
REG_DWORDユーザーコンピューター…\Software\Policies\Google\ChromeHKCU\Software\Policies\Google\Chrome 現在のキー
HKLM\Software\Policies\Google\Chrome
HKLM\Software\Policies\Google\Chrome
- 有効時の値
- オプションの値に依存
- 要素
- プロキシ サーバー設定の指定方法を選択する
| 項目 | 保存される値 |
|---|---|
| プロキシを使用しない | 0 |
| プロキシ設定を自動検出する | 1 |
| プロキシ設定を手動で指定する | 2 |
| システムのプロキシ設定を使用する | 3 |
.reg · CMD · PowerShell で適用する
ユーザーアカウントごとの設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Google\Chrome] ; 選択項目 (1 つだけ使用) ; プロキシを使用しない "ProxyServerMode"=dword:00000000 ; プロキシ設定を自動検出する "ProxyServerMode"=dword:00000001 ; プロキシ設定を手動で指定する "ProxyServerMode"=dword:00000002 ; システムのプロキシ設定を使用する "ProxyServerMode"=dword:00000003
CMD
:: 選択項目 (1 つだけ使用) :: プロキシを使用しない reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyServerMode" /t REG_DWORD /d 0 /f :: プロキシ設定を自動検出する reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyServerMode" /t REG_DWORD /d 1 /f :: プロキシ設定を手動で指定する reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyServerMode" /t REG_DWORD /d 2 /f :: システムのプロキシ設定を使用する reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyServerMode" /t REG_DWORD /d 3 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null # 選択項目 (1 つだけ使用) # プロキシを使用しない New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyServerMode' -PropertyType DWord -Value 0 -Force | Out-Null # プロキシ設定を自動検出する New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyServerMode' -PropertyType DWord -Value 1 -Force | Out-Null # プロキシ設定を手動で指定する New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyServerMode' -PropertyType DWord -Value 2 -Force | Out-Null # システムのプロキシ設定を使用する New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyServerMode' -PropertyType DWord -Value 3 -Force | Out-Null
コンピューターコンピューター全体の設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome] ; 選択項目 (1 つだけ使用) ; プロキシを使用しない "ProxyServerMode"=dword:00000000 ; プロキシ設定を自動検出する "ProxyServerMode"=dword:00000001 ; プロキシ設定を手動で指定する "ProxyServerMode"=dword:00000002 ; システムのプロキシ設定を使用する "ProxyServerMode"=dword:00000003
CMD
:: 選択項目 (1 つだけ使用) :: プロキシを使用しない reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyServerMode" /t REG_DWORD /d 0 /f :: プロキシ設定を自動検出する reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyServerMode" /t REG_DWORD /d 1 /f :: プロキシ設定を手動で指定する reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyServerMode" /t REG_DWORD /d 2 /f :: システムのプロキシ設定を使用する reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyServerMode" /t REG_DWORD /d 3 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null # 選択項目 (1 つだけ使用) # プロキシを使用しない New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyServerMode' -PropertyType DWord -Value 0 -Force | Out-Null # プロキシ設定を自動検出する New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyServerMode' -PropertyType DWord -Value 1 -Force | Out-Null # プロキシ設定を手動で指定する New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyServerMode' -PropertyType DWord -Value 2 -Force | Out-Null # システムのプロキシ設定を使用する New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyServerMode' -PropertyType DWord -Value 3 -Force | Out-Null