views:

56

answers:

1

Environment: windows xp.

If my ID is "SYSTEM", and want to programatically change the IE proxy setting for all users on the same machine, is it possible?

Thanks, xin

A: 

Have you checked this

RegistryKey RegKey = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings", true);
RegKey.SetValue("ProxyServer", "proxy server");
RegKey.SetValue("ProxyEnable", 1);
RegKey.SetValue("ProxyOverride", "your domain", RegistryValueKind.String);
Pritam Karmakar