Windows 10 says I have no internet connection, but I have.

Anonymous
2020-05-21T19:20:56+00:00

I am running on Windows 10 Enterprise, Version 2004, OS Build 19041.264.

I recently changed to the Windows Insider Program and updated Windows. In the taskbar, the Wi-Fi icon shows No Internet Access, but I have a stable internet connection wirelessly (Ex: I can browse the internet, ping IP Addresses, etc.). Another problem is when I try to open Cortana it also says that I have no internet connection (By the way, I can also open Microsoft's website).

As I know Windows checks internet connectivity with this URL: http://msftconnecttest.com/connecttest.txt. But this gives Error 404, File Not Found. Maybe it is because of this?

If you know the problem or an answer, please help. Thanks!

Windows for home | Windows 10 | Internet and connectivity

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2020-06-18T19:27:38+00:00

Hello, use Registry Editor, go to: 

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet

and modify: EnableActiveProbing

then change "Value data" from "0" to "1"

and restart your computer

Was this answer helpful?

100+ people found this answer helpful.
0 comments No comments
Answer accepted by question author
Anonymous
2021-06-07T17:45:06+00:00

The proper one is

"HKLM:\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator\” -Name UseGlobalDNS -PropertyType DWORD -Value 1 -Force

But the more appropriate way to do this is not through registry directly, but through group policy config:

Was this answer helpful?

20+ people found this answer helpful.
0 comments No comments

335 additional answers

Sort by: Oldest
  1. Anonymous
    2021-01-13T00:20:23+00:00

    OK, email sent.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2021-01-13T21:22:25+00:00

    Here's a more complete one that I use:

    ((dns.qry.name contains "www.msftconnecttest" || dns.qry.name contains "msftncsi") && dns.qry.type == 0x1)

    || http.host contains "connecttest"

    || ip.src == 13.107.4.52

    || http.host contains "msftncsi"

    || ((ip.dst == 13.107.4.52) && (tcp.flags.syn == 1))

    If you are absolutely not seeing any DNS or HTTP coming from PID matching nlasvc then your active probing is not enabled.  I know despite a lot of crazy history in this thread I can't even get my hands around I think you had registry values correct....but maybe not.

    Hi Tom

    I ran a wireshark capture yesterday for 8+ hours, captured several GBs with a total of 0 packets matching this filter. When i initially started the capture the windows network status indicator showed "internet access", but a bit later windows claimed no internet and remained that way for the rest of the day. I then ran "nslookup dns.msftncsi.com", and also opened **"**www.msftconnecttest.com" in my browser, both of those showed up in Wireshark immediately (matching the filter).

    This issue has been going since about April last year, I had the same issue on 2 different machines i use regularly and then in November/December it started happening on a 3rd machine as well. At home and the office. Same issue on Wi-Fi and Ethernet, though Wi-Fi is more annoying because windows likes to disconnect after it thinks there is "no internet" (and no it's not a driver issue).

    Active Probing is on and I have checked that numerous times, turning it off doesn't help. That other policy key to disable active polling doesn't exist so does not apply either.

    A lot of apps blindly use the status windows reports which makes them all unusable. It also affected office preventing opening files from onedrive, and outlook cannot connect to exchange (though sometimes it still works, maybe if it's started before windows "goes offline").

    Thankfully web browsers are smart enough to ignore windows in this regard and have been working fine all along.

    I have not yet seen this issue in a windows 10 virtual machine though if that helps narrow things down.

    Is there anything else that can be diagnosed? Does the NCSI thing write to any kind of log file? What other information can I give that will help MS actually do something about this!

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2021-01-13T22:24:52+00:00

    I believe you when you say you've verified the regkeys.

    There have been may cases I've worked on in which no probe packets ever made it to the wire because of intereception in the network stack.

    Ex: Third party product that installs a DNS intercept filter on the loopback and pipes it back into the stack again will not work because without Global DNS GPO enabled this violates TCP<-->NCSI broker that the destination network interface chosen needs to be the one TCP receives.  Loopback messes that up.

    Third party products I've seen do this include Cisco Umbrella, Z-scaler, F5 Big IP agent, McAfee something something, etc.

    (Global DNS fixes this)

    Another Ex:  NCSI uses WinhttpAutoProxySvc to know if there's a proxy and to send the probe that way.  But if there's a problem with the proxy configuration in the environment and autoproxy can't get the info accurately, neither can NCSI, and this sometimes results in autoproxy returning proxy autodetect failure back to NCSI..failing the probe.   Manual proxy gets around this, but the right way to fix is to fix autodiscovery.

    These may not apply to you.  But there are other possibilities.   Third party products installing filters in the network stack that intercept and drop certain packets.  

    Regarding tracing, the best we have for external consumption at this point are the NCSI diagnostic/operational events.   They aren't all that verbose.  

    I could also recommend elevated prompt:

    netsh trace start wireless_dbg, bounce adapter, netsh trace stop, netsh trace convert <resulting etl file>.  In Win10 20H1 (2004) builds this has gotten a little better verbiage but still not much compared to our internal tracing that we use with customers that open cases with us.

    If nobody saw me put this elsewhere...

    HKLM\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet\MinimumInternetHopCount

    DWORD 3

    and reboot

    helps the passive probe. (note that active probe isn't just firing on periodic basis...it's triggered by mostly network changes.  Passive probe is in play by watching received packets and learning from those in between active probes).

    Default of that regval is 8, which IMHO is way too big.

    I hope this helps somewhat.  

    Almost every NCSI case I've ever gotten I've root caused...but I can't do that here because it requires me getiing into internal tracing 1:1 with everyone...and that's unfortunately just not feasible.

    I'm here for top-of-head quick-fire answers I can give, and any value I can add.

    And of course, if I come across a bug fix that does get published on occasion I'm more than happy to light that up here when that happens.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments