Browsing the web or connecting to network services in Windows 11 can abruptly grind to a halt, leaving Google Chrome, Microsoft Edge, and system applications unable to reach online servers. Running the built-in Windows Network Troubleshooter displays a yellow exclamation mark and the diagnostic verdict: ‘Windows could not automatically detect this network’s proxy settings’. The error indicates that Windows is actively attempting to route outbound HTTP/HTTPS traffic through a non-existent, misconfigured, or hijacked local proxy server. Restoring Internet access requires clearing dormant proxy scripts and resetting network socket parameters.
Why Does Windows Encounter Proxy Detection Errors?
Windows includes the Web Proxy Auto-Discovery (WPAD) protocol, designed to query local routers or corporate domain controllers for proxy configuration files (wpad.dat). When detection fails, common culprits include:
- Unintended ‘Automatically Detect Settings’ Glitches: Windows continuously broadcasting WPAD DHCP/DNS queries on standard home networks where no proxy server exists, timing out and locking web sockets.
- Malware or Adware Proxy Hijacking: Malicious extensions or adware injecting a local loopback proxy address (such as
127.0.0.1:8080) into Windows registry settings to intercept web traffic. - Leftover VPN or Third-Party Proxy Footprints: Uninstalling a VPN client or corporate networking tool without cleanly releasing its WinHTTP proxy configuration.
- Corrupted TCP/IP Stack or Winsock Catalog: Damaged system networking catalogs failing to dispatch network packets to standard default gateways.
- Stale Network Adapter Drivers: Network card drivers failing to refresh dynamic IP and DNS leases from your local broadband router.
Step 1: Disable Automatic Proxy Detection in Windows 11 Settings
Unless you are connected to an enterprise corporate intranet requiring a dedicated proxy script, automatic detection should be disabled.
- Press Windows Key + I to open Settings.
- Navigate to Network & internet > Proxy.
- Under the Automatic proxy setup section:
- Toggle Automatically detect settings to Off.
- Ensure Use setup script is toggled Off.
- Under the Manual proxy setup section:
- Verify that Use a proxy server is set to Off.
- If it says Set up, click it and ensure the toggle is switched off and any IP address inside the box is cleared.
- Launch your web browser and test a webpage. If connectivity is restored, leaving automatic detection disabled permanently prevents future timeouts.
Step 2: Reset the WinHTTP Proxy via Command Prompt
System-level Windows background services (such as Windows Update and Microsoft Store) utilise the WinHTTP proxy stack, which operates independently from graphical settings.
- Press Windows Key + S, type
cmd, right-click Command Prompt, and select Run as administrator. - Check if an active proxy is bound to the Windows HTTP daemon:
netsh winhttp show proxy - If the output displays a proxy server address rather than ‘Direct access (no proxy server)’, execute the reset command:
netsh winhttp reset proxy - Command Prompt will confirm: ‘Direct access (no proxy server) is now configured for WinHTTP’.
Step 3: Reset TCP/IP Stack, Winsock, and Flush DNS
Clearing and resetting the fundamental Windows networking layers eliminates corrupted socket handles.
- In the elevated Command Prompt (Admin) window, execute the following commands in sequence, pressing Enter after each:
netsh winsock reset netsh int ip reset ipconfig /release ipconfig /flushdns ipconfig /renew - Restart your Windows 11 PC to apply the reconstructed network stack configurations.
Step 4: Check LAN Settings in Classic Internet Options
Certain legacy applications write proxy parameters into the legacy Windows Internet Properties dialogue.
- Press Windows Key + R, type
inetcpl.cpl, and press Enter. - Navigate to the Connections tab.
- Click the LAN settings button at the bottom.
- In the Local Area Network (LAN) Settings window:
- Uncheck Automatically detect settings.
- Uncheck Use automatic configuration script.
- Uncheck Use a proxy server for your LAN.
- Click OK and then Apply.
Step 5: Perform a Network Reset in Windows 11
If network adapter corruption persists, Windows Network Reset reinstalls all network adapters and restores factory default settings.
- Open Settings > Network & internet > Advanced network settings.
- Click Network reset.
- Click Reset now and confirm the prompt.
- Windows will restart automatically in 5 minutes. Upon reboot, reconnect to your Wi-Fi network. Internet connectivity will be fully restored.