Experiencing a sudden loss of internet connectivity in Windows 11 only to have the built-in Windows Network Troubleshooter return the diagnosis “Windows could not automatically detect this network’s proxy settings” is a baffling problem. Web browsers display “No Internet” errors, cloud synchronisation halts, and network icons show a globe icon, even though your home router and Wi-Fi indicate a solid connection.
This network failure occurs when Windows is instructed to search for a Web Proxy Auto-Discovery Protocol (WPAD) configuration file on your local network, but the query times out or returns malformed routing instructions. Common culprits include orphaned proxy configurations left behind by uninstalled VPN or antivirus clients, malware hijacking system WinHTTP settings, corrupted TCP/IP stack bindings, or stale network adapter drivers. This tutorial details how to clear rogue proxy settings, reset system sockets, and restore normal internet connectivity.
Method 1: Disable “Automatically Detect Settings” and Manual Proxy in Windows
Home and standard public Wi-Fi networks do not require proxy servers. Disabling automatic detection prevents Windows from searching for non-existent network proxy gateways.
- Press Windows + I to launch the Settings app.
- Click Network & internet in the left sidebar.
- Select Proxy from the options list.
- Under the Automatic proxy setup section:
- Toggle Automatically detect settings to Off.
- Ensure Use setup script is toggled to Off.
- Under the Manual proxy setup section:
- Verify that Use a proxy server is set to Off. If enabled, click Edit and switch it off.
- Open your browser and test loading a webpage. For home users, turning off proxy auto-detection resolves the error immediately.
Method 2: Reset WinHTTP System Proxy via Elevated Command Prompt
Windows maintains two distinct proxy layers: the user-level WinINet proxy (used by browsers) and the machine-wide WinHTTP proxy (used by Windows Update and background system services). If malware or an uninstalled security suite wrote invalid proxy rules to WinHTTP, Windows cannot route background traffic.
- Press the Windows key, type cmd, and click Run as administrator.
- Inspect the current system-wide proxy configuration:
netsh winhttp show proxy - If the output displays a proxy server IP and port instead of “Direct access (no proxy server)”, reset the proxy:
netsh winhttp reset proxy - The terminal will confirm: “Direct access (no proxy server) has been restored”.
Method 3: Reset TCP/IP Stack, Winsock, and Flush DNS
Resetting network socket catalogues strips invalid Layered Service Providers (LSPs) and purges corrupted routing tables.
- In your elevated Command Prompt window, run the following commands in sequence:
netsh winsock reset netsh int ip reset ipconfig /release ipconfig /renew ipconfig /flushdns - Press Enter after each command.
- Restart your computer immediately to bind the reset network configurations.
Method 4: Perform a Complete Windows Network Reset
If driver-level corruption or registry overrides persist, the built-in Network Reset feature strips and reinstalls all physical network adapters and restores factory default configurations.
- Open Settings > Network & internet > Advanced network settings.
- Scroll down to the More settings section and click Network reset.
- Click the Reset now button.
- Confirm the prompt by clicking Yes.
- Windows will display a notification that the computer will shut down in 5 minutes. Save any open documents and restart your PC immediately.
- Upon reboot, allow two minutes for Windows to reinstall your Wi-Fi and Ethernet adapters cleanly.
Windows Proxy Diagnostics Reference Table
Consult this reference guide to match network symptoms with targeted solutions:
| Observed State | Underlying Root Cause | Recommended Solution |
|---|---|---|
| Troubleshooter reports proxy error on home Wi-Fi | WPAD auto-detection enabled on standard connection | Disable “Automatically detect settings” in Proxy Settings |
| Browsers cannot load pages, but ping works | WinINet / WinHTTP proxy hijacked or pointing to 127.0.0.1 | Execute netsh winhttp reset proxy in elevated CMD |
| Error started immediately after removing VPN | Leftover virtual TAP proxy socket bindings | Execute netsh winsock reset and restart PC |
| Settings proxy toggle turns back on automatically | Malicious registry autorun or adware script | Run Microsoft Defender Offline scan; check Startup apps |
| Error occurs on corporate / school laptop | PAC proxy script unreachable off-site | Connect to corporate VPN or contact IT network admin |
Preventing Malicious Proxy Hijacks in Windows Registry
Adware and browser redirectors frequently alter the Windows registry to force all HTTP traffic through a local proxy listening on 127.0.0.1:8080. Press Windows + R, type regedit, and navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings. Ensure that the ProxyEnable DWORD value is set to 0 and that any ProxyServer string is completely deleted.