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-19T01:31:48+00:00

    Thanks for the suggestions Tom, I looked into them a bit, but no progress yet. Is there no way to get detailed/debug logging out of NCSI?

    There's no fancy network gateway or proxying going on, just a plain routers from the ISP which have always worked just fine.

    I'm fairly sure I don't have something installed which is filtering/dropping the dns packets, nslookup works fine. I don't think it's a dns issue. I use a custom dns server on localhost and this has worked fine for years. Looking at the dns server logs i can see that there are active probe dns lookups now and then, maybe once a week on average, it's very irregular. If having a custom dns setup breaks NCSI then why was this never an issue before the 2004 update.

    Regarding the MinimumInternetHopCount, I had not heard about that registry key before, so I ran another Wireshark trace while Windows claimed no internet access, and 99% of packets have TTL greater than 8 (filter ip.ttl > 8), so I don't see why decreasing that to 3 is going to make any difference.

    The reason it seems to me that this is a bug/regression in NCSI is that this issue began immediately with the Windows 10 2004 update. I held off installing that update on the 3rd machine I use, but eventually Windows decided to update anyway and then suddenly that machine had the same issues as well. Everything else which doesn't rely on the NCSI status still works fine.

    Looking at the NCSI event log, lots of entries with the status SuspectDnsProbeFailed and ActiveHttpProbeFailed are logged when there are network adapter status changes. Running "Invoke-WebRequest http://www.msftconnecttest.com/connecttest.txt" in powershell responds in less than 1 second with the expected content "Microsoft Connect Test", so not sure why it thinks the active http probe is also failing.

    Occasionally there are PassivePacketHops entries, and then Windows does claim to be connected, at least for a while, even though there are several of the other 2 status entries right after it. Even though there are lots of entries logged, nothing is captured by wireshark (on all interfaces), there are 0 packets matching that filter for NCSI traffic. The requests from powershell and nslookups always show up immediately, but nothing else.

    Anything else to check? How can I find out why NCSI is not actually sending anything at all even though it claims to be doing the active checks.

    I don't think running that netsh trace will help since that's too late in the pipeline and probably won't give any new insights.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2021-01-19T04:03:51+00:00

    "Is there no way to get detailed/debug logging out of NCSI?"

    Not without our internal symbols, no.  

    " I use a custom dns server on localhost"

    Enable Global DNS group policy if not already.   This can break the active probe.

    Admin templates->Network->Network Connectivity Status Indicator->Specify Global DNS -> Enabled

    Regkey tied to this is

    HKLM\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator

    UseGlobalDns DWORD 1

    Re passive probe:  Doesn't sound like that's affecting you, so ignore.

    Re 2004:  I can't speak to bugs.  I don't have trending customer issues for 2004 NCSI as of yet.  Time will tell.

    That's all I can come up with at the moment.   I'd love to help you look at a netsh trace but I'm already above and beyond with asssiting other here.  If only there were 25 hours in a day :(

    If I free up time in the near future maybe we can work together.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2021-01-25T16:15:24+00:00

    When a company's product costs you downtime, you have ACTUAL DAMAGES that you can calculate. CLASS ACTION LAWSUIT may be the only remedy.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments