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
Solved

Disable proxy enable autodetect through script

Posted on 2007-11-14
5
3,231 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
  • 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
shell script 2 36
Fix Error Of Duplicate Folders When Renaming Folders 4 49
Windows Updates Batch Files (now with executables!) 32 59
Powershell File Sort 8 41
You may have already been in the need to update a whole folder stucture using a script. Robocopy does it well and even provides a list of non-updated files in a log (if asked to). Generally those files that were locked by a user or a process by the …
This article will show, step by step, how to integrate R code into a R Sweave document
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

808 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