How to Fix the Msftconnecttest Redirect Error on Windows

Man On Laptop With Browser Showing Error

Sometimes when browsing, you’ll be redirected to a new tab with an error message that reads: “The connection to www.msftconnecttest.com is not secure.” You wave it off as a once-off event, but the redirects keep happening every few seconds, interrupting your browsing experience, and you know something’s wrong. This tutorial shows how to stop the Msftconnecttest redirect error.

Good to know: confused about what browser cookies are? We can help.

1. Perform an Antivirus Scan

The Msftconnecttest error can be the result of browser hijacker malware. To remove it, fire up your antivirus, and perform a scan.

For instance, you can scan your PC with Microsoft Defender, a capable antivirus that allows you to not rely on third-party antiviruses.

2. Reset Your Browser

If the virus scan you performed in the previous step identified a browser hijacker on your computer, getting rid of it won’t be enough. Since it already made changes to your browser’s settings, you will need to reset them to stop the error once and for all. The caveat is that you’ll lose most of your data, including configurations, preferences, cookies, and browsing history. For the purposes of this tutorial, we’re showing how to reset browser settings in Chrome, Edge, and Firefox.

Chrome and Edge

Although Chrome and Edge are two different browsers, the steps to reset them are remarkably similar. In this example, we’re showing how to reset Chrome, but you can use the same steps in Edge.

  1. Open the browser, click the three-dot icon in the top-right corner, and select “Settings.”
Clicking on "Settings" in Chrome.
  1. In the menu on the left, select “Reset settings,” then click on “Restore settings to their original defaults” in the right pane.
Chrome Menu Settings with the "Reset settings to original defaults" option highlighted.
  1. Confirm that you want to go ahead with the reset by clicking “Reset settings” in the prompt.
Resetting settings in Chrome browser.

Tip: using Mozilla’s browser on Mac? Learn how to inspect elements on Firefox (and other browsers).

Firefox

Resetting Firefox isn’t as straightforward as Chrome and Edge, but it only takes a few clicks, nevertheless.

  1. Open the browser, click the hamburger menu (three horizontal lines) in the top-right corner, and select “Help.”
Clicking on "Help" option in Firefox menu.
  1. Click “More troubleshooting information.”
"More troubleshooting information "option in Firefox menu.
  1. Click “Refresh Firefox.”
The "Refresh Firefox" button in Firefox's Troubleshooting information page.
  1. In the prompt, confirm that you want to go ahead with the reset by clicking “Refresh Firefox.”
Refresh Firefox pop-up view.

3. Reset Your Network Adapter

Another way to prevent this redirect error from popping up constantly is to change the settings of your network adapter. However, keep in mind that doing this will mean your computer will forget certain network-related data, including Wi-Fi passwords, networks, and VPNs.

  1. Press Win + I to open the Settings app.
  1. Select “Network & internet” in the menu on the left, then click on “Advanced network settings” in the right pane.
Navigating to Advanced network settings on Windows 11.
  1. Click “Network reset.”
"Network reset" option in Windows 11 settings.
  1. Click “Reset now.”
The "Reset now" button in Windows 11 settings.
  1. When asked if you’re sure you want to continue with the reset, click “Yes.”
Confirm network reset pop-up.
  1. For Windows 10 users, open Settings, head to “Network & Internet -> Status,” click on the “Network reset” link, then follow steps #4 and #5 above to reset the network adapter.

FYI: boost your multitasking capabilities by learning how to split the screen in Microsoft Edge.

4. Change HTTP/HTTPs Configuration

A misconfigured HTTP/HTTPs configuration is another cause of this error, and setting the correct default browser can help.

  1. Press Win + I to open the Settings app.
  1. Head to “Apps -> Default apps.”
Navigating to "Default apps" in Windows 11 settings.
  1. On Windows 11, scroll down and click “Choose defaults by link type,” and on Windows 10, click on “Choose default apps by protocol.”
The "Choose default by link type" in Windows 11 settings.
  1. Find “HTTP” and click on the app browser listed.
Clicking on "HTTP" option under "Choose defaults by link type" in Windows Settings.
  1. Click on the browser you want to be the default, and select “Set default.” In this example, we’re setting Edge as the default.
Setup to choose default app on Windows 11.
  1. Retrace steps #4 and #5 for the “HTTPS” as well.

5. Disable Connection Test

If nothing you’ve done so far has worked, then disabling the connection test, which checks whether the network you’re trying to connect to has Internet access, can help get rid of the Msftconnecttest redirect error. Do this in the Local Group Policy Editor (LGPE) or Registry Editor.

Local Group Policy Editor

To disable the connection test in the LGPE, enable the “Turn off Windows Network Connectivity Status Indicator active tests” policy.

  1. Press Win + R to bring up a Run dialog box, enter gpedit.msc in the text box, and click “OK” to launch the Local Group Policy Editor.
Opening the Local Group Policy Editor using Windows Run.
  1. Head to “Computer Configuration -> Administrative Templates -> System -> Internet Communication Management -> Internet Communication settings,” then double-click on the “Turn off Windows Network Connectivity Status Indicator active tests” policy.
The "Turn off Windows Network Connectivity Status Indicator active tests" policy.
  1. Select the “Enabled” radio button.
Editing the "Turn off Windows Network Connectivity Status Indicator active tests" policy
  1. Click “OK” to apply and save the changes.

Tip: check out how to reset Group Policy Settings in Windows.

Registry Editor

To disable the connection test in the Registry Editor, edit the “EnableActiveProbing” value.

  1. Press Win + R to bring up Windows Run, enter regedit in the text box, and click “OK.”
Opening the Registry Editor using Windows Run
  1. Click “Yes” on the UAC warning to launch the Registry Editor.
  1. Head to “HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Services -> NlaSvc -> Parameters -> Internet,” and double-click on “EnableActiveProbing.”
Double-clicking the Enableactiveprobing value in Registry Editor.
  1. If the value is “1,” change it to “0.”
Editing the "Enableactiveprobing" value on Windows.
  1. Click “OK” to apply and save the changes.

Tip: did you know that you don’t need a browser to download your first browser on a new PC? Learn how to do so.

Frequently Asked Questions

What is "msftconnecttest.com"?

This is a legitimate Microsoft website, and its purpose is to check whether your computer has Internet access when you connect to certain networks, such as personal, public, hotel, restaurant, and airport Wi-Fi hotspots. If the connection test fails, that’s when the Msftconnecttest redirect happens.

How do I check my network connection status?

To check the status of your network connection, press Win + I, then select “Network & Internet.” You will see the details you need at the top. If the Internet is available, it will say, “Connected, secured;” otherwise, it will say, “Not connected.” Try these tips if your Wi-Fi is not working.

Image credit: Smartmockups. All screenshots by Chifundo Kasiya.

Is this post useful?
Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Chifundo Kasiya

Chifundo is a tech writer who loves all things computers and gaming. He has been a freelancer writer for over 10 years and loves tackling complex topics so he can break them down for everyone to understand. He is also an artist, game programmer, and amateur philosopher. As a tech writer for MTE, he focuses mainly on Windows.