Want create site? Find Free WordPress Themes and plugins.

In my line of work, my clients tend to move around a lot, and when they move to another site, they have to reconfigure their internet proxy. I described in another post how to quickly¬†configure a proxy server and port on client side computers, but when the process becomes a repetitive task, it becomes a bore, and a time wasting process. So today’s task is to create a one-click script to change the Internet Explorer proxy settings.

How to Change IE Proxy with one mouse double-click

We shall use a combination of our knowledge of the Windows Registry hacks, and a little batch programming script to accomplish this.

First fire up notepad.exe and type the following lines.

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=dword:00000001
"ProxyServer"="http://Proxy server:port"
"ProxyOverride"="<local>"

Replace http://Proxyserver and port in the third line with your network’s proxy server (could also be an IP address too) and port respectively.

The third line “ProxyEnable” specifies whether you want to enable the proxy or not. Change the dword value to 00000000 if you want to disable proxy (Equivalent to unchecking “Use a proxy server for your LAN…” in the Internet Properties dialog box.

The fourth line “ProxyOverride” is equivalent to “Bypass proxy server for local addresses”

Now save this file as a reg file (say, proxysettings.reg) in any folder (let’s choose c:\)

We can now create another notepad file and input the code below

regedit.exe /s "C:\ProxySettings.reg"

and save it as something like ProxySettings.bat anywhere desired.

Double-clicking this .bat file will immediately (and silently) change the proxy server.

You could even automate the change by saving it as a logon script so that each time a user logs on, his proxy server changes to the desired values.

And that’s it. I believe this is the fastest way to change the proxy server on client computers. Please leave your comments below.

 

Enhanced by Zemanta
Did you find apk for android? You can find new Free Android Games and apps.
SHARE

1 COMMENT

  1. Thanks a lot for providing individuals with remarkably spectacular possiblity to read from this web site. It is usually so ideal and as well , jam-packed with a good time for me and my office mates to visit your web site at a minimum three times in a week to learn the newest things you will have. Not to mention, I am just always happy for the exceptional concepts you serve. Some two facts in this article are unequivocally the most suitable I’ve had.

Leave a Reply