English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

At work, to get internet access, you would have to change proxy settings, and thats fine with me, but the problem is, I would have to change the proxy settings back to "Auto detect" when I am back home...

Doing this every single day is silly! Isn't there a way to associate proxy settings to a specific network or something?

Thanks in Advance!

2007-10-04 01:40:42 · 5 answers · asked by jonquille 2 in Computers & Internet Computer Networking

5 answers

Just need 2 scripts, one to turn on, and one to turn off. Make sure your proxy's initially set then run these:

To turn OFF
------------------start script-------------------
Const HKEY_CURRENT_USER = &H80000001

strComputer = "."
Set objRegistry = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv")

strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings"

strValueName = "ProxyEnable"
dwValue = 0
objRegistry.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, strValueName, dwValue

-------------------------end script---------------------

and to turn back on

---------------------start script----------------------
Const HKEY_CURRENT_USER = &H80000001

strComputer = "."
Set objRegistry = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv")

strKeyPath = "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings"

strValueName = "ProxyEnable"
dwValue = 1
objRegistry.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, strValueName, dwValue

-----------------------end script------------------------


to use these, copy each (individually) into a text file and save them as off.vbs and on.vbs respectivley. When your saving, change the "type of file" to all files instead of the default .txt

from there all you have to do is double click the script- and it will turn it on or off!

Hope this helps

2007-10-04 02:06:40 · answer #1 · answered by Paulo 3 · 0 0

Why are you using a proxy unless you are in a school and trying to bypass the CIPA filters? A normal household setup for the internet doesn't use any proxy. There is nothing in the Safari preferences to suggest using a proxy. In your network control panel, you should have no proxies enabled.

2016-04-07 03:25:37 · answer #2 · answered by Anonymous · 0 0

certain computers allow you to use profiles where the network configuration such as proxy settings are defined.

another option is to have a script which just toggles on/off the proxy setting.

2007-10-04 01:50:01 · answer #3 · answered by TraderJoe 3 · 1 0

No, but you can put a shortcut on your desktop to toggle between the two settings. Just double-click it before you open IE the first time at each location and it will make the settings change for you. Try this one: http://www.starbandusers.com/toxy.htm

2007-10-04 02:02:50 · answer #4 · answered by hallmike1 7 · 0 0

No Sorry. Internet explorer, as well as other browsers, do not have different profile settings. You need to set it every time you change networks.....

2007-10-04 01:50:32 · answer #5 · answered by Taba 7 · 0 0

fedest.com, questions and answers