Discussion Locked

Changing Proxy Settings

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Is there a way I can change the proxy server settings used in IE with a logon script?

4 replies

by joseph moore

Yep. It's easy. Make a REG file that has the following entries:
REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyOverride"="*.domain1.com;*.domain2.com; 10.*.*.*"
"ProxyEnable"=dword:00000001

Those 2 entries, ProxyOverride and ProxyEnable, tell IE to 1) do not go through the proxy server for the selected domains (used for your intranet web sites that you run on your own internal web servers) and 2) to use a proxy server.
If you don't want to use a proxy server, then set ProxyEnable to 00000000
As you can see above, the path in the Registry for these proxy settings is HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings.

Save this file as a .REG and put it in the Netlogon share on your PDC/BDCs. Then in the logon scripts, put this in:
CALL REGEDIT /S PROXYFILE.REG
That will import it into the user Registry without displaying any message of what it is doing, or asking to do anything. It imports it in silent mode.

by jlawson2004

I also need to know if it is possible to change the name and port of the proxy server I want to use with a logon script?

This discussion is closed to new replies.