Removing Proxy Server Settings on login from Internet Explorer

We have AD with Win 2003 network, IE 6

I want to have a method of removing my proxy server settings from all PCs on login, from Internet Explorer.
 I have been told removing the check box in Policy Settings doesnt do it.

A .reg file may do it ?

any ideas
Who is Participating?
cmwcs1Connect With a Mentor Commented:
let me ask , do you NOT want to connect thru a proxy at ALL? if not, the easiest way to remove all instances is to uninstall windows communications all together, then reinstall it using the add/remove windows components menu in add/remove programs. that will remove all reg entries, checked boxes, etc. hope this helps you.

**NOTE: Keep the windows cd handy and be prepared to reboot twice. Once on un-install, and again on install.
mcv22Connect With a Mentor Commented:
I understand that you wish to remove proxy settings.

You can specify default proxy settings from outside your applications using the proxy configuration utility located in the %windir%\system32 directory. (proxycfg.exe)

You will need to enter the following in a command prompt window or a batch file(.BAT file which will need to be put in the start up folder):

proxycfg.exe -d

-d means direct connection
craylordConnect With a Mentor Commented:
I would do it through the registry. Here's how.

Open regedit on a workstation WITHOUT the proxy settings. Con
Browse to HKCU\software\microsoft\windows\currentversion\internet settings\
Right click Internet Settings and export.
Right click the exported reg file and choose edit
Delete every line except these. Line below with proxyserver is IP:port.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=whatever is listed here
"ProxyServer"=whatever is listed here

Close and save reg file, exit regedit.
Change the proxy settings and remove them via Internet Options.
Close all Internet Explorer windows.
Open regedit and verify that proxy settings are gone. Close regedit.
Merge the exported reg file. Open regedit and verify proxy settings are correctly imported. You can now import this file through scripts or cmd/dos. Here is the command line:

reg import c:\internetsettings.reg
reg import \\server01\share\internetsettings.reg

Put this file on a share (or copy to their harddrive through a script ) and import through script. Basically, configure a workstation, export the reg subkey, edit the key, and import.

Below is the commands I use with Kixtart in our login script to configure a proxy.

WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings", "ProxyEnable", "1", "REG_DWORD")
WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings", "ProxyServer", $PROXY, "REG_SZ")
WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings", "ProxyOverride", "172.*;*;<local>", "REG_SZ")
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Ron MalmsteadConnect With a Mentor Information Services ManagerCommented:
You don't need to do any of these things mentioned above...

Simply open your AD MMC....and at the top level.... click....choose group policy tab....Edit the one on top.......Another MMC pops up.....

Expand "user configuration"
expand "windows settings"
expand "internet explorer maintenance"
click on "connection"
Choose "import settings from this machine"
click modify

whatever you choose in here will be applied to all users accross the domain at the next logon.
Pavan_SegalAuthor Commented:
We did it through a similar method as suggested by xuser2000...We removed the proxy server address from the Group Policy for Internet Explorer...and it has been applied to the users on login the next day...
I would like to recommend myself, but I think xuserx2000 answer is a simple way for them. If they were still specifically looking for a method to import a .reg file as asked then I would recommend mine.
I believe all answers are relevant. Perhaps a split
Actually I'm suprised no one suggested to use GP?? Simply change the proxy settings in IE maintenance to disabled. They'll all immediatly stop being used when the users log on the next time.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.