What NCSI actually checks
The component is the Network Connectivity Status Indicator (NCSI). Microsoft describes it as the part of Windows' network awareness stack that determines whether the computer has successfully connected to the network, and whether the network has intranet or internet connectivity. On Windows 10 and earlier, the Network Location Awareness service runs it. Microsoft's troubleshooting guide says that starting with Windows 11, the Network List Service (netprofm) does the job.
The main check is an active probe, which is a deliberate test request. Microsoft's client documentation lists the steps on Windows 10 and later:
- NCSI sends a DNS request to resolve the address of the FQDN.
- If NCSI receives a valid response from a DNS server, NCSI sends a plain HTTP GET request to.
- If NCSI successfully downloads the text file, it makes sure that the file contains Microsoft Connect Test.
Microsoft's guidance states that the expected response is "HTTP 200 OK," with the payload containing "Microsoft Connect Test." IPv6 has its own host: in the default registry values, ActiveWebProbeHostV6 | REG_SZ | ipv6.msftconnecttest.com, using the same connecttest.txt path.
Afolabi fetched the file with PowerShell and measured a 22-byte response body. That matches the length of the string "Microsoft Connect Test" exactly.
The file has changed over the years
The current file is not the original. Starting with Windows 10 build 14393 (1607), web probe (HTTP) requests are sent to. Before that, Windows 8, 8.1 and Windows 10 versions 1507 and 1511 used [www.msftncsi.com/ncsi.txt](http://www.msftncsi.com/ncsi.txt), which returns "Microsoft NCSI". Microsoft says Windows 7 and earlier don't have this registry-configured probe feature.
Microsoft's NCSI FAQ also says the public probe servers moved from Azure Front Door to Akamai on June 20, 2023. That change caused problems for some IT teams, as explained below.
Why it uses plain HTTP
Using unencrypted HTTP in 2026 looks odd, but it's deliberate. Writing on Microsoft's Networking Blog, James Kehr of the Windows networking support team said the lack of HTTPS is on purpose. Part of the reason is efficiency: it saves the time, bandwidth, and energy needed to encrypt a plain text file.
The bigger reason is captive portals, the sign-in pages on hotel, airport and café Wi-Fi. Those portals can intercept a plain HTTP request without causing certificate errors, so Windows can tell that something got in the way. Microsoft's FAQ describes the ActiveHttpProbeFailedHotspotDetected outcome: the HTTP probe didn't get past a hotspot or captive portal. This is typically determined when an HTTP response 200 is received, but the response payload doesn't contain the text file connecttest.txt. A redirect status such as 302 points the same way. When that happens, Windows marks the connection as local-only and opens a browser so you can sign in.
Section summary: Windows downloads a tiny text file over plain HTTP. If it gets back exactly "Microsoft Connect Test", the network has internet access. If it gets anything else, there is probably a sign-in page or something else in the path.
The backup check: passive probing
What if the file is blocked? Afolabi tested this by editing the Windows hosts file to send both the IPv4 and IPv6 probe hostnames to loopback addresses. He then disconnected and reconnected Wi-Fi. The NCSI Operational log in Event Viewer showed the interface being downgraded to local access after the failed probe. Later entries showed it being upgraded back to internet, with PassivePacketHops as the reason.
That is how it's supposed to work. Microsoft's guidance says passive probing uses information learned from received data in place of a dedicated test request. It relies on packet statistics, Time to Live (TTL) values and notifications from other components. If incoming traffic appears to have crossed enough network hops (eight by default, per Microsoft's FAQ), NCSI decides the internet is reachable. Microsoft's FAQ lists PassivePacketHops as "not a failure". It is the reason code Windows logs when it raises a connection's status.
Passive probing does not always run. Microsoft lists these requirements:
- Group Policy allows it (allowed by default when not configured).
- At least one app or service has registered for NCSI notifications.
- A user is logged in, or was within the last 30 seconds.
- The system isn't in network quiet mode.
- The interface has a unicast address and/or has processed packets recently.
So Afolabi's laptop recovering is one result on one machine. If there isn't enough eligible traffic, Windows can stay on "No internet" even though the connection works.
How a wrong verdict affects apps
The taskbar icon is the visible part of NCSI, but apps rely on it too. Microsoft's troubleshooting guide says the connectivity status evaluated by NCSI is used by various applications, such as Microsoft Outlook, Microsoft Teams, Skype, Windows Update, Microsoft DirectAccess, and some third-party software. Microsoft Office checks through the get_IsConnectedToInternet API.
For an email client this makes sense. Asking Windows "am I online?" is cheaper than repeatedly trying a mail server during a real outage. The cost is that if NCSI is wrong, the app can refuse a connection that would have worked. Microsoft's own client documentation warns that a broken NCSI can stop Outlook from reaching its mail server or stop Windows Update from downloading, even when the PC has internet access.
This has happened before. Microsoft's release notes for KB4577063 (OS Build 19041.546), a Windows 10 version 2004 update from October 2020, fixed a bug that could stop apps from opening or cause errors when they checked connectivity through Windows APIs while the network icon wrongly showed no internet. Microsoft said this could happen when active probing was disabled by policy or local configuration, or when the probe failed through a proxy and passive probing also missed the connection. That was a specific Windows 10 fix. It is not evidence that current Windows 11 builds have the same bug. Afolabi could not reproduce app failures on his Windows 11 machine because passive probing restored the status.
A problem for IT admins: the old IP address
Enterprises can break NCSI themselves without realising it. Kehr's Networking Blog notice explained that DNS for this site used to resolve to a single IPv4 address, 13.107.4.52. After the move to Akamai, network security devices, like firewalls, that depended on the NCSI active probe using a single IPv4 address for security rules must now use URL Filtering.
Microsoft's FAQ says plainly that if probes worked before June 2023 and fail now, an outbound allow rule for 13.107.4.52 is the likely cause. Allow the hostnames, not IP addresses. To stop the surprise browser windows on proxied networks, Microsoft says to configure the network firewall to allow access to the following URLs on port 80: *.msftncsi.com · *.msftconnecttest.com.
Troubleshooting false "No internet" warnings
Try these checks, in order, before you power-cycle anything:
- Load a few unrelated websites. If several fresh sites open, your connection works and the problem is most likely NCSI. Microsoft's FAQ says that if you can't browse at all, it's a general network problem and NCSI troubleshooting doesn't apply.
- Open the probe file. Go to
[Microsoft Connect Test](http://www.msftconnecttest.com/connecttest.txt)(or theipv6.host). You should see only "Microsoft Connect Test". A login page or redirect means a captive portal. An error suggests something is blocking it. - Check what Windows thinks. In PowerShell, run
Get-NetConnectionProfileand look atIPv4ConnectivityandIPv6Connectivityfor your active interface.Internetmeans Windows sees internet access on that protocol.LocalNetworkmeans local access only. OneInternetis enough. Microsoft's guide says that if either field showsInterneton any interface, the machine counts as connected. An IPv6 field stuck on local is normal on IPv4-only networks. - Read the log. Open Event Viewer and go to
Applications and Services Logs > Microsoft > Windows > NCSI > Operational. The reason codes help narrow it down:ActiveHttpProbeFailed: the probe hostname didn't resolve (often DNS or proxy).ActiveHttpProbeFailedButDnsSucceeded: name lookup worked but the HTTP request didn't.NoRoute: often a VPN that hasn't updated the routing table yet.
- Look for whatever is blocking it. Common causes:
- A Pi-hole or other DNS blocklist that includes
msftconnecttest.com - A VPN, especially forced-tunnel setups
- Proxy or PAC-file problems
- A firewall or gateway returning HTTP 403
- A Pi-hole or other DNS blocklist that includes
- Check the registry values, but don't edit them. The probe host, path and expected text are stored under
HKLM\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet.EnableActiveProbingshould be1. If something set it to0, Microsoft says to set it back to1.
Don't treat a page that loads in your browser as proof that Windows' check passed. Microsoft notes that sometimes, a manual test on the browser succeeds while NCSI fails, as it bypasses the proxy. DNS-over-HTTPS in the browser can also send name lookups along a different path from the one Windows uses.
What not to do
You'll find advice online to disable active probing in the registry, or to run a fake local web server and point the probe hostname at it. One widely shared Medium walkthrough suggests running a local web server that hosts the text "Microsoft Connect Test", redirecting Windows' connectivity test to it via hosts file and registry edits.
Both remove the warning without fixing anything. Microsoft explicitly advises against disabling NCSI probes because so many Windows components and apps depend on them, and passive probing alone doesn't cover every situation. Faking the response also turns off captive-portal detection. On the next hotel Wi-Fi network, Windows will report you as online while every app sits behind a sign-in page. The better fix is to find what's blocking the real probe and allow it.
Bottom line
NCSI is reasonably well designed: a plain-HTTP probe that can spot captive portals, backed by a passive check that watches real traffic. It still has weak points. A blocklist entry, a misrouted VPN or an outdated firewall rule pinned to 13.107.4.52 can make Windows report "No internet" on a working connection, and Outlook, Teams and Windows Update may act on that result. When the icon and your browser disagree, check NCSI before blaming your ISP.
References
- The “No internet” warning depends on one tiny text file on a Microsoft server, and it can break your apps MakeUseOf · 2026-11-30T21:00:17+00:00
- When Windows Says 'No Internet' But You Know Better medium.com
- Network Connection Status Indicator (NCSI) troubleshooting guidance - Windows Server | Microsoft Learn learn.microsoft.com