How does Windows determine if the Internet connection is working properly?

It will notify you when your PC with Windows OS successfully connects to the Internet or loses connection. The Microsoft team explained how the PC determines whether there is an Internet connection.

How does Windows decide whether your computer has limited or full Internet access? - The Old New Thing

An Internet Explorer or Edge window opens when your computer connects to a corporate or public network - Windows Client | Microsoft Learn

Network Connectivity Status Indicator (NCSI) overview and troubleshooting | Microsoft Japan Windows Technology Support Blog

About the phenomenon that the message that there is no network connection is displayed when signing in to Office

Windows OS uses a function called 'Network Connection Status Indicator (NCSI)' to determine whether access to the Internet is possible. By using the results determined by NCSI, it is no longer necessary to determine whether or not each application can access the Internet.

NCSI performs two types of operations, 'active probe' and 'passive probe', to determine whether access to the Internet is possible. In the active probe, two types of tests, 'HTTP probe' and 'DNS probe', are being conducted.

In the HTTP probe, in order to determine whether Internet access is possible, it is said that it checks ``whether you can download the text file with HTTP and get the expected character string''. Depending on the Windows version and IPv6/IPv4 connection method, access a URL such as ' ' and enter 'Microsoft Connect Test' or 'Microsoft NCSI' Checking if the column is available.

The DNS probe checks if the DNS name resolution for '' matches '' or 'fd3e:4f5a:5b81::1'.

The passive probe operates at 15-second intervals, monitors the communication status of the network, and determines whether Internet access is possible. It is only after passing these that it is determined that there is Internet access.

For this reason, if it is caught somewhere in the above judgment, it will be in the state of 'no Internet access' even if Internet access is possible with the browser.

Also, if you connect to a public network such as a hotel or airport that requires hotspot sign-in information, or if you connect your computer to a corporate network that uses a proxy server to connect to the Internet, authentication will fail, resulting in the following: You may see a warning icon like After signing in and using the network for a few seconds, the icon disappears.

in Software, Posted by log1p_kr