Butterfield_Cayman
asked on
Turn off proxy flag in IE using VBScript
In IE, if you go to tools> connections tab> Lan Settings - there's a flag at the bottom called "use a proxy server for your LAN .......) Is there a way in VBScript to turn that flag off?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Once you restart your browser, the change should take place.
sew
sew
ASKER
figured it out, had to change a couple of settings in your code, but got it working, thanks mucho. Working code is attached.
points are yours though as I wouldn't of had a clue where to start otherwise.
points are yours though as I wouldn't of had a clue where to start otherwise.
Dim WshShell
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable", 0, "REG_DWORD"
ASKER
Any ideas?