Configura le impostazioni del server proxy (deprecato): valore del Registro di sistema ProxyModeComputerHKLM\Software\Policies\Microsoft\Edge

ID criterio
ProxyMode
Ambito
Configurazione computer, Configurazione utente
Supportato in
Microsoft Edge versione 77, Windows 7 o versione successiva
Origine
Microsoft Edge Policy Templates (versione 155.0.4283.45)
Categoria
Microsoft Edge › Server proxy

Registro

ProxyMode

REG_SZComputerUtente
…\Software\Policies\Microsoft\EdgeHKLM\Software\Policies\Microsoft\Edge Chiave corrente
HKCU\Software\Policies\Microsoft\Edge
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Configura le impostazioni del server proxy
Opzioni
VoceValore memorizzato
Non usare mai un proxydirect
Rileva automaticamente le impostazioni del proxyauto_detect
Utilizza uno script proxy .pacpac_script
Utilizza server proxy fissifixed_servers
Utilizza Impostazioni proxy del sistemasystem
Applica con .reg · CMD · PowerShell
ComputerImpostazione globale del computer
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]

; Opzioni (usarne solo una)
; Non usare mai un proxy
"ProxyMode"="direct"
; Rileva automaticamente le impostazioni del proxy
"ProxyMode"="auto_detect"
; Utilizza uno script proxy .pac
"ProxyMode"="pac_script"
; Utilizza server proxy fissi
"ProxyMode"="fixed_servers"
; Utilizza Impostazioni proxy del sistema
"ProxyMode"="system"
CMD
:: Opzioni (usarne solo una)

:: Non usare mai un proxy
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "ProxyMode" /t REG_SZ /d "direct" /f
:: Rileva automaticamente le impostazioni del proxy
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "ProxyMode" /t REG_SZ /d "auto_detect" /f
:: Utilizza uno script proxy .pac
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "ProxyMode" /t REG_SZ /d "pac_script" /f
:: Utilizza server proxy fissi
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "ProxyMode" /t REG_SZ /d "fixed_servers" /f
:: Utilizza Impostazioni proxy del sistema
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "ProxyMode" /t REG_SZ /d "system" /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Opzioni (usarne solo una)
# Non usare mai un proxy
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'ProxyMode' -PropertyType String -Value 'direct' -Force | Out-Null
# Rileva automaticamente le impostazioni del proxy
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'ProxyMode' -PropertyType String -Value 'auto_detect' -Force | Out-Null
# Utilizza uno script proxy .pac
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'ProxyMode' -PropertyType String -Value 'pac_script' -Force | Out-Null
# Utilizza server proxy fissi
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'ProxyMode' -PropertyType String -Value 'fixed_servers' -Force | Out-Null
# Utilizza Impostazioni proxy del sistema
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'ProxyMode' -PropertyType String -Value 'system' -Force | Out-Null
UtenteImpostazione per account
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge]

; Opzioni (usarne solo una)
; Non usare mai un proxy
"ProxyMode"="direct"
; Rileva automaticamente le impostazioni del proxy
"ProxyMode"="auto_detect"
; Utilizza uno script proxy .pac
"ProxyMode"="pac_script"
; Utilizza server proxy fissi
"ProxyMode"="fixed_servers"
; Utilizza Impostazioni proxy del sistema
"ProxyMode"="system"
CMD
:: Opzioni (usarne solo una)

:: Non usare mai un proxy
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "ProxyMode" /t REG_SZ /d "direct" /f
:: Rileva automaticamente le impostazioni del proxy
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "ProxyMode" /t REG_SZ /d "auto_detect" /f
:: Utilizza uno script proxy .pac
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "ProxyMode" /t REG_SZ /d "pac_script" /f
:: Utilizza server proxy fissi
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "ProxyMode" /t REG_SZ /d "fixed_servers" /f
:: Utilizza Impostazioni proxy del sistema
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "ProxyMode" /t REG_SZ /d "system" /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Opzioni (usarne solo una)
# Non usare mai un proxy
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'ProxyMode' -PropertyType String -Value 'direct' -Force | Out-Null
# Rileva automaticamente le impostazioni del proxy
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'ProxyMode' -PropertyType String -Value 'auto_detect' -Force | Out-Null
# Utilizza uno script proxy .pac
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'ProxyMode' -PropertyType String -Value 'pac_script' -Force | Out-Null
# Utilizza server proxy fissi
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'ProxyMode' -PropertyType String -Value 'fixed_servers' -Force | Out-Null
# Utilizza Impostazioni proxy del sistema
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'ProxyMode' -PropertyType String -Value 'system' -Force | Out-Null