Disable automatic proxy setup - Automatically detect settings

Copper Contributor

Hi There, 

 

For my organisation. I want to turn off 'Automatically detect settings' in the settings of Windows server. This is regarding the Automatic proxy setup. I want to do this using a gpo and scope it on all the servers in our domain. Unfortunately I cannot find anything that works. I tried few things, but it didnt gave me the result I wanted to.  

 

You have some suggestions? 

4 Replies

Hi Switcheez,

The Proxy Auto-Configuration can be disable by changing this registry key:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinHttpAutoProxySvc. In the value "start", please change the data value from "3" to "4".

 

https://techcommunity.microsoft.com/t5/windows-10/clearing-wpad-cache-and-settings-solution/m-p/3847...

 

@MathieuVandenHautte How can I do this using a group policy? I tried to make a reg key with setting the decimal amount to 4. And then add it to a gpo using the start script gp. But then it doesn't work....

Hi Switcheez,

GPO setting:

- Link the GPO to the OU('s) with the computer objects (servers)
- Computer Configuration\Preferences\Windows Settings\Registry
- Action: Update
- Hive: HKEY_LOCAL_MACHINE
- Key Path: SYSTEM\CurrentControlSet\Services\WinHttpAutoProxySvc
- Value name: Start
- Value type: REG_DWORD
- Value data: 4

- Base: Hexadecimal

On the devices (servers)
- CMD > gpupdate /force
- or reboot

- Please check the value of the regkey


Note: you possibly have to reboot the devices a couple of times before the registry change kicks in.

@Switcheez I too had a similar issue.  For those looking to enable it; you can find the GPO setting under User Configuration\Preferences\Control Panel Settings\Internet Settings\  Right-Click in white space, New -> IE10, Connections, LAN Settings, check the box to Automatically Detect Settings, OK.  I did change the radio button to 'Never dial a connection,' and I renamed the Internet Setting to "Automatically Detect Settings."  I know this isn't at the computer level, but if that's desired, use the registry setting as mentioned throughout this post.  Good Luck.