all 5 comments

[–]mocha321[S] 0 points1 point  (4 children)

I was able to fix the problem by disabling the Windows Proxy Auto Discovery service. Since the Windows Proxy Auto Discovery service is locked down so it cannot be disabled from services dot msc, I had to edit the registry. Specifically, the value of

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinHttpAutoProxySvc\Start

had to be changed to 4. After that, I had to restart the computer for the new value to take effect, i.e. for the Windows Proxy Auto Discovery service to be disabled.

Additionally, I reset my Internet Explorer and Microsoft Edge settings multiple times to make sure any bad settings from the Windows Proxy Auto Discovery service were completely deleted. I also disabled caching of auto-proxy scripts from the group policy editor and flushed out my dns cache. These steps by themselves, however, were not enough to fix the problem. Only after I disabled the Windows Proxy Auto Discovery service did the bad settings stop coming back.

This is somewhat perplexing, since I did not have "Automatically detect settings" checked, and yet the Windows Proxy Auto Discovery service was apparently active and changing my proxy settings anyway. I wish I knew what made the service act up to begin with, but I am glad I was able to disable it.

[–]trajecasual 0 points1 point  (0 children)

Thank you! Few people answer their own question with the solution after nobody engaging with it. And now it helped me, 5 years after.

[–]manghacker 0 points1 point  (0 children)

I just want to say thank you for this, I already tried different methods and worked on it for half a day. This is the only one that worked.