Troubleshooting VPN Connections Failed on Windows

Troubleshooting VPN Connections Failed on Windows

Richard Lv13

Troubleshooting VPN Connections Failed on Windows

People utilize VPNs (Virtual Private Networks) for more secure and anonymous web browsing. However, some users can’t utilize VPN connections on their Windows PCs because of an error message that says, “connection to the remote computer could not be established.” Some users see that error message within Settings when they try to connect to VPNs.

This error will prevent you from connecting to a VPN on your Windows 11/10 PCs. Is that same error affecting your PC’s VPN connectivity? If so, this is how you can probably fix that VPN connection issue on a Windows PC.

1. Run the Network Adapter Troubleshooting Tool

Windows troubleshooters can often be useful for fixing network-related issues. The Network Adapter troubleshooter will likely be the most useful troubleshooting tool for resolving this VPN error. However, the Internet Connection troubleshooter could also address issues causing the VPN connection error.

You can access both troubleshooters within Settings. This how to run any Windows troubleshooter article provides step-by-step instructions for opening troubleshooters in the Windows 10 or 11 Settings app. Then go through the Network Adapter or Internet Connection troubleshooter to apply any manual resolutions they recommend.

The Network Adapter troubleshooter

2. Turn Off the Proxy Server Setting

An intermediary proxy server can act as a firewall for enhanced network security. However, having proxy servers enabled can cause issues for VPN connections. So, it’s recommended to disable the “use a proxy server” setting to eliminate that potential cause for this VPN error.

The Turn off Windows Defender Firewall options

3. Reconfigure Your VPN Connection’s Security Settings

This VPN error message suggests that you try reconfiguring some network settings to resolve the issue. Changing VPN connection security settings could feasibly resolve this issue for some users. Try changing your VPN’s connection’s security settings like this:

  1. Launch Run (simultaneously press the Win + R keys) and input “ncpa.cpl” in that accessory’s Open box.
  2. Click OK in Run to bring up a Network Connections window.
  3. Then right-click on your VPN connection and select Properties.
  4. Click Security in the VPN properties window.
  5. Select the Point to Point Tunnelling Protocol option on the Type of VPN drop-down menu.
    The Type of VPN drop-down menu
  6. Click the Allow these protocols radio button.
  7. Select the Challenge Handbrake Authentication Protocol (CHAP) checkbox.
  8. Next, click the Microsoft CHAP Version 2 checkbox to select that option.
  9. Click OK to set the new VPN security settings.

Misconfigured settings in your VPN client software can also feasibly cause connection issues. To remedy that, try resetting your VPN client software settings to default. Look for and select an option within your VPN software that generally restores default settings.

4. Disable the Windows Firewall

Windows Defender Firewall might be causing this error by blocking the VPN connection. To ensure WDF isn’t blocking your VPN connection, try temporarily disabling Windows Defender Firewall . Then return to Settings to see if the “Connection to the remote computer could not be established” error persists.

If this works, don’t leave the firewall off. Instead, add your VPN connection to Windows Defender Firewall’s allowed list. To do that, you’ll need to select the Private and Public checkboxes for your VPN connection, as covered within this guide to allowing apps through Windows Firewall .

The Turn off Windows Defender Firewall options

5. Disable Third-Party Security Software Packages

Many third-party security (antivirus) software packages also have integrated firewalls that can block VPN connections. If there’s third-party security software installed on your PC, turn off its firewall component to see if that makes any difference to your VPN connection. Then set up a firewall exception for your VPN connection within your security software if that does resolve the issue.

Temporarily disable antivirus

6. Reinstall the WAN Miniport Devices

Reinstalling WAN Miniport devices is a potential resolution many users confirm fixes the “Connection to the remote computer could not be established.” Applying this potential solution will reinstall the drivers for virtual network adapters that have variable protocols, which often resolves this VPN error. You can reinstall WAN Miniport devices like this:

  1. First, right-click on the Windows taskbar icon (Start button) and select Device Manager.
  2. Click the little arrow beside Network adapters to view all devices for that category.
  3. Right-click on the WAN Miniport (IKEv2) adapter and select Uninstall device.
    The Uninstall device option
  4. Press Uninstall within the confirmation dialog box.
    The Uninstall button
  5. Repeat the previous two steps for all WAN Miniport adapters shown within Device Manager.
  6. When you’ve uninstalled all the WAN Miniport devices, click the Action menu.
    The Scan for hardware changes option
  7. Select the Scan for hardware changes option to reinstall the WAN Miniport devices.

Then return to Settings and try connecting with your VPN again.

7. Reset Your PC’s Network Settings

A network reset will reinstall all your PC’s network adapters. So, this potential resolution could have a similar effect to the preceding one, and some users have confirmed it to work. However, a network reset also restores network components to default settings.

You can reset network adapter settings by inputting and executing a series of netsh and ipconfig commands. However, it’s more straightforward to apply this fix by clicking the Reset now button in Settings. Check out our how to reset your network settings guide for further details about how you can access that option.

The Reset now button

8. Reinstall Your VPN Software

Reinstallation of your VPN software might be necessary if none of the other potential solutions here work for you. Applying such a solution will likely address software issues causing this VPN connection error. You’ll also update your VPN software by installing its latest version.

You can remove your VPN client software within Programs or Features or Settings as outlined in this guide to uninstalling Windows software . Make sure you also remove any additional extras installed with your VPN client, such as network TAP adapters. Resetting your PC’s network settings will also probably uninstall VPN software.

The Programs and Features Control Panel applet

Then open the official publisher download page for your VPN software. Select to download the latest VPN client software version for Windows 11/10 from there. Run the downloaded VPN software installer to reinstall.

Re-establish Your VPN Connection on Windows

Those potential fixes for the “Connection to the remote computer could not be established” error will probably re-establish your VPN connection. In many cases, reinstalling WAN Miniport adapters or disabling proxy servers will often do the trick. However, you might need to try alternative resolutions here to get this VPN connection issue resolved.

This error will prevent you from connecting to a VPN on your Windows 11/10 PCs. Is that same error affecting your PC’s VPN connectivity? If so, this is how you can probably fix that VPN connection issue on a Windows PC.

  • Title: Troubleshooting VPN Connections Failed on Windows
  • Author: Richard
  • Created at : 2024-08-16 02:19:56
  • Updated at : 2024-08-17 02:19:56
  • Link: https://win11-tips.techidaily.com/troubleshooting-vpn-connections-failed-on-windows/
  • License: This work is licensed under CC BY-NC-SA 4.0.