Scegli come specificare le impostazioni del server proxy: valore del Registro di sistema ProxyMode (HKLM Chrome)ComputerHKLM\Software\Policies\Google\Chrome
- ID criterio
- ProxyMode
- Ambito
- Configurazione computer, Configurazione utente
- Supportato in
- Microsoft Windows 7 o versioni successive
- Origine
- Google Chrome Policy Templates (versione 156.0.8078.80)
- Categoria
- Google › Google Chrome › Norme obsolete
Registro
ProxyMode
REG_SZComputerUtente…\Software\Policies\Google\ChromeHKLM\Software\Policies\Google\Chrome Chiave corrente
HKCU\Software\Policies\Google\Chrome
HKCU\Software\Policies\Google\Chrome
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Scegli come specificare le impostazioni del server proxy
| Voce | Valore memorizzato |
|---|---|
| Non utilizzare mai un proxy | direct |
| Rileva automaticamente impostazioni proxy | auto_detect |
| Utilizza uno script proxy .pac | pac_script |
| Utilizza server proxy definiti | fixed_servers |
| Utilizza le impostazioni proxy di sistema | system |
Applica con .reg · CMD · PowerShell
ComputerImpostazione globale del computer
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome] ; Opzioni (usarne solo una) ; Non utilizzare mai un proxy "ProxyMode"="direct" ; Rileva automaticamente impostazioni proxy "ProxyMode"="auto_detect" ; Utilizza uno script proxy .pac "ProxyMode"="pac_script" ; Utilizza server proxy definiti "ProxyMode"="fixed_servers" ; Utilizza le impostazioni proxy di sistema "ProxyMode"="system"
CMD
:: Opzioni (usarne solo una) :: Non utilizzare mai un proxy reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "direct" /f :: Rileva automaticamente impostazioni proxy reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "auto_detect" /f :: Utilizza uno script proxy .pac reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "pac_script" /f :: Utilizza server proxy definiti reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "fixed_servers" /f :: Utilizza le impostazioni proxy di sistema reg add "HKLM\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "system" /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null # Opzioni (usarne solo una) # Non utilizzare mai un proxy New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'direct' -Force | Out-Null # Rileva automaticamente impostazioni proxy New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'auto_detect' -Force | Out-Null # Utilizza uno script proxy .pac New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'pac_script' -Force | Out-Null # Utilizza server proxy definiti New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'fixed_servers' -Force | Out-Null # Utilizza le impostazioni proxy di sistema New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'system' -Force | Out-Null
UtenteImpostazione per account
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Google\Chrome] ; Opzioni (usarne solo una) ; Non utilizzare mai un proxy "ProxyMode"="direct" ; Rileva automaticamente impostazioni proxy "ProxyMode"="auto_detect" ; Utilizza uno script proxy .pac "ProxyMode"="pac_script" ; Utilizza server proxy definiti "ProxyMode"="fixed_servers" ; Utilizza le impostazioni proxy di sistema "ProxyMode"="system"
CMD
:: Opzioni (usarne solo una) :: Non utilizzare mai un proxy reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "direct" /f :: Rileva automaticamente impostazioni proxy reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "auto_detect" /f :: Utilizza uno script proxy .pac reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "pac_script" /f :: Utilizza server proxy definiti reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "fixed_servers" /f :: Utilizza le impostazioni proxy di sistema reg add "HKCU\Software\Policies\Google\Chrome" /v "ProxyMode" /t REG_SZ /d "system" /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null # Opzioni (usarne solo una) # Non utilizzare mai un proxy New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'direct' -Force | Out-Null # Rileva automaticamente impostazioni proxy New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'auto_detect' -Force | Out-Null # Utilizza uno script proxy .pac New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'pac_script' -Force | Out-Null # Utilizza server proxy definiti New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'fixed_servers' -Force | Out-Null # Utilizza le impostazioni proxy di sistema New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'ProxyMode' -PropertyType String -Value 'system' -Force | Out-Null