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: Most helpful
  1. Anonymous
    2020-09-20T09:04:01+00:00

    Hi guys,

    For me none of the workarounds worked... So after some time of research I figured out that a simple ping to dns.msftncsi.com is not working, something happens with their servers...

    After reading

    https://docs.microsoft.com/en-us/windows/privacy/manage-connections-from-windows-operating-system-components-to-microsoft-services#bkmk-ncsi

    about the NCSI, I just changed in the registry the following configuration to point the old MS servers:

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\NlaSvc\Parameters\Internet]

    "ActiveDnsProbeContent"="88.221.52.97"

    "ActiveDnsProbeHost"="www.msftncsi.com"

    "ActiveWebProbeContent"="Microsoft NCSI"

    "ActiveWebProbeHost"="www.msftncsi.com"

    "ActiveWebProbePath"="ncsi.txt"

    "EnableActiveProbing"=dword:00000001

    And voilà, working again :)

    Hi bro. This guide affected to me. Thanks a lot.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2020-08-29T16:42:01+00:00

    Hi,

    Windows 10 ver 2004 using the http://www.msftconnecttest.com/connecttest.txt to check your network availability. I think your ISP can not resolve the IP address of www.msftconnecttest.com domain.

    To fix this, use the Google DNS (sometime windows will reset your DNS to auto, this way for temporarily) or add 13.107.4.52 www.msftconnecttest.com (permanently) to your host file.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2020-08-25T14:14:47+00:00

    I specifically have a Lenovo T590 running now Windows 10 build 2004.  This issue preceded the update to 2004 however, although it appears to be a much more frequent issue since updating to 2004.

    I'm currently running the stock/factory image from Lenovo.

    I've done the following:

    1. Disabled IPv6
    2. Disabled active internet probing.
    3. Uninstalled the generic Windows USB-C Lenovo driver.
    4. Installed the actual Lenovo USB-C Ethernet Driver.
    5. Uninstalled RMM, AV, and other monitoring tools.
    6. Uninstalled/Reinstalled all relative network drivers (including Wi-Fi)

    The issue happens intermittently still.  Lenovo support was useless. I personally feel this is a bug with Windows 10 considering other people with different model computers are having the same issue. I'm hesitant to rebuild the computer from the ground up but think this may be the logical next step.  I was happy to read that MS has acknowledged the issue, but wish there was more updates on this.

    As I'm typing this, my connection just changed telling me I do not have internet access even though I'm on a conference call and am adding this message.

    **Update 8/28/2020**

    Disabling VPN adapters may have resolved the issue.  When I connect to VPN, it shows I'm connected but will eventually register the connection as "Not Connected."  When disconnecting from the VPN connection, the connection immediately registers as "Connected." I can reconnect to VPN and it will randomly register as disconnected.

    I still believe this is a bug with WSA or Windows' 'Winsock' platform, but at least for me, it seems to be making a difference with regard to the registration status of the Internet.

    None of the aforementioned steps immediately resolved the issue, however using the most up to date driver(s) from the manufacturer (not Lenovo) have helped to a degree.

    **Update 2 - 8/28/2020**

    Windows 10 doesn't allow you to change the adapter binding priority via the GUI, however you can adjust the adapter binding via powershell:

    1. Open PowerShell with Administrator privileges.
    2. Type Get-NetIPInterface -ConnectionState Connected
      • You should see an output like the below:
      • The ifIndex value is what you want to pay attention to as well as the InterfaceMetric.  The lower the InterfaceMetric number, the higher the priority.
    3. In my case, I wanted to make the USB-C Dock Ethernet adapter, the highest priority.
    4. Type Set-NetIPInterface -ifIndex 15 -InterfaceMetric 5
    5. Type Set-NetIPInterface -ifIndex 53 -InterfaceMetric 10
    6. Type Get-NetIPInterface -ConnectionState Connected to confirm the changes.

    Alternatively, you can set all of the interfaces to use an Automatic InterfaceMetric which allows Windows to prioritize them based on the number of connections you're concurrently using. To do this type:

    Set-NetIPInterface -ifIndex ## -AutomaticMetric Enabled   **Note** - I don't have AutomaticMetric enabled for any of my interfaces.

    A restart of your computer may be needed.  I'm not doubling down on this, but all of these steps in combination have made a significant improvement in the way Windows 10 registers (or lack there of) the internet connection.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments