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-09-15T12:41:40+00:00

    So I have read through the whole thread now. I quity understand better now what's happening when microsoft tries to check for internet connection.

    I am working with a citrix enviroment and have recently deployed a new image with Windows 10 2004 (previous was 1903). The problem occured after the deployment, but was not directly recognized, because everything works except the microsoft apps (and Office Accounts). Users are not able to connect to onenote account or similar.

    Now, My users get a proxy server set via GPO at logon for internet access. The virtual Windows 10 Machines do not have Internet Access (blocked by firewall) I can see that while logging in, Windows 10 tries to connect to the above mentioned IP adress (13.107.4.52, and many more...). The problem is that it tries to connect to those IPs via HTTP directly, logically, because the session is still logging on and the proxy may not be set yet. Also, I don't know exactly with which user the connection test is performed. 

    However, with version 1903 this was not a problem with same proxy and blocked internet acces for the VMs. What was changed by microsoft? Is there maybe a way to get the connection test to be performed over Proxy?

    Regards, Cedy

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2020-09-14T17:22:31+00:00

    Might want to search;

    msftconnecttest, minitools

    And first try resetting the default app protocols for http and https even if set already & resetting internet options for IExplore to defaults.  Rather than messing with the registry setting or hosts fiddling.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2020-09-14T16:34:22+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

    Thanks for the easy and clear step by step.

    I have added to my host file the lines

    13.107.4.52 www.msftconnecttest.com

    13.107.4.52 msftconnecttest.com

    and now http://www.msftconnecttest.com/connecttest.txt successfuly answer

    Microsoft Connect Test

    but http://msftconnecttest.com/connecttest.txt still gives an error

    Our services aren't available right now

    We're working to restore all services as soon as possible. Please check back soon.

    any idea how to fix it?

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments