配置 Microsoft Edge 的代理设置。
如果启用此策略,则 Microsoft Edge 会忽略从命令行指定的所有代理相关选项。
如果未配置此策略,则用户可以选择自己的代理设置。
此策略将替代以下各个策略:
'ProxyMode' (配置代理服务器设置)
'ProxyPacUrl' (设置代理 .pac 文件的 URL)
'ProxyServer' (配置代理服务器的地址或 URL)
'ProxyBypassList' (配置代理绕过规则)
设置 'ProxySettings' (代理服务器设置) 字段策略以接受以下字段:
* ProxyMode,允许你指定 Microsoft Edge 使用的代理服务器,并阻止用户更改代理设置。
* ProxyPacUrl,指向代理 .pac 文件的 URL。
* ProxyServer,代理服务器的 URL。
* ProxyBypassList,Microsoft Edge 绕过的代理主机列表。
而ProxyMode,如果选择值:
* direct则将永远不会使用代理并且会忽略所有其他字段。
* system,则将使用系统的代理并忽略所有其他字段。
* auto_detect,则会忽略所有其他字段。
* fixed_server,则将使用 ProxyServer 和 ProxyBypassList 字段
* pac_script, 则将使用 ProxyPacUrl 和 ProxyBypassList字段。
有关更详细的示例,请转到 https://go.microsoft.com/fwlink/?linkid=2094936。
示例值:
{
"ProxyMode": "direct",
"ProxyPacUrl": "https://internal.site/example.pac",
"ProxyServer": "123.123.123.123:8080",
"ProxyBypassList": "https://www.example1.com,https://www.example2.com,https://internalsite/"
}
压缩示例值:
{"ProxyMode": "direct", "ProxyPacUrl": "https://internal.site/example.pac", "ProxyServer": "123.123.123.123:8080", "ProxyBypassList": "https://www.example1.com,https://www.example2.com,https://internalsite/"}
Registry Hive | HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER |
Registry Path | Software\Policies\Microsoft\Edge |
Value Name | ProxySettings |
Value Type | REG_SZ |
Default Value |