How to Fix ‘Windows Could Not Automatically Detect This Network’s Proxy Settings’

Running the Windows Network Troubleshooter after suddenly losing internet connectivity in Windows 11 often yields the diagnostic verdict: “Windows could not automatically detect this network’s proxy settings.” Despite your Wi-Fi or Ethernet connection showing connected status, web browsers refuse to load pages and applications fail to connect. This error occurs when the Windows Web Proxy Auto-Discovery (WPAD) protocol fails to query local DHCP or DNS servers, or when lingering malware, VPN clients, or corrupted network registries leave invalid proxy redirects active.

Disable Manual and Automatic Proxy Configuration

Most home and small-office internet connections do not utilise proxy servers. If Windows is configured to seek a proxy script that no longer exists, network traffic stalls.

  1. Press Windows Key + I to launch the Settings app.
  2. Select Network & internet from the left sidebar.
  3. Click on Proxy in the right-hand panel.
  4. Under the Automatic proxy setup section:
    • Toggle off Automatically detect settings.
    • Ensure Use setup script is set to Off.
  5. Under the Manual proxy setup section:
    • Verify that Use a proxy server is toggled to Off.
  6. Open a browser tab and test whether internet access is restored. If your network does require automatic detection, toggle “Automatically detect settings” back on after completing the steps below.

Reset WinHTTP Proxy Configuration via Command Prompt

Windows maintains two proxy layers: user-level WinINet settings and system-level WinHTTP settings. If the system-level proxy is pointing to a dead socket, background Windows services cannot communicate.

  1. Press Windows Key + S, type cmd, right-click Command Prompt, and select Run as administrator.
  2. Check the current WinHTTP proxy configuration by executing:
    netsh winhttp show proxy
  3. If the output displays an active proxy server instead of “Direct access (no proxy server)”, reset it by running:
    netsh winhttp reset proxy
  4. The console will confirm: “Direct access (no proxy server) is now being used.”

Reset TCP/IP Stack and Winsock Catalog

Corrupted socket catalogue entries frequently prevent Windows network components from binding to standard network gateway interfaces.

  1. In the administrative Command Prompt, enter the following commands one by one, pressing Enter after each:
    netsh int ip reset
    netsh winsock reset
    ipconfig /flushdns
    ipconfig /release
    ipconfig /renew
  2. Restart your computer immediately so the kernel can rebuild clean socket layers.

Check and Clean Proxy Entries in the Windows Registry

Third-party adware or uninstalled VPN software often modifies registry keys under Internet Settings, persistently injecting localhost loopbacks.

  1. Press Windows Key + R, type regedit, and press Enter to launch the Registry Editor.
  2. Navigate to the following registry path:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
  3. In the right-hand pane, locate ProxyEnable. Double-click it and ensure its Value data is set to 0.
  4. Locate ProxyServer and ProxyOverride. If these keys exist, right-click and delete them.
  5. Close the Registry Editor and restart your computer.

Reinstall Network Adapter Drivers

If network adapter firmware encounters driver state corruption, reinstalling the hardware stack clears persistent registry errors.

  1. Press Windows Key + X and select Device Manager.
  2. Expand Network adapters.
  3. Right-click your active Wi-Fi or Ethernet card and select Uninstall device.
  4. Do not delete the driver software. Click Uninstall to confirm.
  5. Restart Windows. The operating system will automatically redetect the network hardware and apply a clean driver configuration.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.