Choose how to specify proxy server settings: registry value ProxyMode (HKCU Chrome)UserHKCU\Software\Policies\Google\Chrome
- Policy ID
- ProxyMode
- Scope
- Computer Configuration, User Configuration
- Supported on
- Microsoft Windows 7 or later
- Source
- Google Chrome Policy Templates (version 156.0.8078.80)
- Category
- Google › Google Chrome › Deprecated policies
Registry
ProxyMode
REG_SZUserComputer…\Software\Policies\Google\ChromeHKCU\Software\Policies\Google\Chrome Current key
HKLM\Software\Policies\Google\Chrome
HKLM\Software\Policies\Google\Chrome
- Enabled value
- Depends on the option value
- Element
- Choose how to specify proxy server settings
| Item | Stored value |
|---|---|
| Never use a proxy | direct |
| Auto detect proxy settings | auto_detect |
| Use a .pac proxy script | pac_script |
| Use fixed proxy servers | fixed_servers |
| Use system proxy settings | system |
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Google\Chrome] ; Options (use only one) ; Never use a proxy "ProxyMode"="direct" ; Auto detect proxy settings "ProxyMode"="auto_detect" ; Use a .pac proxy script "ProxyMode"="pac_script" ; Use fixed proxy servers "ProxyMode"="fixed_servers" ; Use system proxy settings "ProxyMode"="system"
CMD
:: Options (use only one) :: Never use a proxy reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "direct" /f :: Auto detect proxy settings reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "auto_detect" /f :: Use a .pac proxy script reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "pac_script" /f :: Use fixed proxy servers reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "fixed_servers" /f :: Use system proxy settings reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "system" /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null # Options (use only one) # Never use a proxy New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'direct' -Force | Out-Null # Auto detect proxy settings New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'auto_detect' -Force | Out-Null # Use a .pac proxy script New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'pac_script' -Force | Out-Null # Use fixed proxy servers New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'fixed_servers' -Force | Out-Null # Use system proxy settings New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'system' -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome] ; Options (use only one) ; Never use a proxy "ProxyMode"="direct" ; Auto detect proxy settings "ProxyMode"="auto_detect" ; Use a .pac proxy script "ProxyMode"="pac_script" ; Use fixed proxy servers "ProxyMode"="fixed_servers" ; Use system proxy settings "ProxyMode"="system"
CMD
:: Options (use only one) :: Never use a proxy reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "direct" /f :: Auto detect proxy settings reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "auto_detect" /f :: Use a .pac proxy script reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "pac_script" /f :: Use fixed proxy servers reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "fixed_servers" /f :: Use system proxy settings reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "system" /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null # Options (use only one) # Never use a proxy New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'direct' -Force | Out-Null # Auto detect proxy settings New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'auto_detect' -Force | Out-Null # Use a .pac proxy script New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'pac_script' -Force | Out-Null # Use fixed proxy servers New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'fixed_servers' -Force | Out-Null # Use system proxy settings New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'system' -Force | Out-Null