我有一个设置代理设置的程序,它可以在 Windows 8 和 IE 10 之前的 Windows 早期版本中运行。它设置了下面的键。在 Windows 8 中,其他浏览器(如 firefox)识别更改并使用代理设置。对于 IE 10,全局策略生效(设置灰显)但代理设置本身无效。如果我将 ProxySettingsPerUser 设置为 1 并将相同的密钥复制到 HKCU,那么 IE 会将它们用于当前用户......但我需要它来覆盖所有用户。
HKLM "SOFTWARE\Policies\Microsoft\Internet Explorer\Control Panel" "Proxy" = 1
HKLM "SOFTWARE\Policies\Microsoft\Internet Explorer\Control Panel" "AutoConfig" = 1
HKLM "SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings" "ProxySettingsPerUser" = 0
HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" "DialupUseLanSettings" = 1
HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" "WarnOnIntranet" = 0
HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" "ProxyEnable" = 1
HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" "MigrateProxy" = 1
HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" "ProxyServer" = <server name>
HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" "ProxyOverride" = <list of exceptions>