This guide walks you through fixing the “Windows could not automatically detect network proxy settings” error, which typically appears when trying to browse the internet or use apps that require a network connection. The issue is usually caused by corrupted proxy settings, a misconfigured network adapter, or a temporary glitch in Windows’ auto-detection service. Below are clear, actionable steps to restore your connection, starting with the simplest fixes and moving to more advanced ones.
What You’ll Need
- Administrator access to your Windows PC (to run Command Prompt and change system settings).
- A stable internet connection (even if it’s via another device) to download updates if needed.
- Patience – some steps require a restart.
Step-by-Step
- Restart your computer and router. A simple restart clears temporary network glitches. Turn off your PC and unplug your router/modem for 30 seconds, then plug them back in and turn on your PC.
- Turn off automatic proxy detection.
- Press Windows + I to open Settings.
- Go to Network & Internet > Proxy.
- Under “Automatic proxy setup,” toggle “Automatically detect settings” to Off.
- Under “Manual proxy setup,” make sure “Use a proxy server” is Off.
- Close Settings and try browsing again.
- Reset the WinHTTP proxy settings.
- Right-click the Start button and select Command Prompt (Admin) or Windows PowerShell (Admin).
- Type
netsh winhttp reset proxyand press Enter. - You should see “WinHTTP proxy was reset.” Close the window and try your connection again.
- Clear the network cache.
- Open Command Prompt as administrator (as above).
- Run these commands one by one, pressing Enter after each:
ipconfig /release ipconfig /renew ipconfig /flushdns netsh winsock reset - Restart your PC after these commands.
- Check the “Automatically detect settings” in Internet Options.
- Press Windows + R, type
inetcpl.cpl, and press Enter. - Go to the Connections tab and click LAN settings.
- Uncheck “Automatically detect settings” and check “Use a proxy server for your LAN” – but then clear the address and port fields (or leave unchecked if you don’t use a proxy).
- Click OK on all windows.
- Press Windows + R, type
- Update your network driver.
- Right-click the Start button and select Device Manager.
- Expand Network adapters, right-click your Wi-Fi or Ethernet adapter, and select Update driver.
- Choose “Search automatically for drivers”. If Windows finds none, visit your PC manufacturer’s website to download the latest driver.
- Run the Windows Network Troubleshooter.
- Open Settings > System > Troubleshoot > Other troubleshooters.
- Find “Network Adapter” or “Internet Connections” and click Run.
- Follow the prompts; Windows may automatically fix the issue.
- Check for Windows updates. Sometimes a pending update can cause network issues. Go to Settings > Update & Security > Windows Update and click Check for updates. Install any available updates and restart.
Common Mistakes
- Forgetting to restart after changes. Many proxy settings only take effect after a reboot.
- Disabling proxy detection when you actually need a proxy. If you’re on a corporate or school network, the proxy is required. In that case, get the correct proxy address from your IT department and enter it manually.
- Running commands without administrator rights. The netsh commands will fail with “Access denied” if you don’t open Command Prompt as admin.
- Only fixing one part. The error can be caused by both system and user settings; make sure you check both the Settings app and the legacy Internet Options.
Tips
- Use a VPN if you’re on a public network. Sometimes public Wi-Fi forces a proxy that conflicts with Windows. A VPN can bypass that.
- Create a system restore point before making major changes, so you can revert if something goes wrong.
- Keep your network adapter drivers up to date – outdated drivers are a common cause of this error.
- If you use third-party security software, temporarily disable its firewall to see if it’s blocking auto-detection.
Troubleshooting
If the error persists after following all steps, try the following:
- Check if the error appears in a specific browser only. If so, reset that browser’s settings (e.g., Chrome: Settings > Advanced > Reset and clean up).
- Try a different network. Connect to your phone’s hotspot. If it works, the issue is with your router or ISP – contact them.
- Disable IPv6 temporarily. In Network Connections, right-click your adapter > Properties, uncheck “Internet Protocol Version 6 (TCP/IPv6)”, and restart.
- Use System Restore to go back to a point before the error started.
- If nothing works, run
sfc /scannowin an admin Command Prompt to repair corrupted system files. - As a last resort, perform a network reset. Go to Settings > Network & Internet > Status > Network reset, then restart. This reinstalls network adapters and resets all network settings to defaults.
Frequently Asked Questions
Why does this error happen on Windows 10 but not Windows 11?
The error can occur on both versions. The steps are nearly identical; the main difference is that Windows 11 has slightly different Settings layout, but the Proxy section is still under Network & Internet.
Will resetting WinHTTP affect my normal internet browsing?
No. WinHTTP is used by system services and some apps, not by your browser. Resetting it only clears any proxy settings that Windows services might be trying to use, which is usually the cause of the error.
Do I need to turn off “Automatically detect settings” permanently?
No. If you’re on a network that requires auto-detection (like some enterprise networks), you should turn it back on after the error is fixed. But for most home networks, leaving it off is fine and can prevent future errors.
Can this error be caused by malware?
In rare cases, malware can modify proxy settings. If the error persists after all steps, run a full antivirus scan with Windows Defender or a trusted third-party tool.
Why does the error appear only when I use Wi-Fi but not Ethernet?
This suggests the Wi-Fi adapter’s driver or its specific settings are the culprit. Try updating the Wi-Fi driver, and check if the Wi-Fi adapter has its own power-saving mode that might interfere.
Is there a way to fix this without admin rights?
Most fixes require admin access. If you’re on a work computer, contact your IT administrator. They can apply the fix remotely or give you temporary admin rights.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Disable Autocorrect on iPhone or iPad: Quick Guide
- Restore Windows 11 Display Scaling to Recommended
- Semiconductor Cycle: How Investors Track It0.0
- Microsoft Store Error 0x80073d12: Fixes That Work
- View Notification Count on iPhone: Full Guide
- Custom Keyboard Shortcuts on Windows 11 & macOS