How to Fix “No Internet, Secured” on Windows 11 and 10

Key Takeaway:
“No Internet, Secured” doesn’t mean your Wi-Fi is broken. “Secured” means you joined the network with the right password. “No Internet” means a small test Windows runs in the background, fetching a tiny file from a Microsoft server, didn’t succeed. Either your internet really is down, or something is blocking that one test while everything else works. Open a website first: if it loads, fix the test; if it doesn’t, fix the connection. The two need completely different fixes.

This is one of the most confusing messages in Windows, because the padlock and the word “Secured” make it look as though everything is fine. Here’s what Windows is actually checking, how to run the same check yourself, and what to do with the result. If the problem affects every device in your home, not just a Windows PC, start with our guide to Wi-Fi connected but no internet instead.


What Windows Is Actually Testing

The message comes from a part of Windows called the Network Connectivity Status Indicator (NCSI). Each time you join a network, it decides whether you have internet or only a local connection, and it does that in two ways:

  • A web test. Windows downloads a tiny file, www.msftconnecttest.com/connecttest.txt, and expects it to say exactly “Microsoft Connect Test”. If it gets nothing, an error, or a different page (a hotel’s sign-in page, say), the test fails.
  • A DNS test. It looks up the name dns.msftncsi.com and expects the answer 131.107.255.255.

It also watches your normal traffic for signs of a working connection. But if the tests fail, Windows marks the network “No Internet”, and apps that rely on that verdict may behave as if you’re offline, even when your browser could load pages.

So the message has two possible meanings. Your connection may really be broken somewhere between your PC and the internet. Or the connection is fine and something, such as a proxy, a VPN, security software or a DNS filter, is getting in the way of Microsoft’s test.


🔍 Step 1: Is the Internet Really Down?

Open a browser and load a site you haven’t visited today, so it can’t come from the cache. Then run Windows’ own two tests yourself. Open PowerShell (right-click Start, then Terminal) and paste:

(Invoke-WebRequest "http://www.msftconnecttest.com/connecttest.txt" -UseBasicParsing).Content
Resolve-DnsName dns.msftncsi.com -Type A -DnsOnly

On a working connection, the first line prints Microsoft Connect Test and the second shows the address 131.107.255.255. Then compare what happened:

What you seeWhat it meansGo to
Websites load, both tests passWindows just hasn’t re-checked yetDisconnect and rejoin the network
Websites load, a test fails or shows a different pageSomething is blocking Microsoft’s testStep 2A
The web test returns a sign-in pagePublic Wi-Fi waiting for you to log inStep 2A
Nothing loads, both tests failThe connection really is downStep 2B

You can also see what Windows itself decided. In the same window, Get-NetConnectionProfile shows an IPv4Connectivity line. Internet means Windows thinks you’re online, LocalNetwork means it found the router but not the internet, and NoTraffic means nothing is getting through at all on that protocol.


Step 2A: The Internet Works, but Windows Says It Doesn’t

Your connection is fine; something is stopping Microsoft’s test. The usual suspects, roughly in order:

  • A sign-in page. On hotel, airport or cafĂ© Wi-Fi, the test gets the venue’s login page instead of Microsoft’s file, so Windows reports “No Internet” until you sign in. Open a browser, and if the page doesn’t appear, try going to http://example.com to trigger it. Check the address before typing anything in: our free lesson on fake Wi-Fi and sign-in pages shows what to look for.
  • A proxy setting. Microsoft lists a missing, unreachable or misconfigured proxy as a leading cause. Go to Settings, then Network & internet, then Proxy. If there’s a proxy you didn’t set, or an automatic setup script you don’t recognise, turn it off and rejoin the network. Leftover proxies from old VPN or “free Wi-Fi” apps are common.
  • A VPN or security software. Disconnect the VPN or pause the security suite briefly and rejoin the network. If the message clears, look in that software’s settings for a firewall or “web protection” option that’s blocking the test.
  • A DNS blocklist. Network-wide ad blockers such as Pi-hole, and some router “security” features, can block the two test names if a blocklist includes them. Add msftconnecttest.com and msftncsi.com to the allowlist.

You’ll find advice online to switch the test off in the registry. Microsoft specifically warns against that: without it, Windows can’t spot a real outage or a sign-in page either, so you trade one wrong message for others. Fix whatever is blocking the test instead.


Step 2B: The Connection Really Is Down

Work outwards from your PC until you find where it stops. In Command Prompt or PowerShell, run ipconfig and look at your Wi-Fi adapter:

  • IPv4 address starts with 169.254, or there’s no default gateway: your PC never got an address from the router. The problem is between your PC and the router. Try the device fixes below, then restart the router.
  • A normal address (often 192.168.x.x or 10.x.x.x) and a default gateway: run ping followed by the gateway address. If the router answers, try ping 1.1.1.1. If the router answers but 1.1.1.1 doesn’t, the router has lost its internet connection, so restart the modem and router, then check for an outage with your provider.
  • Everything answers, but websites still don’t load: names aren’t being looked up. That’s a DNS fault; see how to fix “DNS server not responding”.

If you’d like this ladder explained step by step, with example output, the free lesson Connected but No Internet? walks through it. For the router and provider side (restart order, the WAN status page, outages), use the Wi-Fi connected but no internet guide.


Windows Fixes, From Gentlest to Strongest

If only your Windows PC is affected, try these in order and check after each one:

  1. Run the troubleshooter. On Windows 11, open the Get Help app and run the Network and Internet troubleshooter. It catches the simple things, such as a disabled adapter or a stuck setting.
  2. Forget the network and rejoin. Settings, then Network & internet, then Wi-Fi, then Manage known networks. Select your network, choose Forget, and reconnect with the password.
  3. Get a fresh address. In Command Prompt run ipconfig /release, then ipconfig /renew.
  4. Clear the DNS cache with ipconfig /flushdns. More on that in how to flush your DNS cache.
  5. Reset the network stack. In Command Prompt run as administrator, enter netsh winsock reset and then netsh int ip reset, and restart the PC.
  6. Network reset, as a last resort. Settings, then Network & internet, then Advanced network settings, then Network reset. It removes and reinstalls every network adapter with default settings. Afterwards you may need to reinstall VPN software and rejoin saved Wi-Fi networks.

What about turning off IPv6?

Lots of guides say to untick IPv6 in the adapter’s properties. Microsoft says it doesn’t recommend that: IPv6 is a required part of Windows, and some components may stop working without it. If you suspect IPv6 is the problem, check it with our IPv6 test. If IPv6 really is broken on your network, the right fix is in the router, or with your provider. Unticking it is fine as a quick test, but turn it back on afterwards.

What about changing DNS?

Switching to a public DNS service such as 1.1.1.1 or 8.8.8.8 helps when your router’s DNS is failing or is the thing blocking Microsoft’s test name. It doesn’t help if the router has no internet at all. Use the result of Step 1 to decide, and see our guide to checking and changing your DNS settings for how to do it.


Frequently Asked Questions

What does “No Internet, Secured” mean?

“Secured” means you’re connected to an encrypted Wi-Fi network with the correct password. “No Internet” means Windows’ own background check, which downloads a small test file from Microsoft and looks up a test name, didn’t succeed. It’s a statement about that check, not proof that every website is unreachable.

Websites load fine but Windows still says no internet. Is it safe to ignore?

Mostly, but not completely. Microsoft says apps use this check to decide whether they’re online, so some may refuse to connect, or keep saying you’re offline, while Windows reports “No Internet”. It’s worth finding what’s blocking the test (Step 2A) rather than living with it.

Why does it only happen on hotel or public Wi-Fi?

Those networks hold you on a sign-in page until you accept their terms or enter a room number. Windows’ test gets that page instead of Microsoft’s file, so it reports “No Internet” until you’ve signed in.

My phone works on the same Wi-Fi. Why not my PC?

Then the router and the internet connection are fine, and the problem is on the PC: a stale address, a leftover proxy or VPN setting, security software or a damaged network stack. Work through the Windows fixes above in order.

Can a VPN cause “No Internet, Secured”?

Yes. A VPN that has disconnected while its kill switch is on blocks all traffic on purpose, and some VPN apps leave proxy or firewall settings behind after they’re closed. Reconnect the VPN, or quit it fully, and rejoin the network to see whether it’s the cause.


Related Reading

Scroll to Top