Removing Proxy Server Settings on login from Internet Explorer

Posted on 2005-05-05
Last Modified: 2012-05-05

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
Question by:Pavan_Segal

    Accepted Solution

    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.
    LVL 12

    Assisted Solution

    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
    LVL 16

    Assisted Solution

    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")
    LVL 25

    Assisted Solution

    by:Ron M
    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.

    Author Comment

    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...
    LVL 16

    Expert Comment

    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.
    LVL 12

    Expert Comment

    I believe all answers are relevant. Perhaps a split
    LVL 4

    Expert Comment

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    Whether you believe the “gig economy,” as it has been dubbed, is the next big economic paradigm shift ( or an overstated trend (…
    Digital marketing agencies have encountered both the opportunities and difficulties that emerge from working with a wide-ranging organizations.
    Video by: Kyle
    After watching the Introduction to GIMP and additional tools to use in GIMP we are shown how to utilize multiple tools to create a 3D effect image.
    Where to go on the main page to find the job listings. How to apply to a job that you are interested in from the list that is featured on our Careers page.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now