[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Turn off proxy flag in IE using VBScript

Posted on 2008-06-20
4
Medium Priority
?
1,303 Views
Last Modified: 2013-12-08
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?
0
Comment
Question by:Butterfield_Cayman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
sungenwang earned 800 total points
ID: 21831549
Sure. The code below will turn it off.
sew

Dim WshShell
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable", 1, "REG_SZ"

Open in new window

0
 

Author Comment

by:Butterfield_Cayman
ID: 21832112
doesn't seem to work. I've found that key in the registry and it looks like the value is actually "0" to turn it off. But the code doesn't seem to be doing anything??
Any ideas?
0
 
LVL 14

Expert Comment

by:sungenwang
ID: 21832184
Once you restart your browser, the change should take place.
sew
0
 

Author Comment

by:Butterfield_Cayman
ID: 21832569
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.
Dim WshShell
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable", 0, "REG_DWORD"

Open in new window

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question