views:

243

answers:

3

I'm trying to set all the connection settings in IE.

I've found how to modify most of them, in the path :

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings

But I can't find the parameter that sets or unsets "Automatically Detect Settings".

Any help ?

+1  A: 

I found the solution : it's the 9th bit of this key :

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections] "DefaultConnectionSettings"=hex:3c,00,00,00,1f,00,00,00,05,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,01,00,00,00,1f,00,00,00,68,74,74,70,3a,2f,2f,31, 34,34,2e,31,33,31,2e,32,32,32,2e,31,36,37,2f,77,70,61,64,2e,64,61,74,90,0e, 1e,66,d3,88,c5,01,01,00,00,00,8d,a8,4e,9e,00,00,00,00,00,00,00,00

Seems the different possible values are:

01 - neither of those 2 auto config boxes are checked

05 - just the Use automatic configuration script is checked

09 - just the Automatically detect settings is checked

0d - both of them are checked

Thanks to Jamie on google groups.

leo
A: 

You can always just export the registry, change the setting, then export the registry again and do a diff.

jeffamaphone
Yes indeed.But the best would be to find the actual specifications regarding this key.
leo
In general there are no specifications for IE registry keys. Mostly, as in this case, they are internal implementation details you can't rely on to be the same from release to release.
jeffamaphone
A: 

I can confirm this works. I exported the reg file after I had made the adjustments and then put it in a logon script like this:

REM ------ IE Auto Detect Settings FIX ------------------------------ REG IMPORT \mydomain.local\netlogon\IE-Autofix.reg 2>NUL

Dubsdj