ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Finished Programs

DONE: turn IE proxy server on/off

(1/10) > >>

williamhdixon:
When connected to the network at my client site, I have to define a proxy server.  At home, I do not.

To turn the proxy server option on/off, I go to:
     Start / Control Panel / Internet Options / Connections tab / LAN Settings button
Then I select/deselect "Use a proxy server for your LAN".

The proxy server address stays when you deselect it, thank goodness, so I don't have to enter it every time.
Nothing changes between home and client site except for that one selection box.

Could someone help me out with something that would automate this?  Ideally, it would:

* load itself into the system tray
* indicate by color or something whether the proxy setting was checked or unchecked
* change the setting (and icon color) when you click the icon
* run under Windows 7 (what I use) or Windows XP (what a co-worker uses)
This way, instead of pulling up the IE options screen each and every morning, I could just glance into the system tray, look at the color of the icon, and click it if it isn't set the way I need it that day.

Is this possible?  Anyone willing to help me out?

Thanks,
Bill

Ath:
A few options are already available:

A couple of non-free tools: NetSwitcher, Mobile NetSwitch, Easy NetSwitch

Or a bit awkward/obtrusive but free Italian tool called JimiIP (sunglasses on, terrible website too 8))

Carol Haynes:
The other approach is to use Firefox in one location and IE In the other - they can have independent proxies.

williamhdixon:
Ath - Thanks for the pointers, but those are WAY more complicated than I'm looking for.  They set things like default printer, etc.  All I want/need to do is to turn the "Use a proxy server" option on or off.  And since that's all I need to do, I'm afraid it would be more of a hassle to use those tools than to simply go to Internet Options like I've been doing.

Carol - Thanks, but the browser is immaterial.  Specifically, if I hit the Internet from home in the evening (which means the proxy setting is deselected) but forget to change it when I get to the client site the next morning, the VPN software I use won't make a connection.  I don't use a browser that much in the office (except to search for things like this).  Besides which, I hate IE.

BTW - I've tried manually changing the registry setting, based on some tips I've found on the internet.  If I could get this working, I could create shortcuts with the commands, or put them in a batch file, or even write a perl wrapper around them.

If I run:
REG QUERY "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -v ProxyEnable
it does shows me the current state of the option, no matter how often I change it in the Internet Options screen.

If I run:
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /t REG_DWORD /v ProxyEnable /d 0x0 /f
REG QUERY "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -v ProxyEnable
it *says* it changed it.

But it didn't.  If I go into Internet Options, it still has the old value.

skwire:
Hi, William, and welcome to the site.  I wrote a program at my last job that does half of what you want.  I called it ProxyKiller so I'm sure you can guess which half.   I'll see about fleshing it out to cover your needs.  Stay tuned.

Navigation

[0] Message Index

[#] Next page

Go to full version