Skip to content

Windows Could Not Automatically Detect This Network's Proxy Settings: How to Fix It

What the message means, where Windows keeps its proxy settings, and the fixes in order, from Microsoft's own pages.

HProxy TeamAugust 24, 2026Updated October 23, 20268 min read

Windows Could Not Automatically Detect This Network's Proxy Settings: How to Fix It

"Windows could not automatically detect this network's proxy settings" is what the older Windows network troubleshooter says when its test connection fails at the proxy step. You right-click the network icon, run the troubleshooter, and it ends on that line, often with no fix of its own. Microsoft publishes no list of the troubleshooter's messages. Users quote this one on Microsoft's own Q&A site, among them one in February 2020 who wrote that they were "not even using a proxy server".

So read the message as a pointer to where the check stopped. Sometimes a proxy really is set and no longer answers. Sometimes the connection broke for another reason. The fixes below start with the proxy settings and end with the network stack, in the order Microsoft's own pages support.

Fewer people meet the message each month. Searches for it fell from 720 in October 2025 to 260 in September 2026, while searches for the command that resets one of the settings behind it held between about 500 and 1,000 a month.

Monthly Google searches for the message and for netsh winhttp reset proxy, worldwide
  • the message
  • netsh winhttp reset proxy
Searches for the message fell from 720 to 260 a month over the year, while searches for the WinHTTP reset command held.
Source: Google Keyword Planner, worldwide monthly searches, October 2025 to September 2026, read October 23, 2026 · hproxy.comProxy.

Which troubleshooter prints this message?

It comes from Windows Network Diagnostics, one of the older troubleshooters built on Microsoft's Support Diagnostic Tool. Microsoft is retiring that tool. Its own timeline reads: in 2023, begin redirecting some troubleshooters to the new Get Help platform; in 2024, complete the redirection and remove the rest; in 2025, remove the platform itself.

Microsoft's list of redirected troubleshooters names both Windows Network Diagnostics and Internet Connections. When you open them from Settings, System, Troubleshoot on newer Windows 11 releases, they hand you to the Get Help app instead. That fits the falling searches above. The message now comes mostly from Windows 10 and older Windows 11 builds, and the fixes below work the same on both.

Where does Windows keep its proxy settings?

In more than one place, which is why a fix in one panel can leave the message in place.

  • Settings, Network & internet, Proxy. This page holds the proxy for your user account. Microsoft's own page describes three ways to fill it: automatically, through a setup script from your organization, or manually with a server name or address and a port.
  • Internet Options. The older panel, opened with inetcpl.cpl, has its own LAN settings for a proxy. We found no Microsoft statement that the two panels always share one value, so the steps below clear both.
  • Each VPN connection. Microsoft notes that a VPN connection that uses a proxy needs that proxy set separately for that connection.
  • WinHTTP. This is a separate stack. Microsoft tells developers to use the per-user one "unless you plan to run within a service or service-like process", and lists service support as a WinHTTP feature only. So Windows services can keep a proxy that the Settings page never shows.

You can read the WinHTTP setting yourself. Microsoft marks the older netsh winhttp show proxy as deprecated and points to netsh winhttp show advproxy instead. This is the answer on our own machine, where no proxy is set:

Printed on our own machine on October 23, 2026. The machine runs a German Windows, so we left out the one header line netsh prints in the system language; the JSON is as printed.

ProxyIsEnabled, AutoConfigIsEnabled and AutoDetect all reading false means WinHTTP connects directly. true in ProxyIsEnabled or AutoConfigIsEnabled means it uses a proxy or a setup script of its own, and true in AutoDetect means it looks for one on the network.

How do I fix it, step by step?

Work through these in order and run the troubleshooter again after each one. Most computers recover in the first two.

1. Clear the proxy in Settings and Internet Options

Open Settings, Network & internet, Proxy. Under Manual proxy setup, select Set up next to Use a proxy server, read the address, then turn it off and save. Under Automatic proxy setup, select Set up next to Use setup script and turn it off if it is on. Then press Windows+R, type inetcpl.cpl, open Connections, then LAN settings, and untick Use a proxy server for your LAN. Our guide on turning off a proxy shows each screen.

Note the address before you remove it. An address that starts with 127 was a program on this computer, often a VPN client or a filter. Any other address is worth a look in our IP lookup.

2. Check and reset the WinHTTP proxy

Open Terminal as administrator and run netsh winhttp show advproxy. If it shows a proxy and this is not a work computer that is meant to use one, reset it:

netsh winhttp reset proxy

Microsoft's reference says this command "Resets the WinHTTP proxy setting to DIRECT". On a work computer, ask IT before you run it, because the value may be there on purpose.

3. Take the VPN or security suite out of the path

Disconnect any VPN and run the troubleshooter again. Then check the VPN connection's own proxy, under VPN, the connection, Advanced options. If the message clears with the VPN off, update the VPN client or reinstall it. Security suites with a web filter behave the same way: switch the web filter off for one test, and if that clears the message, update or reinstall the suite.

4. Decide what to do with automatic detection

Automatically detect settings makes Windows look for a proxy without asking you. Microsoft's WinHTTP documentation calls the method WPAD, the Web Proxy Auto-Discovery protocol. Using DHCP or DNS, Windows looks for the address of a proxy setup file on the local network, then downloads it. Microsoft also notes that the WPAD specification "never progressed beyond the 'Internet-Draft' stage, and expired in May 2001", although Windows and browsers kept using it.

On a home network nothing usually answers, and Windows connects directly. At work or school, the network may rely on it to hand out a proxy, so leave it as IT set it. If the message appears on one network only, switch the setting off while you are on that network and test. If it appears everywhere, the cause lies elsewhere, and the setting can stay as it is.

5. Reset the network stack

Security products and VPN clients can plug into Winsock, the layer programs use to open network connections. Run these in an administrator terminal, then restart:

netsh winsock reset
ipconfig /flushdns
ipconfig /release
ipconfig /renew

Microsoft describes each one plainly. netsh winsock reset "Resets the Winsock catalog to a clean state, removing any custom LSPs", the plug-ins such products install. ipconfig /flushdns empties the DNS cache, /release gives up the current IP address and /renew asks for a fresh one. None of these descriptions mentions a proxy, so they leave a configured proxy in place. That is why they come after steps 1 and 2.

6. Use Network reset, last

Microsoft says that "Using network reset should be the last step you try". In Settings, open Network & internet, Advanced network settings, Network reset, then select Reset now. It "removes any network adapters you have installed and the settings for them", and Windows reinstalls them after the restart. Afterwards you may need to reinstall VPN software, and Windows may set your known networks to a public network profile.

What if the proxy comes back after a restart?

Then a program writes it again at startup, and no reset will hold. A VPN or security product may have left a service behind, or unwanted software may want your traffic to pass through its server. Our guide to proxy settings that keep turning back on shows how to find the program that writes it.

What if I use a proxy on purpose?

Then the troubleshooter may be right: your proxy stopped answering. Test it first. The free app on our proxy checker page tests a proxy from your own connection, so it checks the same path your computer uses. Public proxies die fast, so expect to replace one from our free proxy list.

Check the field next. Windows treats its HTTP, Secure and FTP proxy fields as HTTP proxies, so a SOCKS proxy belongs in the SOCKS field. Our guide to the proxy server isn't responding covers that case and the messages browsers show for it, and the Windows proxy setup guide shows where each kind of proxy goes. For a proxy that has to stay up, an ISP proxy keeps one fixed address, and our residential proxies cost $0.50/GB for one GB, falling to $0.44/GB at 2,000 GB+.

How do I confirm it is fixed?

Run the troubleshooter once more, or open the same check in Get Help, and let it finish without a problem. Then run netsh winhttp show advproxy again and confirm that it still shows no proxy. Finally, restart and open Settings, Network & internet, Proxy: if the switches are still off and pages still load, the fix held.

What we could not check

  • Microsoft publishes no list of the old troubleshooter's messages, so the wording comes from users' reports on Microsoft's Q&A site.
  • We did not break a network to reproduce the message, and we tested nothing on our network or anyone's. The console capture reads one setting on our own machine.
  • We found no Microsoft statement that Settings and Internet Options always share one value, so the steps clear both.
  • Microsoft's troubleshooter timeline may change. This page is due for a check by January 23, 2027.

Sources

Frequently asked questions

What does Windows could not automatically detect this network's proxy settings mean?

It is the verdict of Windows Network Diagnostics, the older built-in network troubleshooter. Its test connection failed, and the proxy settings are the step it names. Microsoft publishes no list of what this troubleshooter can say, and users report the message even with no proxy set at all, so treat it as a pointer to where the check stopped.

Why does it say this when I never set up a proxy?

Either a program set a proxy for you, such as a VPN client or a security suite, or the connection failed for another reason and the troubleshooter stopped at the proxy step. Check both proxy stores Windows keeps, the one in Settings and the separate WinHTTP setting, then work through the network fixes in this guide.

Should Automatically detect settings be on or off?

It makes Windows look for a proxy setup file on the local network through WPAD, using DHCP or DNS. Microsoft describes it as the way Windows finds an organization's proxy without you entering anything. At work or school, leave it as IT set it. At home, if the message appears only on one network, switch it off while you are on that network and test.

What does netsh winhttp reset proxy do, and is it safe?

Microsoft's reference says it resets the WinHTTP proxy setting to DIRECT. WinHTTP is the web stack Microsoft designed for services, which keep their own proxy setting apart from the one in Settings. On a home computer, resetting it is safe. On a work computer, ask IT first, because the value may be there on purpose.

Does Windows 11 still show this message?

Less and less. Microsoft is moving its older troubleshooters to the Get Help app, and its list of redirected troubleshooters includes Windows Network Diagnostics and Internet Connections. The message now comes mostly from Windows 10 and from older Windows 11 builds.

Which commands fix this error?

In this order: clear the proxy in Settings, check the WinHTTP proxy with netsh winhttp show advproxy and reset it with netsh winhttp reset proxy if one is set, then netsh winsock reset, ipconfig /flushdns, ipconfig /release and ipconfig /renew, and restart. Network reset in Settings comes last, as Microsoft itself advises.

Get proxies that are alive right now

Our free proxy list re-checks every exit every few minutes across 100+ countries, with a live last-checked time, so you copy IPs that worked moments ago, not a stale text dump. When the location has to survive a real check, the paid network holds up.

129M+ proxy checks run · 100+ countries · HTTP / HTTPS / SOCKS · re-checked every few minutes · no signup

HProxy.

Honest guides and comparisons on proxies, scraping and staying unblocked, from the team that runs the network.

RSS feed