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: Newest
  1. 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
  2. Anonymous
    2020-08-29T15:40:34+00:00

    Tried this and PS returns the following error(s)

    PS C:\Users\bunts> Set-NetIPInterface -ifIndex 17 -InterfaceMetric 5

    Set-NetIPInterface : Access is denied.

    At line:1 char:1

    • Set-NetIPInterface -ifIndex 17 -InterfaceMetric 5
    • 
      
      

        + CategoryInfo          : PermissionDenied: (MSFT_NetIPInter...ystemName = ""):ROOT/StandardCimv2/MSFT_NetIPInterf

       ace) [Set-NetIPInterface], CimException

        + FullyQualifiedErrorId : Windows System Error 5,Set-NetIPInterface

    Set-NetIPInterface : Access is denied.

    At line:1 char:1

    • Set-NetIPInterface -ifIndex 17 -InterfaceMetric 5
    • 
      
      

        + CategoryInfo          : PermissionDenied: (MSFT_NetIPInter...ystemName = ""):ROOT/StandardCimv2/MSFT_NetIPInterf

       ace) [Set-NetIPInterface], CimException

        + FullyQualifiedErrorId : Windows System Error 5,Set-NetIPInterface

    Unquote

    What next?

    I updated my post that you referenced and you should read it again since the problem came back after 20 minutes... but it looks like you didn't run PowerShell with Administrative privileges.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2020-08-29T14:48:29+00:00

    Thank you @Ryan Mauchmar... 

    SO FARRRRR........ this is the ONLY solution that has worked.  I set my Wi-Fi interfaces to InterfaceMetric of 5 and restarted my computer.

    Set-NetIPInterface -ifIndex 9 -InterfaceMetric 5

    I will update this post if it changes but I'm keeping my fingers crossed since this problem is REALLY impeding my work!!!

    Tried this and PS returns the following error(s)

    PS C:\Users\bunts> Set-NetIPInterface -ifIndex 17 -InterfaceMetric 5

    Set-NetIPInterface : Access is denied.

    At line:1 char:1

    • Set-NetIPInterface -ifIndex 17 -InterfaceMetric 5
    • 
      

        + CategoryInfo          : PermissionDenied: (MSFT_NetIPInter...ystemName = ""):ROOT/StandardCimv2/MSFT_NetIPInterf

       ace) [Set-NetIPInterface], CimException

        + FullyQualifiedErrorId : Windows System Error 5,Set-NetIPInterface

    Set-NetIPInterface : Access is denied.

    At line:1 char:1

    • Set-NetIPInterface -ifIndex 17 -InterfaceMetric 5
    • 
      

        + CategoryInfo          : PermissionDenied: (MSFT_NetIPInter...ystemName = ""):ROOT/StandardCimv2/MSFT_NetIPInterf

       ace) [Set-NetIPInterface], CimException

        + FullyQualifiedErrorId : Windows System Error 5,Set-NetIPInterface

    Unquote

    What next?

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments