Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1007
  • Last Modified:

fast way to deactivate proxy ?

Is there a faster way to deactivate proxy than the 100 clicks in Explorer option ? Some registry setting some secret command ?

Thanks in advance !
0
peter_b
Asked:
peter_b
1 Solution
 
red117Commented:
go to tools..
internet options...
connections...
lan settings...

or go to help...
contents and index...
options...
internet options..
connections..
lan setting...

little longer that way...
but still not alot of clicks...




0
 
peter_bAuthor Commented:
nah there must be a simpler way...
0
 
kikkertmCommented:
he peter,

This looks like a strange one, but I use it and works fine with only 1 click !
You need WSH 5.1 (windows script host)to be installed on the box. To check this, go to the dos prompt (or cmd in NT) and type : wscript and see what happens. otherwise you can download it from : http://msdn.microsoft.com/scripting/default.htm?/scripting/windowshost/doc/wsversion.htm
Also this version I wrote for the English version of IE 5. If you have a different version let me know, I might be able to adapt it.

then open notepad, copy the following code into it :

dim x
set x = createObject("wscript.shell")
x.AppActivate "Microsoft Internet Explorer"
x.sendkeys "%to"
x.sendkeys "+{tab}"
x.sendkeys "{right}{right}{right}"
x.sendkeys "%l"
wscript.sleep (300)
x.sendkeys "{tab 2}"
wscript.sleep (300)
x.sendkeys " "
wscript.sleep (300)
x.sendkeys "{enter 2}"
set x = nothing

and save it somewhere on your harddisk as 'proxyOnOff.vbs'.then create a quicklaunch shortcut to it and voila, a 1 click solution. If proxy is on, this will turn it off and vice versa.

Goodluck.
0
 
FelinaCommented:
What OS are you using?

~Felina
0
 
peter_bAuthor Commented:
win98 but i made a macroexpress macro just the same thanks for the solution though !
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now