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

后端 未结 11 1781
没有蜡笔的小新
没有蜡笔的小新 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: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");
                        }
    

提交回复
热议问题