What key in windows registry disables IE connection parameter “Automatically Detect Settings”?

后端 未结 11 1753
没有蜡笔的小新
没有蜡笔的小新 2020-12-04 18:15

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\\

相关标签:
11条回答
  • 2020-12-04 19:06

    If it is simply to disable a group policy that is enforced every 30 minutes you can uncheck the box then change the permissions to Read Only.

    0 讨论(0)
  • 2020-12-04 19:06
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Control Panel]
    "Connection Settings"=dword:00000000
    "Connwiz Admin Lock"=dword:00000000
    "Autoconfig"=dword:00000000
    "Proxy"=dword:00000000
    "ConnectionsTab"=dword:00000000
    
    0 讨论(0)
  • 2020-12-04 19:12

    For anyone looking to untick the 'Automatically Detect Settings' box without overwriting the other settings contained in the registry entry, you can use vbscript at logon.

    On Error Resume Next
    
    Set oReg   = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv")
    sKeyPath   = "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections"
    sValueName = "DefaultConnectionSettings"
    
    ' Get registry value where each byte is a different setting.
    oReg.GetBinaryValue &H80000001, sKeyPath, sValueName, bValue
    
    ' Check byte to see if detect is currently on.
    If (bValue(8) And 8) = 8 Then
    
      ' Turn off detect and write back settings value.
      bValue(8) = bValue(8) And Not 8
      oReg.SetBinaryValue &H80000001, sKeyPath, sValueName, bValue
    
    End If
    
    Set oReg = Nothing
    
    0 讨论(0)
  • 2020-12-04 19:12

    I think you can change the "Automatically detect settings" via the registry key name "AutoConfigURL". here is the code that I check in c#. Wish you luck.

        RegistryKey registry = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings", true);
                        if(registry.GetValue("AutoConfigURL") != null)
                        {
                            //Proxy Server disabled (Untick Proxy Server)
                            registry.DeleteValue("AutoConfigURL");
                        }
    
    0 讨论(0)
  • 2020-12-04 19:17

    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
    
    0 讨论(0)
提交回复
热议问题