Instellingen van proxyserver configureren (afgeschaft): registerwaarde ProxyModeComputerHKLM\Software\Policies\Microsoft\Edge

Beleids-ID
ProxyMode
Bereik
Computerconfiguratie, Gebruikersconfiguratie
Ondersteund op
Microsoft Edge versie 77, Windows 7 of hoger
Bron
Microsoft Edge Policy Templates (versie 155.0.4283.45)
Categorie
Microsoft Edge › Proxyserver

Register

ProxyMode

REG_SZComputerGebruiker
…\Software\Policies\Microsoft\EdgeHKLM\Software\Policies\Microsoft\Edge Huidige sleutel
HKCU\Software\Policies\Microsoft\Edge
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Instellingen van proxyserver configureren
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
ComputerInstelling voor de hele computer
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]

; 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\Edge" /v "ProxyMode" /t REG_SZ /d "direct" /f
:: Proxy-instellingen automatisch detecteren
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "ProxyMode" /t REG_SZ /d "auto_detect" /f
:: Een PAC-proxyscript gebruiken
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "ProxyMode" /t REG_SZ /d "pac_script" /f
:: Vaste proxyservers gebruiken
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "ProxyMode" /t REG_SZ /d "fixed_servers" /f
:: Proxy-instellingen van systeem gebruiken
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "ProxyMode" /t REG_SZ /d "system" /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null

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

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge]

; 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 "HKCU\Software\Policies\Microsoft\Edge" /v "ProxyMode" /t REG_SZ /d "direct" /f
:: Proxy-instellingen automatisch detecteren
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "ProxyMode" /t REG_SZ /d "auto_detect" /f
:: Een PAC-proxyscript gebruiken
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "ProxyMode" /t REG_SZ /d "pac_script" /f
:: Vaste proxyservers gebruiken
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "ProxyMode" /t REG_SZ /d "fixed_servers" /f
:: Proxy-instellingen van systeem gebruiken
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "ProxyMode" /t REG_SZ /d "system" /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null

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