Solved

Disable proxy enable autodetect through script

Posted on 2007-11-14
5
3,239 Views
Last Modified: 2012-06-27
I need a script whcih can disable the proxy server and enable auto detect settings for IE. I can't use GPO as there is not the facility to do this in our environment.

I need this to be the setting regardless of what is currently set on the PC.

Thanks for your help.
0
Comment
Question by:DenisCooper
[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
5 Comments
 
LVL 11

Expert Comment

by:bsharath
ID: 20280108
See this post...

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Q_22814030.html

Edit the reg file with the proxy name and port

Hope this helps...
0
 
LVL 7

Author Comment

by:DenisCooper
ID: 20281032
I don't want a proxy server to be used, but i also want the Auto Detect Settings box checked.
0
 
LVL 11

Expert Comment

by:bsharath
ID: 20281109
Hi Denis...As you know i am no scripting guy...

Just thought could share what i had...Hope some one else will help....
0
 
LVL 7

Author Comment

by:DenisCooper
ID: 20281151
thanks....
0
 
LVL 26

Accepted Solution

by:
farhankazi earned 500 total points
ID: 20281887
You can include following three lines inside a script to disable proxy settings and enable Automatically detect settings in IE

:: BATCH CODE START
Reg Add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f

REG DELETE "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" /v SavedLegacySettings /f

REG DELETE "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" /v DefaultConnectionSettings /f
:: BATCH CODE START

Hope this helps!
Farhan
0

Featured Post

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

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

AutoHotkey is an excellent, free, open source programming/scripting language for Windows. It started out as a keyboard/mouse macros product, but has expanded into a robust language. This article provides an introduction to it, with links to addition…
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

687 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