Seleccionar la forma de especificar la configuración del servidor proxy: valor del Registro ProxyMode (HKLM Chrome)EquipoHKLM\Software\Policies\Google\Chrome

Id. de directiva
ProxyMode
Ámbito
Configuración del equipo, configuración de usuario
Compatible con
Microsoft Windows 7 o versiones posteriores
Origen
Google Chrome Policy Templates (versión 156.0.8078.80)
Categoría
Google › Google Chrome › Políticas obsoletas

Registro

ProxyMode

REG_SZEquipoUsuario
…\Software\Policies\Google\ChromeHKLM\Software\Policies\Google\Chrome Clave actual
HKCU\Software\Policies\Google\Chrome
Valor al habilitar
Depende del valor de la opción
Elemento
Seleccionar la forma de especificar la configuración del servidor proxy
Opciones
Elemento de listaValor almacenado
No utilizar nunca un proxydirect
Detección automática de la configuración del proxyauto_detect
Utilizar un script .pac de proxypac_script
Utilizar servidores proxy fijosfixed_servers
Utilizar configuración de proxy del sistemasystem
Aplicar con .reg · CMD · PowerShell
EquipoConfiguración global del equipo
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]

; Opciones (usar solo una)
; No utilizar nunca un proxy
"ProxyMode"="direct"
; Detección automática de la configuración del proxy
"ProxyMode"="auto_detect"
; Utilizar un script .pac de proxy
"ProxyMode"="pac_script"
; Utilizar servidores proxy fijos
"ProxyMode"="fixed_servers"
; Utilizar configuración de proxy del sistema
"ProxyMode"="system"
CMD
:: Opciones (usar solo una)

:: No utilizar nunca un proxy
reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "direct" /f
:: Detección automática de la configuración del proxy
reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "auto_detect" /f
:: Utilizar un script .pac de proxy
reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "pac_script" /f
:: Utilizar servidores proxy fijos
reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "fixed_servers" /f
:: Utilizar configuración de proxy del sistema
reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "system" /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opciones (usar solo una)
# No utilizar nunca un proxy
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'direct' -Force | Out-Null
# Detección automática de la configuración del proxy
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'auto_detect' -Force | Out-Null
# Utilizar un script .pac de proxy
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'pac_script' -Force | Out-Null
# Utilizar servidores proxy fijos
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'fixed_servers' -Force | Out-Null
# Utilizar configuración de proxy del sistema
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'system' -Force | Out-Null
UsuarioConfiguración por cuenta
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]

; Opciones (usar solo una)
; No utilizar nunca un proxy
"ProxyMode"="direct"
; Detección automática de la configuración del proxy
"ProxyMode"="auto_detect"
; Utilizar un script .pac de proxy
"ProxyMode"="pac_script"
; Utilizar servidores proxy fijos
"ProxyMode"="fixed_servers"
; Utilizar configuración de proxy del sistema
"ProxyMode"="system"
CMD
:: Opciones (usar solo una)

:: No utilizar nunca un proxy
reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "direct" /f
:: Detección automática de la configuración del proxy
reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "auto_detect" /f
:: Utilizar un script .pac de proxy
reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "pac_script" /f
:: Utilizar servidores proxy fijos
reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "fixed_servers" /f
:: Utilizar configuración de proxy del sistema
reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "system" /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opciones (usar solo una)
# No utilizar nunca un proxy
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'direct' -Force | Out-Null
# Detección automática de la configuración del proxy
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'auto_detect' -Force | Out-Null
# Utilizar un script .pac de proxy
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'pac_script' -Force | Out-Null
# Utilizar servidores proxy fijos
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'fixed_servers' -Force | Out-Null
# Utilizar configuración de proxy del sistema
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'system' -Force | Out-Null