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-08-30T16:00:15+00:00

    This problem doesn’t really have anything to do with being able to reach that link. If you look at the thread, you’ll see that most of us have no problems actually connecting to the Internet. The problem is Windows 10 ver 2004 displays that there is no Internet access when there actually is. It makes connecting to Microsoft cloud-centric apps (Store, Feedback, Office 365, etc) impossible. 

    its displaying no internet access because its not getting a response back from that particular link, it doesnt care about the rest of the internet being up

    http://www.msftconnecttest.com/connecttest.txt and http://msftconnecttest.com/connecttest.txt need to return something valid, typically its "Microsoft Connect Test", or a warning about the server, if you get a timeout from either one then win10 will think it has no internet access

    for me the first link works but the second link does not.  what msftconnecttest.com is currently resolving to either does not exist, or does not have that file on it.  whatever the underlying issue is it means i dont get a response back and win10 thinks i have no internet access

    as the easiest (and only) thing we can do from our side to fix it is to override that dns entry by adding it to our hosts file so it points to something that does work (like the 13.107.4.52 address)

    run notepad as administrator

    file > open

    go to c:\windows\system32\drivers\etc

    change the file types to All Files (*.*) so you can see it

    hosts should be in the list, open it

    go to the bottom of the file

    add a blank line to the bottom, then add the following two lines (you may be able to get away with just the second one, but it cant hurt to add both)

    13.107.4.52 www.msftconnecttest.com

    13.107.4.52 msftconnecttest.com

    add a blank line at the bottom under these (dont leave the entry as the last line or it may not work)

    save it

    close notepad

    restart windows

    thats all i did and its now working fine - nothing else worked for me except this - and yes, everything o365 related re-activated again

     

    i have ipv6 disabled, if you have it enabled you may need to find the ipv6 address that works for this (use nslookup)

     

    why it wasnt working

     

    for me www.msftconnecttest.com resolves to 13.107.4.52, but msftconnecttest.com resolves to two completely different IP addresses (dns round robin), 104.215.95.187 and 52.164.206.56, neither work properly so win10 thinks i have no internet access.  http://104.215.95.187/connecttest.txt just times out, and http://52.164.206.56/connecttest.txt generates an empty response error 

     

    if we make sure that what www.msftconnecttest.com and msftconnecttest.com resolves to will work then win10 will realise it has internet access again and we will stop tearing our hair out

     

    if you want to know what they currently resolve to (as ping wont show the round robin on the second one)

    start a command prompt (doesnt need to be admin)

    type in nslookup

    type in www.msftconnecttest.com

    then type in msftconnecttest.com

    note down the ip addresses you get and use a web browser to check each one (http://ipaddress/connecttest.txt) and that they all generate a valid return or have an issue (if you had it working for a while then it stopped it will probably be because one of them works and the other doesnt)

     

    note - at some point when microsoft fix this you will need to remove the entry/entries from your hosts file

    Well, I've learned something new!  This solution actually solved the problem for me (at least for now).  The interesting thing is when I did a nslookup to both of those addresses, nslookup received no response from the server.

    C:\Users\Admin>nslookup http://www.msftconnecttest.com/connecttest.txt

    Server:  UnKnown

    Address:  ::1

    *** UnKnown can't find http://www.msftconnecttest.com/connecttest.txt: No response from server

    C:\Users\Admin>nslookup http://msftconnecttest.com/connecttest.txt

    Server:  UnKnown

    Address:  ::1

    *** UnKnown can't find http://msftconnecttest.com/connecttest.txt: No response from server

    Regardless, the entry into the hosts file did seem to resolve the issue for me!

    UPDATE 8/31/2020 (the next day):

    The problem hasn't come back yet and I feel that it is now completely resolved! 

    Thanks Raymond Neeve!!

    UPDATE 9/3/2020:

    My internet connection icon is still operating perfectly!!! Thanks again for your solution Raymond Neeve!!

    UPDATE 9/18/2020:

    Still haven't had a single issue with this workaround.

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2020-08-25T22:23:37+00:00

    that solution did not work for me   I was already set at 1

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2020-08-01T04:55:25+00:00

    Hello, I've had the same issue recently. I have tried all solutions within the first and second google page results of the search term. Apparently my issue was tied to static DNS servers. It seems like windows does not like that. I have tried changing the DNS servers, one to local (dnscrypt-proxy, 127.0.0.1) and to a server in the network (dnscrypt-proxy, 192.168.1.xxx). What ended up working was apparently was just turning on DHCP. Since my router/switch can be configured as a DNS forwarder, I just forwarded the local (dnscrypt-proxy, 192.168.1.xxx)  to there. Windows now detects internet connection like normal.

    I have tried just about all the different solutions in this thread but to no avail. 

    I have a Netgear Nighthawk LTE MR1100 mobile home Hotspot router that offers both wireless and ethernet. As I stated previously if I connect using the Wi-Fi I get the error saying no internet but if I connect the ethernet the error message goes away while connected with both Wi-Fi and ethernet. I feel that since it is an issue created by the developers globaly, I feel they should reverse engineer the build that caused the issue for discovery purposes and release a patch to satisfy the issue. 

    I understand the purpose of testing and reporting software glitches but isn't it up to the engineers/developers to repair issues we as testers discover? (rhetorical) Meanwhile, I'll just keep trying to figure a work-around.

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments