Quick answer
Open Command Prompt as admin and run: ipconfig /flushdns, then ipconfig /release, then ipconfig /renew. If that doesn't do it, disable and re-enable your Wi-Fi adapter in Device Manager.
What's actually happening here is that Windows thinks you have a healthy network link to the router—hence the 'Secured' part, which only means the Wi-Fi encryption handshake succeeded. Your machine got an IP address, but something upstream is blocking actual data flow. More often than not, it's a stale DNS cache or a DHCP lease that's gone sideways after your laptop slept through a router reboot. Sometimes it's IPv6 trying to route over a network that only speaks IPv4 properly.
I've seen this plague Windows 10 and 11 equally, often right after a router firmware update or when you move between two different Wi-Fi networks without fully disconnecting. The frustrating part is that Windows keeps showing full bars and a healthy connection icon, so you waste time blaming the router before checking your own stack.
Numbered fix steps
- Press Win + X and select Terminal (Admin) or Command Prompt (Admin).
- Run these three commands in order, waiting for each to finish:
Flushing DNS clears the cached name resolutions that could be pointing at dead servers. Release drops your current DHCP lease, and renew asks the router for a fresh one. The reason this works about 30% of the time is that your IP lease might have expired while you were in sleep mode, and Windows didn't bother re-negotiating it until you force the issue.ipconfig /flushdns ipconfig /release ipconfig /renew - If the connection still shows 'No Internet', run
netsh winsock resetand thennetsh int ip reset. You'll need to reboot after this pair. Winsock is the Windows socket API layer—if that's corrupted, no amount of router rebooting will help. - Still stuck? Open Device Manager, expand Network adapters, right-click your Wi-Fi adapter (usually something like Intel Wi-Fi 6 AX200 or Realtek RTL8821CE), and select Disable device. Wait ten seconds, then Enable device. This forces the driver to re-initialize the radio and re-associate with the network.
Alternative fixes if the main ones fail
- Change your DNS server. Go to Settings > Network & Internet > Wi-Fi > Hardware properties, click Edit next to DNS server assignment, set it to Manual, and enter
8.8.8.8and8.8.4.4(Google) or1.1.1.1and1.0.0.1(Cloudflare). Your ISP's DNS might be having a bad day, and that alone can cause this exact symptom. The router's Wi-Fi is fine; the DNS resolution is just not happening. - Disable IPv6 temporarily. In the same adapter properties (Control Panel > Network and Sharing Center > Change adapter settings > right-click Wi-Fi > Properties), untick Internet Protocol Version 6 (TCP/IPv6). Windows sometimes prefers IPv6 when it's half-configured, then fails to fall back to IPv4. This isn't a permanent fix—you'll want IPv6 back eventually—but it isolates whether that's the culprit.
- Run the built-in network troubleshooter. Right-click the Wi-Fi icon in the system tray and choose Troubleshoot problems. I know it feels like throwing darts blindfolded, but on Windows 11 it actually checks DNS and gateway reachability now, and it might suggest a specific fix you didn't think of.
- If none of that works, do a full network reset. Settings > Network & Internet > Advanced network settings > Network reset. This reinstalls your network adapters and resets all IP configuration to defaults. It wipes saved Wi-Fi passwords, so have them handy. This is the nuclear option, but it clears any corrupted TCP/IP stack leftovers that the winsock reset missed.
Prevention tip
The thing that stops this from recurring is making sure your network adapter's power management isn't killing the connection to save battery. Open Device Manager, right-click your Wi-Fi adapter, go to Power Management, and untick Allow the computer to turn off this device to save power. I've seen this single checkbox cause 'No Internet, Secured' every time a laptop goes to sleep and wakes up on a different network. The adapter gets put to sleep mid-session, and when it wakes, it doesn't re-establish the IP properly.
Also, get in the habit of forgetting old Wi-Fi networks you don't use anymore. Windows keeps profile data for networks you joined months ago, and if your current network has the same SSID as an old one but different security settings, the stale profile can interfere. Go to Settings > Network & Internet > Wi-Fi > Manage known networks and remove the ones you don't need. It's ten seconds of work that eliminates a whole class of weirdness.