Ok update from my last post.
What the Network Location service does is determine whether or not you have a valid and active connection to your local network and the Internet
Registry key
\HKLM\SYSTEM\CurrentControlSet\services\NlaSvc\Parameters\Internet
Has the following parameters
ActiveDnsProbeContent &
ActiveDnsProbeHost. Is used to see if you have an active and working DNS server. By confirming that the Host and Content (IP addresses) matches. You can change this from the default.
ActiveWebProbeHost - Where you download the text file from
ActiveWebProbePath - The path and name of the file to download
ActiveWebProbeContent - The contents that should be in that file.
The default is to download a text file call ncsi.txt from
www.msftncsi.txt. With the contents "Microsoft NCSI." You can see the file at
http://www.msftncsi.txt/ncsi.txt
You can change the values. And have your own text file to download. Not sure if the contents matter or not. I did change them and it seemed to have no affect. But your mileage may vary. Just make sure you have a working web server somewhere on the Internet to download the file. I also assume the path can be what ever you desire.
I changed my values to my own web server and put the file on there. As for the dns settings I just changed them to my server's IP and Name.
I assume this would work for Windows Vista as well. Not sure if Windows XP or 2000 uses the same service.