Live data from Hacker News

How does Windows decide whether your computer has full Internet access?

devblogs.microsoft.com

91–100 of 305 posts

Re: How does Windows decide whether your computer has full Internet access?

#91
Really unfortunate terminology that molds peoples ideas of the internet, being able to access a website is pretty far from having full internet access. Calculated or not, it was also in MS interests to lead people to think this way.

It should check if you are behind NAT and then say "Your computer doesn't have full Internet access but can reach some services via a gateway"

Re: How does Windows decide whether your computer has full Internet access?

#92

I suppose you could spoof having full Internet access by hosting nsci.txt or connecttest.txt locally and editing your hosts file to direct www.msftncsi.com or www.msftconnecttest.com to 127.0.0.1 ? Conversely, if those Microsoft websites ever failed, countless Windows machines would determine that they have limited or no Internet access.

[deleted]

Re: How does Windows decide whether your computer has full Internet access?

#93

` http://www.msftconnecttest.com/connecttest.txt ` Wonder what kind of uptime this service has and what sort of footprint is needed?

It is hosted on the Azure CDN, which is partially Azure datacenters and backed up by Akamai. msftncsi.com is completely on Akamai.

Here is a list of Azure operated locations: https://learn.microsoft.com/en-us/azure/cdn/microsoft-pop-ab...

Re: How does Windows decide whether your computer has full Internet access?

#94

I suppose you could spoof having full Internet access by hosting nsci.txt or connecttest.txt locally and editing your hosts file to direct www.msftncsi.com or www.msftconnecttest.com to 127.0.0.1 ? Conversely, if those Microsoft websites ever failed, countless Windows machines would determine that they have limited or no Internet access.

Best hosting company: localhost

Re: How does Windows decide whether your computer has full Internet access?

#95

I suppose you could spoof having full Internet access by hosting nsci.txt or connecttest.txt locally and editing your hosts file to direct www.msftncsi.com or www.msftconnecttest.com to 127.0.0.1 ? Conversely, if those Microsoft websites ever failed, countless Windows machines would determine that they have limited or no Internet access.

[deleted]

Re: How does Windows decide whether your computer has full Internet access?

#96

I suppose you could spoof having full Internet access by hosting nsci.txt or connecttest.txt locally and editing your hosts file to direct www.msftncsi.com or www.msftconnecttest.com to 127.0.0.1 ? Conversely, if those Microsoft websites ever failed, countless Windows machines would determine that they have limited or no Internet access.

In the linked comment section, Raymond Chen replied somewhat abrasively to a comment similar to this (the comment was "wouldn't this be easy to spoof?").

A bit harsh I thought!

Re: How does Windows decide whether your computer has full Internet access?

#97
post #51

Unfortunately it's not that simple. On my system with bridges for hyper-v and wireguard tunnels, the NCSI service happily ignores my default route and tries to establish connectivity through one of the other devices when resuming from sleep. It wouldn't be that bad if it was just the status indicator, but several apps refuse to work properly if "internet" isn't detected. The workaround is to disable every other adapt…

I assume you’ve at least tried one of the other two popular operating systems? I would be desperate to not put up with that kinda thing anymore.

Re: How does Windows decide whether your computer has full Internet access?

#98
post #91

Really unfortunate terminology that molds peoples ideas of the internet, being able to access a website is pretty far from having full internet access. Calculated or not, it was also in MS interests to lead people to think this way. It should check if you are behind NAT and then say "Your computer doesn't have full Internet access but can reach some services via a gateway"

And to my parents that will mean nothing

Re: How does Windows decide whether your computer has full Internet access?

#99

Why does Microsoft always seem to pick domain names that are indistinguishable from phishing scams?

Every time I get an email from my health insurance, or sign in, I see so many domains that look like abject phishing domains. It's insane.

Re: How does Windows decide whether your computer has full Internet access?

#100
post #96

I suppose you could spoof having full Internet access by hosting nsci.txt or connecttest.txt locally and editing your hosts file to direct www.msftncsi.com or www.msftconnecttest.com to 127.0.0.1 ? Conversely, if those Microsoft websites ever failed, countless Windows machines would determine that they have limited or no Internet access.

In the linked comment section, Raymond Chen replied somewhat abrasively to a comment similar to this (the comment was "wouldn't this be easy to spoof?"). A bit harsh I thought!

He just had to say that this is for convenience, not security.
Post reply on HN