Windows 7 Network Awareness

I was looking around on Slashdot tonight and found the article “Windows 7 Network Awareness: How Windows knows it has an internet connection“.

The question that the article answers is:

Whenever I connect to a WiFi network which requires in-browser authentication, such as university networks and hotel access points, Windows somehow magically knows. Windows also knows when your internet connection isn’t working, and can differentiate between having local LAN access, no network access at all, or full internet access. But how?

The technique Windows uses is described.

Evidently it means that Microsoft always knows and logs your IP address, at least on public networks.

What happens:

1. NCSI performs a DNS lookup on, then requests This file is a plain-text file and contains only the text Microsoft NCSI.
2. NCSI sends a DNS lookup request for This DNS address should resolve to If the address does not match, then it is assumed that the internet connection is not functioning correctly.

I wanted to make sure to keep the code to turn on/off this functionality.

From the article:

1. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet
2. Under the Internet key, double-click EnableActiveProbing, and then in Value data, type: 0.The default for this value is 1. Setting the value to 0 prevents NCSI from connecting to a site on the Internet during checks for connectivity.

I know I’m going to want to be able to control this functionality some day.


About rico49

Writer, progresive activist, open source software developer. Working to meet the needs of under- and un-employed people globally and in the United States.
Gallery | This entry was posted in Windows. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s