You're staring at a Wi-Fi icon that says “Connected, secured,” but Chrome just spins and spins. I've been there — it's maddening because your phone works fine on the same network. Let's fix it.
The 2-Minute Fix: Flush DNS and Renew IP
Open Command Prompt as administrator. Click the Start button, type cmd, then right-click “Command Prompt” and choose “Run as administrator.” Click “Yes” when Windows asks.
Now copy and paste each of these commands one at a time, pressing Enter after each. Wait for each to finish before moving on.
ipconfig /release
ipconfig /renew
ipconfig /flushdns
ipconfig /registerdnsAfter ipconfig /release, your internet will drop completely. That's normal — you're telling your PC to let go of its current IP address. ipconfig /renew grabs a fresh one from your router. You'll see a brief “No operation can be performed” message — that's fine, ignore it.
After ipconfig /flushdns, you should see “Successfully flushed the DNS Resolver Cache.” That's the line you want.
Now test your browser. If pages load, you're done — the cache was corrupted. This happens all the time when you've visited many sites over days, especially if you're on a laptop that sleeps a lot.
Why This Works
Your computer caches DNS lookups — the translation between site names like example.com and their numeric IP addresses. Sometimes that cache gets stale or corrupted, so your browser asks for an old address that no longer works. Flushing clears it so your PC asks fresh. Renewing your IP also forces your network adapter to renegotiate with the router, which clears any half-open DHCP lease that's causing traffic to route to a dead end.
If That Didn't Fix It: The Winsock Reset
Sometimes the problem goes deeper — Windows' network stack itself gets tangled. This often happens after a VPN disconnects abruptly, or a power outage leaves your router in a weird state. Here's the heavy-duty reset:
In the same admin Command Prompt, type:
netsh winsock resetThen restart your PC. This command reinitializes the Winsock catalog — it's the layer that lets programs talk to the network. After restart, your Windows Firewall might prompt you about network discovery. Click “Yes” or “Allow” — that's normal.
Still Stuck? Turn Off IPv6 for a Test
IPv6 is the newer addressing system, but some routers and ISPs handle it badly. If you've done the resets and still get “No internet,” try this:
- Press
Win + R, typencpa.cpl, press Enter. - Right-click your Wi-Fi adapter (usually “Wi-Fi” or “WLAN”), choose “Properties.”
- In the list, uncheck “Internet Protocol Version 6 (TCP/IPv6).”
- Click OK, then restart your browser.
If your internet magically works, you've found the culprit. You can leave IPv6 off — most sites still use IPv4. Or you can re-enable it later and try updating your router's firmware, but that's a different rabbit hole.
Less Common Variants, Same Root
Sometimes the issue isn't your PC at all. Check if the problem happens on your phone too. If yes, it's the router or your ISP — skip all the Windows stuff and power-cycle the router: unplug it for 30 seconds, plug back in, wait two minutes. That fixes half the downtime calls I've handled.
If you're on a laptop with a VPN like NordVPN or ExpressVPN installed, make sure the VPN app isn't running in the background. VPNs intercept network traffic and can leave routes broken after a crash. Look for the icon in the system tray near the clock — right-click and quit the app, then test.
Another sneaky cause: the Wi-Fi adapter's power saving mode. Windows sometimes sleeps the adapter to save battery, and it wakes up half-broken. To stop that:
- Press
Win + X, choose “Device Manager.” - Expand “Network adapters.”
- Double-click your Wi-Fi adapter (often “Intel Wi-Fi 6 AX200” or “Realtek RTL8821CE”).
- Go to the “Power Management” tab, uncheck “Allow the computer to turn off this device to save power.”
- Click OK.
Prevention: Keep It From Coming Back
Do this once a month whether you have issues or not:
- Run
ipconfig /flushdnsin Command Prompt — 10 seconds, prevents cache rot. - Reboot your router when you see slow speeds, not just when it's totally dead.
- Update your Wi-Fi drivers from the manufacturer's website, not just Windows Update. Intel and Realtek release fixes that Windows misses for months.
If you're on a company laptop, ask your IT team if they push network policy updates — those can change DNS settings silently and cause this exact symptom.
One last thing: if you've done all this and still can't connect, try forgetting the Wi-Fi network and reconnecting. Enter Settings > Wi-Fi, click the network name, choose “Forget,” then reconnect with the password. That wipes any stored profile corruption. Between that and the resets, I've fixed thousands of “connected but no internet” tickets. You've got this.