IT Consultant Everyday Notes

Just some problems/solutions storage

Windows 7: Internet Connection detection

Problem: If you use a proxy to connect to Internet you may see an annoying exclamation point on your Network connection icon in Task bar.

Basically it says you do not have Internet connection. 

The matter in fact Windows 7 tries to

1. Resolve FQDN of It should be resolved into

2. sends HTTP request to get a plain text file at URL:

This technique is called Network Connectivity Status Indicator(NCSI) service and was introduced in Vista. It is described here.

Wireshark shows that NCSI goes directly to MS site (bypassing proxy) even though proxy is properly set in Internet Explorer.

Resolution: Kyle pointed to an NETSH command to force NCSI use proxy:

netsh winhttp set proxy <your_proxy:port>

you can verify settings using

netsh winhttp show proxy

After that on Wireshark trace you see traffic from NCSI goes to proxy and preperly replied. Indication in task bar is ok.

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

%d bloggers like this: