How to Fix Connect Attempts to www.msftconnecttest.com on Windows Server 2016
Whenever a machine running Windows 10 or Windows Server 2016 is started a connection test to verify Internet access is initiated.
The test is performed by Windows probing msftconnecttest.com and ipv6.msftconnecttest.com to try and download a file named connecttest.txt. It will also probe dns.msftncsi.com looking for a reply of 131.107.255.255.
When you have a machine that’s connected to the internet through a proxy that blocks certain traffic based on user authentication it’s possible for a condition to exist where this connection test goes haywire and repeats itself over and over.
You can observe this behavior by the Network Adapter icon in the task tray flashing from Internet Access to Limited Connectivity (the yellow warning triangle).
You may also see an unusually high number of connection attempts to www.msftconnecttest.com from the server and through your proxy.
If you open the Resource Monitor and navigate to the Network Tab and expand the Network Activity section you’ll see activity on a number of process including svchost.exe (NetworkService) and svchost.exe (utcsvc) hammering your proxy address.
There are multiple ways to resolve this problem by disabling the internet connection test and sending of data to Microsoft’s msftconnecttest.com server.
Disable Microsoft Internet Connection Test via Registry Key

The easiest option to disable the repeated attempts to the connection test url is to change a registry key which takes affect immediately and does not require a reboot.
- Open regedit.exe via the start menu, run box, or CMD/PS
- Navigate to the following folder in the Registry Editor: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NlaSvc\Parameters\Internet
- Double-click on EnableActiveProbing to edit the value.
- Change the Value data from 1 to 0.
- The internet availability probing of msftconnecttest.com should stop immediately.
Set Custom Internet Connection Test Server via Registry
It’s also possible to set up your own corporate server for testing internet connectivity of machines on your network that you can whitelist in your proxy and security equipment. You can then set that machine’s address in the registry in the same location we disabled the feature all together above.
- Save the connecttest.txt file to your own internet server and publish it.
- Open regedit.exe via the start menu, run box, or CMD/PS
- Navigate to the following folder in the Registry Editor: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NlaSvc\Parameters\Internet
- Change the REG_SZ key ActiveWebProbeHost to the address of your web server.
- Change the REG_SZ key ActiveWebProbeHostV6 to the IPv6 address of your web server (if you use IPv6).
- Enter a DNS record on your internet DNS server that you can test resolution to (example create an A record for DNSTEST.yourdomain.com and set the IP to that of your web server).
- Change the REG_SZ key ActiveDnsProbeContent to the IP of your web server.
- Change the REG_SZ key ActiveDnsProbeHost to the A record url you entered into your public DNS (example DNSTEST.yourdomain.com).
- Repeat step 8 for the V6 record.
- Make sure the REG_DWORD key EnableActiveProbing is set back to 1.
Disable Microsoft Internet Connection Test via Group Policy

You can also disable the internet connection test feature by editing the local group policy (if not part of a domain) or through group policy management console (if part of a domain).
- Open group policy (gpedit.msc if not part of a domain)
- Navigate to Computer Configuration -> Administrative Templates -> System -> Internet Communication Management -> Internet Communication settings
- Change the setting Turn off Windows Network Connectivity Status Indicator active tests to Enabled.
Set Custom Internet Connection Test Server via Group Policy

If you wish to set up your own corporate internet server for internet connection testing you can set this through Group Policy as well.
- Save the connecttest.txt file to your own internet server and publish it.
- Navigate to Computer Configuration > Administrative Templates > Network > Network Connectivity Status Indicator
- Set Specify corporate Website probe URL to the url of your web server.
- Enter a DNS record on your internet DNS server that you can test resolution to (example create an A record for DNSTEST.yourdomain.com and set the IP to that of your web server).
- Set Corporate DNS Probe Host Name to the A record URL you configured in step 4 (example DNSTEST.yourdomain.com).
- Set Corporate DNS Probe Host Address to the IP of your webserver (the IP that DNSTEST.yourdomain.com resolves to).
Hopefully this helps you control the data that is being transmitted out of your servers. If anything, it’ll help you stop the nuisance of piling up connection attempts against your proxies and security equipment which just muddies the waters when trying to diagnose other networking issues.
Recommended for You: Solarwinds Hybrid Systems Monitoring Bundle

Automate collection of data and alerting on your local or cloud applications and servers with Solarwinds Hybrid Systems Bundle so you have these answers.
Get insight into Active Directory, DNS, DHCP, and your Virtual and Applications environments, both locally and cloud hosted, without needing to mess with complex templates or knowing a single line of code.
Really useful article, thank you. However, you have made quite an important typo – it’s not msftconnectest.com it should be msftconnecttest.com!
Thank to resolve this annoiyng thing
Yes and its gets even worse when you are set up to received Insider Builds of Windows 10. This does not resolve the issue when it should !
Yet it is great that these steps are well documented (not only the server systems) here !
Life saver!
I think you might be able to help me! I foolishly followed registry edit steps that affected my WiFi icon. Now, even though I’m connected to the internet – the icon displays the disconnected globe and the message says “ No internet” even though I DO have internet. Not the end of the world, but other applications apparently read the icon and constantly show error messages about my connection. I simply have to ignore the messages, but I would like to revert back to the original registry settings. I SHOULD have taken a picture of the original settings,but didn’t. How stupid am I?
We are currently experiencing the same issues – We have tried above fix’s with no success ?
We are currently experiencing the same issues – We have tried above fix’s with no success ?