Get rid of false “no Internet” network message












0















I have a computer that has internet access, yet NCSI reports the PC has no internet in the system tray.



OneNote and other software check this indicator and fail because they falsely think the internet is down. I tried disabling passive polling, but that just causes the indicator to be stuck in the no internet state. Disabling IPv6 had no effect either.



Is there any way to force the PC to always think that it has internet access?










share|improve this question























  • If you right click the network indicator there should be a "Troubleshoot problems" option. What output or errors does that give?

    – Mokubai
    Jan 30 at 17:39











  • It says that it couldn't find anything, and then suggests resetting, which does not help.

    – David
    Jan 30 at 22:11
















0















I have a computer that has internet access, yet NCSI reports the PC has no internet in the system tray.



OneNote and other software check this indicator and fail because they falsely think the internet is down. I tried disabling passive polling, but that just causes the indicator to be stuck in the no internet state. Disabling IPv6 had no effect either.



Is there any way to force the PC to always think that it has internet access?










share|improve this question























  • If you right click the network indicator there should be a "Troubleshoot problems" option. What output or errors does that give?

    – Mokubai
    Jan 30 at 17:39











  • It says that it couldn't find anything, and then suggests resetting, which does not help.

    – David
    Jan 30 at 22:11














0












0








0








I have a computer that has internet access, yet NCSI reports the PC has no internet in the system tray.



OneNote and other software check this indicator and fail because they falsely think the internet is down. I tried disabling passive polling, but that just causes the indicator to be stuck in the no internet state. Disabling IPv6 had no effect either.



Is there any way to force the PC to always think that it has internet access?










share|improve this question














I have a computer that has internet access, yet NCSI reports the PC has no internet in the system tray.



OneNote and other software check this indicator and fail because they falsely think the internet is down. I tried disabling passive polling, but that just causes the indicator to be stuck in the no internet state. Disabling IPv6 had no effect either.



Is there any way to force the PC to always think that it has internet access?







networking windows-10






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 30 at 17:30









DavidDavid

4,30121737




4,30121737













  • If you right click the network indicator there should be a "Troubleshoot problems" option. What output or errors does that give?

    – Mokubai
    Jan 30 at 17:39











  • It says that it couldn't find anything, and then suggests resetting, which does not help.

    – David
    Jan 30 at 22:11



















  • If you right click the network indicator there should be a "Troubleshoot problems" option. What output or errors does that give?

    – Mokubai
    Jan 30 at 17:39











  • It says that it couldn't find anything, and then suggests resetting, which does not help.

    – David
    Jan 30 at 22:11

















If you right click the network indicator there should be a "Troubleshoot problems" option. What output or errors does that give?

– Mokubai
Jan 30 at 17:39





If you right click the network indicator there should be a "Troubleshoot problems" option. What output or errors does that give?

– Mokubai
Jan 30 at 17:39













It says that it couldn't find anything, and then suggests resetting, which does not help.

– David
Jan 30 at 22:11





It says that it couldn't find anything, and then suggests resetting, which does not help.

– David
Jan 30 at 22:11










1 Answer
1






active

oldest

votes


















0














If your network connection includes access restrictions to msftncsi.com and/or msftconnecttest.com domains, you might need to set up the following things:




  • a fake dns.msftncsi.com name in a local DNS service, that maps to IP address 131.107.255.255.

  • for Windows 7 (at least), a fake www.msftncsi.com name in a local DNS service that maps to a local IPv4 HTTP server that can serve a /ncsi.txt URI (see below), and/or a fake ipv6.msftncsi.com name that maps to a local IPv6 HTTP server that can do the same


  • when sent a GET request for /ncsi.txt, the HTTP server should respond with a 200 HTTP result code and the data of the response should be a single line of text:



    Microsoft NCSI




  • for Windows 10, a fake www.msftconnecttest.com name pointing to a local HTTP server that can serve a /connecttest.txt URI. The response should be a 200 HTTP result code and a single line of text:



    Microsoft Connect Test




If Windows can successfully make these DNS and HTTP requests, it should believe it has an internet connection. If these requests are blocked, the "no internet" message will be triggered. If different answers are received, Windows will assume there is a "captive portal".



New updates to Windows may introduce new tests.






share|improve this answer


























  • I can go to www.msftconnecttest.com/connecttest.txt and see the Microsoft Connect Test text as well as get the correct dns address when I run dns.msftncsi.com through nslookup (and see it through Wireshark as well), yet Windows 10 still says that this machine does not have internet access.

    – David
    Feb 11 at 19:55











  • Adding a blanket exception for this PC to our web security appliance fixed this issue. The fix persisted even after removing the exception and restarting the network location awareness service again. Maybe the DNS entry is cached now??

    – David
    Feb 11 at 20:35













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1400187%2fget-rid-of-false-no-internet-network-message%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














If your network connection includes access restrictions to msftncsi.com and/or msftconnecttest.com domains, you might need to set up the following things:




  • a fake dns.msftncsi.com name in a local DNS service, that maps to IP address 131.107.255.255.

  • for Windows 7 (at least), a fake www.msftncsi.com name in a local DNS service that maps to a local IPv4 HTTP server that can serve a /ncsi.txt URI (see below), and/or a fake ipv6.msftncsi.com name that maps to a local IPv6 HTTP server that can do the same


  • when sent a GET request for /ncsi.txt, the HTTP server should respond with a 200 HTTP result code and the data of the response should be a single line of text:



    Microsoft NCSI




  • for Windows 10, a fake www.msftconnecttest.com name pointing to a local HTTP server that can serve a /connecttest.txt URI. The response should be a 200 HTTP result code and a single line of text:



    Microsoft Connect Test




If Windows can successfully make these DNS and HTTP requests, it should believe it has an internet connection. If these requests are blocked, the "no internet" message will be triggered. If different answers are received, Windows will assume there is a "captive portal".



New updates to Windows may introduce new tests.






share|improve this answer


























  • I can go to www.msftconnecttest.com/connecttest.txt and see the Microsoft Connect Test text as well as get the correct dns address when I run dns.msftncsi.com through nslookup (and see it through Wireshark as well), yet Windows 10 still says that this machine does not have internet access.

    – David
    Feb 11 at 19:55











  • Adding a blanket exception for this PC to our web security appliance fixed this issue. The fix persisted even after removing the exception and restarting the network location awareness service again. Maybe the DNS entry is cached now??

    – David
    Feb 11 at 20:35


















0














If your network connection includes access restrictions to msftncsi.com and/or msftconnecttest.com domains, you might need to set up the following things:




  • a fake dns.msftncsi.com name in a local DNS service, that maps to IP address 131.107.255.255.

  • for Windows 7 (at least), a fake www.msftncsi.com name in a local DNS service that maps to a local IPv4 HTTP server that can serve a /ncsi.txt URI (see below), and/or a fake ipv6.msftncsi.com name that maps to a local IPv6 HTTP server that can do the same


  • when sent a GET request for /ncsi.txt, the HTTP server should respond with a 200 HTTP result code and the data of the response should be a single line of text:



    Microsoft NCSI




  • for Windows 10, a fake www.msftconnecttest.com name pointing to a local HTTP server that can serve a /connecttest.txt URI. The response should be a 200 HTTP result code and a single line of text:



    Microsoft Connect Test




If Windows can successfully make these DNS and HTTP requests, it should believe it has an internet connection. If these requests are blocked, the "no internet" message will be triggered. If different answers are received, Windows will assume there is a "captive portal".



New updates to Windows may introduce new tests.






share|improve this answer


























  • I can go to www.msftconnecttest.com/connecttest.txt and see the Microsoft Connect Test text as well as get the correct dns address when I run dns.msftncsi.com through nslookup (and see it through Wireshark as well), yet Windows 10 still says that this machine does not have internet access.

    – David
    Feb 11 at 19:55











  • Adding a blanket exception for this PC to our web security appliance fixed this issue. The fix persisted even after removing the exception and restarting the network location awareness service again. Maybe the DNS entry is cached now??

    – David
    Feb 11 at 20:35
















0












0








0







If your network connection includes access restrictions to msftncsi.com and/or msftconnecttest.com domains, you might need to set up the following things:




  • a fake dns.msftncsi.com name in a local DNS service, that maps to IP address 131.107.255.255.

  • for Windows 7 (at least), a fake www.msftncsi.com name in a local DNS service that maps to a local IPv4 HTTP server that can serve a /ncsi.txt URI (see below), and/or a fake ipv6.msftncsi.com name that maps to a local IPv6 HTTP server that can do the same


  • when sent a GET request for /ncsi.txt, the HTTP server should respond with a 200 HTTP result code and the data of the response should be a single line of text:



    Microsoft NCSI




  • for Windows 10, a fake www.msftconnecttest.com name pointing to a local HTTP server that can serve a /connecttest.txt URI. The response should be a 200 HTTP result code and a single line of text:



    Microsoft Connect Test




If Windows can successfully make these DNS and HTTP requests, it should believe it has an internet connection. If these requests are blocked, the "no internet" message will be triggered. If different answers are received, Windows will assume there is a "captive portal".



New updates to Windows may introduce new tests.






share|improve this answer















If your network connection includes access restrictions to msftncsi.com and/or msftconnecttest.com domains, you might need to set up the following things:




  • a fake dns.msftncsi.com name in a local DNS service, that maps to IP address 131.107.255.255.

  • for Windows 7 (at least), a fake www.msftncsi.com name in a local DNS service that maps to a local IPv4 HTTP server that can serve a /ncsi.txt URI (see below), and/or a fake ipv6.msftncsi.com name that maps to a local IPv6 HTTP server that can do the same


  • when sent a GET request for /ncsi.txt, the HTTP server should respond with a 200 HTTP result code and the data of the response should be a single line of text:



    Microsoft NCSI




  • for Windows 10, a fake www.msftconnecttest.com name pointing to a local HTTP server that can serve a /connecttest.txt URI. The response should be a 200 HTTP result code and a single line of text:



    Microsoft Connect Test




If Windows can successfully make these DNS and HTTP requests, it should believe it has an internet connection. If these requests are blocked, the "no internet" message will be triggered. If different answers are received, Windows will assume there is a "captive portal".



New updates to Windows may introduce new tests.







share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 31 at 1:11

























answered Jan 31 at 1:05









telcoMtelcoM

1,3111512




1,3111512













  • I can go to www.msftconnecttest.com/connecttest.txt and see the Microsoft Connect Test text as well as get the correct dns address when I run dns.msftncsi.com through nslookup (and see it through Wireshark as well), yet Windows 10 still says that this machine does not have internet access.

    – David
    Feb 11 at 19:55











  • Adding a blanket exception for this PC to our web security appliance fixed this issue. The fix persisted even after removing the exception and restarting the network location awareness service again. Maybe the DNS entry is cached now??

    – David
    Feb 11 at 20:35





















  • I can go to www.msftconnecttest.com/connecttest.txt and see the Microsoft Connect Test text as well as get the correct dns address when I run dns.msftncsi.com through nslookup (and see it through Wireshark as well), yet Windows 10 still says that this machine does not have internet access.

    – David
    Feb 11 at 19:55











  • Adding a blanket exception for this PC to our web security appliance fixed this issue. The fix persisted even after removing the exception and restarting the network location awareness service again. Maybe the DNS entry is cached now??

    – David
    Feb 11 at 20:35



















I can go to www.msftconnecttest.com/connecttest.txt and see the Microsoft Connect Test text as well as get the correct dns address when I run dns.msftncsi.com through nslookup (and see it through Wireshark as well), yet Windows 10 still says that this machine does not have internet access.

– David
Feb 11 at 19:55





I can go to www.msftconnecttest.com/connecttest.txt and see the Microsoft Connect Test text as well as get the correct dns address when I run dns.msftncsi.com through nslookup (and see it through Wireshark as well), yet Windows 10 still says that this machine does not have internet access.

– David
Feb 11 at 19:55













Adding a blanket exception for this PC to our web security appliance fixed this issue. The fix persisted even after removing the exception and restarting the network location awareness service again. Maybe the DNS entry is cached now??

– David
Feb 11 at 20:35







Adding a blanket exception for this PC to our web security appliance fixed this issue. The fix persisted even after removing the exception and restarting the network location awareness service again. Maybe the DNS entry is cached now??

– David
Feb 11 at 20:35




















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1400187%2fget-rid-of-false-no-internet-network-message%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido