Geef aan hoe instellingen voor de proxyserver moeten worden opgegeven: registerwaarde ProxyModeComputerHKLM\Software\Policies\Microsoft\EdgeUpdate

Beleids-ID
Pol_ProxyMode
Bereik
Computerconfiguratie
Ondersteund op
Microsoft Edge Update 1.3.21.81 en hoger
Bron
Microsoft Edge Policy Templates (versie 155.0.4283.45)
Categorie
Update voor Microsoft Edge › Proxyserver

Register

ProxyMode

REG_SZComputer
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Kies hoe u proxyserverinstellingen wilt opgeven
Opties
ItemOpgeslagen waarde
Nooit een proxy gebruikendirect
Proxy-instellingen automatisch detecterenauto_detect
Een PAC-proxyscript gebruikenpac_script
Vaste proxyservers gebruikenfixed_servers
Proxy-instellingen van systeem gebruikensystem
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\EdgeUpdate]

; Opties (gebruik er maar één)
; Nooit een proxy gebruiken
"ProxyMode"="direct"
; Proxy-instellingen automatisch detecteren
"ProxyMode"="auto_detect"
; Een PAC-proxyscript gebruiken
"ProxyMode"="pac_script"
; Vaste proxyservers gebruiken
"ProxyMode"="fixed_servers"
; Proxy-instellingen van systeem gebruiken
"ProxyMode"="system"
CMD
:: Opties (gebruik er maar één)

:: Nooit een proxy gebruiken
reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "ProxyMode" /t REG_SZ /d "direct" /f
:: Proxy-instellingen automatisch detecteren
reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "ProxyMode" /t REG_SZ /d "auto_detect" /f
:: Een PAC-proxyscript gebruiken
reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "ProxyMode" /t REG_SZ /d "pac_script" /f
:: Vaste proxyservers gebruiken
reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "ProxyMode" /t REG_SZ /d "fixed_servers" /f
:: Proxy-instellingen van systeem gebruiken
reg add "HKLM\Software\Policies\Microsoft\EdgeUpdate" /v "ProxyMode" /t REG_SZ /d "system" /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Force | Out-Null

# Opties (gebruik er maar één)
# Nooit een proxy gebruiken
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Name 'ProxyMode' -PropertyType String -Value 'direct' -Force | Out-Null
# Proxy-instellingen automatisch detecteren
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Name 'ProxyMode' -PropertyType String -Value 'auto_detect' -Force | Out-Null
# Een PAC-proxyscript gebruiken
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Name 'ProxyMode' -PropertyType String -Value 'pac_script' -Force | Out-Null
# Vaste proxyservers gebruiken
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Name 'ProxyMode' -PropertyType String -Value 'fixed_servers' -Force | Out-Null
# Proxy-instellingen van systeem gebruiken
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\EdgeUpdate' -Name 'ProxyMode' -PropertyType String -Value 'system' -Force | Out-Null