none
IE, Disable 'Automatically Detect Settings' Via GPO

    Question

  • Hi guys,

    We have recently been having a small problem with IE, whereby the 'automatically detect settings' check box will get ticked - resulting in our users not being able to traverse our proxy server.

    I use the User Configuration > Policies > Windows Settings > IE Maintenance > Connection to set up our proxy settings, however I can't see an option to explicitly disable the 'automatically detect settings' check box.

    Is this located somewhere else in an admin template, or am I simply missing an option that is right in front of me?

    Thanks.

    Glen
    Monday, November 09, 2009 3:10 AM

Answers

  • Hi,

    Thanks for the post.

    This Group Policy should be located in the following path:

    User Configuration\Administrative Templates\Windows Components\Internet Explorer\Disable changing Automatic Configuration settings

    Here is the relevant registry key:

    Disable changing Automatic Configuration settings
    ==================================
    KEY: HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel
    DWORD: Autoconfig = 1

    Hope this helps.

    Tuesday, November 10, 2009 8:55 AM
    Moderator

All replies

  • Hi,

    Thanks for the post.

    This Group Policy should be located in the following path:

    User Configuration\Administrative Templates\Windows Components\Internet Explorer\Disable changing Automatic Configuration settings

    Here is the relevant registry key:

    Disable changing Automatic Configuration settings
    ==================================
    KEY: HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel
    DWORD: Autoconfig = 1

    Hope this helps.

    Tuesday, November 10, 2009 8:55 AM
    Moderator
  • Hi Miles,

    Thank you for the reply (sorry my reply is so late also).  I had a read of the setting description and it seems like it should do what I want.

    Thanks again.

    Glen.
    Tuesday, November 17, 2009 4:52 AM
  • Hi Miles,

    This makes the user unable to change it them selfs but it does not remove the checkmark if it is alredy there.

    How do we make sure the check box "Automatically detect settings" is allways onchecked using a GPO?

    Theres two registry keys under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections
    DefaultConnectionSettings
    SavedLegacySettings 

    I found that bit no. 9 does the trick and you only need to change the DefaultConnectionSettings key though IE changes them both when you manually uncheck the box.

    Hope you or someone else can help.

    Somebum 
    Wednesday, November 25, 2009 10:11 AM
  • Hi,

    did you ever find a solution here? I am looking for the same setting.

    Thanks,

    Dave

    • Proposed as answer by Roberth Zelaya Wednesday, December 12, 2012 3:52 PM
    • Unproposed as answer by Roberth Zelaya Wednesday, December 12, 2012 3:52 PM
    Wednesday, June 08, 2011 11:56 AM
  • You have to enable first the Preference Mode (http://support.microsoft.com/kb/274846/en-us). Then everything should work as expected at user level.


    " Never panic before reboot ! "
    Wednesday, June 08, 2011 7:25 PM
  • here is a script that does the trick: source

    http://www.craig-tolley.co.uk/2011/08/30/disable-automatically-detect-settings-in-internet-explorer/

    Option Explicit
    On Error Resume Next
    'Create a constant for the HKEY_CURRENT_USER object
    Const HKCU = &H80000001
    'Define variables
    Dim strComputer
    Dim strRegistryKey
    Dim objRegistry
    Dim strRegistryValue
    DIm binValue
    strComputer = "."
    strRegistryKey = "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections"
    strRegistryValue = "DefaultConnectionSettings"
    'Connect to the Registry
    Set objRegistry = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv")
    'Retrieve the current settings. 
    objRegistry.GetBinaryValue HKCU, strRegistryKey, strRegistryValue, binValue
    'Change the 'Automatically detect settings' box to unticked
    binValue(8) = 05
    'binValue(8) = 13 - Enable this line to check the box instead of uncheck
    'Save the changes
    objRegistry.SetBinaryValue HKCU, strRegistryKey, strRegistryValue, binValue

    • Proposed as answer by Roberth Zelaya Wednesday, December 12, 2012 3:52 PM
    Wednesday, December 12, 2012 3:51 PM
  • Thanks for the script Roberth. I just had to modify it to set the value to 1, not 5. 1 clears all the check boxes.
    Friday, April 19, 2013 2:58 PM
  • Preference Mode doesn't work in IE 10 or Windows 8.


    Tech with Alberta Education

    Tuesday, July 30, 2013 8:32 PM
  • I would like to share what I have discovered in RegMon since last year and tested working. Just shared this in the Internet, sorry for the delay. =)

    HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings
    AutoDetect = 1  (DWord value) 

    - enables "Automatically detect...."

    HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings
    AutoDetect = 0 (DWord)

    -disables "Automatically detect...."

    The solution is pretty straight forward. I could not see any MS post/blog advising this setting.

    Note: This is a "volatile" registry item which disappears after applying changes, bottom line, it should work.

    You could simply implement this setting in GP Preferences. Please vote and feedback if it works!

    Tested in IE8/IE10/Windows 7 and 8

    • Proposed as answer by Mon Laq Friday, January 03, 2014 2:57 AM
    Friday, January 03, 2014 2:57 AM
  • Of course, this solution works fine for me.

    I am trying to set an alternative proxy-server on our highschool here since last year. Now it seems to be good.

    Simply disable "Automatically detect..." with this regkey:
    HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings
    AutoDetect = 0 (DWord)

    And than set MigrateProxy to 1(DWord) with this regkey:
    HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings See for more information http://support.microsoft.com/kb/2587595.

    Now, new users can loggon to the pc, starting IE10 the first time and will get the alternative proxyserver. The alternativ
    proxyserver i am setting with GP Preferences. It works fine.

    Hope this can help all people over there...

    Tuesday, January 28, 2014 2:38 PM