Network

How to remove msftconnecttest redirect error

How to remove msftconnecttest redirect error

Have you ever wondered how Windows figures out if you have a stable internet connection? It takes a few seconds, usually for Windows, to tell that the internet is not working if there is an issue. So what happens in the background is that Windows tries to connect to msftconnecttest.com and download a file connecttest.txt. If the download fails, it figures there is an issue with the internet. That said, at times, you may receive a lot of redirect error for the msftconnecttest. In this post, we will show how you can remove the msftconnecttest redirect error.

How to remove msftconnecttest redirect error

The redirection happens because Windows is trying to download that file but is either getting blocked and hence it is repeating in the loop. It majorly happens for two reasons. First is when you have an Antivirus or VPN blocking the URL(msftconnecttest.com and ipv6.msftconnecttest.com ), and second is when you connect to a WIFI, which is behind a login page. When that happens, you should notice that the network icon now displays a glob icon, which signifies that there is no internet.

Here are we are offering multiple solutions, and you can choose any of them.

  1. Disable WiFi/VPN or configure Antivirus
  2. Disable Microsoft Internet Connection Test using Registry Editor
  3. Use Group Policy to disable Microsoft Internet Connection Test
  4. Change Internet connection test server

The second and third method works if you are not part of a domain or restricted by IT policies. Only IT admin can make the changes if that's the case. IT admins can also use the third method to resolve the issue in a better way.

1] Disable WiFi/VPN or whitelist Microsoft msftconnecttest URLs

These are common errors we mentioned, and it would be best if you can disable WiFi or VPN to check if the error is resolved. If yes, then it's because of them, and you need to figure out how to add the URLs msftconnecttest.com and ipv6.msftconnecttest.com to Whitelist, so it is not blocked either by the VPN or Antivirus. If its the WiFi Login page that is causing the problem, then you should either login or turn off the WiFi.

2] Disable Microsoft Internet Connection Test using Registry Editor

The easy way out of the problem is to disable the internet connection test. It can be done via the Registry Editor.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NlaSvc\Parameters\Internet

Post this, Windows will not check for Internet availability, and that should eventually stop the msftconnecttest.com redirect error. Windows 10 Home users should use this method as Group Policy Editor is not available for them.

3] Disable Microsoft Internet Connection Test via Group Policy

The same can be achieved through the Group Policy editor. If you are an IT admin, you should use the group policy management console to apply the changes for computers on your domain.

Computer Configuration > Administrative Templates > System > Internet Communication Management > Internet Communication settings

When you set this as enabled, Windows Network Connectivity Status Indicator (NCSI) will not perform any test to determine if there is an active internet connection. Microsoft warns that it may reduce the ability of NCSI, and of other components that use NCSI, to determine Internet access.

4] Remove msftconnecttest redirect error by setting up a custom internet connection test server

As an IT admin, if you receive these errors on a lot of computers, and there is a way to skip this test, there is a solution. You can set up custom Internet connection test server via Group Policy and Registry editor

Using Group Policy

You will have to use the group policy management console to apply this setting to computers under your domain. The first thing you need to is set up a corporate internet server. Then you can add the connecttest.txt file in the internet server. Once configured, Windows will connect to that server, and download the file to determine internet status.

Next time Windows needs to determine internet connection, it will use these parameters.

Using Registry Editor

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NlaSvc\Parameters\Internet

If you carefully look at the registry entries, notice that ActiveDnsProbeContent is pointed to 131.107.255.255 or fd3e:4f5a:5b81::1 which belongs to Microsoft.

Similarly, ActiveWebProbePath points to the connecttest.txt file, which it downloads.

I hope the post was easy to follow, and you were able to remove msftconnecttest redirect error.

Cursor jumps or moves randomly while typing in Windows 10
If you find that your mouse cursor jumps or moves on its own, automatically, randomly while typing in Windows laptop or computer, then some of these s...
How to reverse Mouse and Touchpads scrolling direction in Windows 10
Mouse and Touchpads not only make computing easy but more efficient and less time-consuming. We cannot imagine a life without these devices, but still...
How to change Mouse pointer and cursor size, color & scheme on Windows 10
The mouse pointer and cursor in Windows 10 are very important aspects of the operating system. This can be said for other operating systems as well, s...