Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Registry key for 'Auto detect settings' 1

Status
Not open for further replies.

sunil5

IS-IT--Management
Dec 17, 2003
100
GB
As per subject..

Does anyone know the registry key to disable/enable the 'Automatically detect settings' check box in LAN settings of IE?

Apologies if this has been asked elsewhere.

Many thanks in advance,


Sunil.
 
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel]
"AutoConfig"=dword:00000001 (1=enabled,0=disabled)

 
Sorry my fault for not phrasing the question correctly...

What I want to know is whether it is possible to 'check or uncheck' the 'Automatically detect settings' check box directly via the registry (to be used in a batch script).


Thanks again,

Sunil
 
Open notepad, and copy/paste the below as auto_on.reg

********* begin copy/paste below this line
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel]
"AutoConfig"=dword:00000001
***** end copy/paste above this line

Note: change the "1" above to "0" to make a file that turns it off.

In your batch file put the line:

regedit /s auto_on.reg
 
Hi bcastner,

I understand how to edit the registry key via a batch file.

It's just that the key you have given me doesn't actually 'tick/check or untick/uncheck' the 'Automatically detect setting' box. It actually disables/enables it (i.e. greys it out to prevent you from selecting/deselecting it).

I need to able to actually 'tick/untick' this box rather enabling/disabling it.

Sorry if i sound confusing.

Thanks,

Sunil
 
It is REG_BINARY, and set up a workstation as you like, and export the key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections
 
Yeah works great.

Thanks for that :)

Sunil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top