Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Networking»Fixed: A Connection to The Remote Computer Cannot Be Established Error While Using a VPN

Fixed: A Connection to The Remote Computer Cannot Be Established Error While Using a VPN

Anup ThapaBy Anup ThapaOctober 31, 2022
A Connection To The Remote Computer Cannot Be Established

Windows uses virtual adapters called WAN Miniports for various types of network connections. For instance, WAN Miniport (IKEv2) is necessary for establishing a VPN connection to an IKEv2 VPN server.

Often, when these adapters are bound incorrectly on a system, they show no obvious signs (e.g., no warnings in Device Manager). However, when you perform tasks that actually require these adapters, such as establishing a VPN connection, the connection will fail.

As such, reinstalling the WAN Miniport Adapters is generally all that’s needed to fix the problem. But in case the error persists, we’ve also listed some other solutions that will be helpful for fixing this error.

Table of Contents

  • How to Fix This Remote Connection Error
    • Check WAN Miniport Bindings
    • Enable WANARP
    • Disable Filter Driver
    • Reinstall WAN Miniport Drivers
    • Update Network Driver
    • General Networking Fixes

How to Fix This Remote Connection Error

We recommend starting by rebooting your PC and router and reattempting the connection. Deleting and re-creating the VPN connection has also been helpful for some users. If these simple fixes don’t resolve the issue, move on to the main solutions.

Check WAN Miniport Bindings

On the server side, we recommend checking if the static IP Pool is depleted or if the IP can’t be assigned. The RRAS DHCP server could also be unavailable.

On the client system, this issue is likely due to a faulty WAN Miniport (IP) adapter. We recommend checking the list of bindings for the adapter to confirm this and proceeding according to the output. Here’s how you can do this:

  1. Press Win + R, type powershell, and press CTRL + Shift + Enter.
  2. Execute the following command and note the name of the interface:
    Get-NetAdapter -IncludeHidden | Where-Object {$_.InterfaceDescription -eq "WAN Miniport (IP)"}
    get-net-adapter
  3. Copy the following command:
    Get-NetAdapterBinding -Name "<interfacename>" -IncludeHidden -AllBindings
  4. Replace interfacename with the value from Step 2 and execute the command.
    get-net-adapter-binding
  5. Check the next 3 sections and follow the steps as appropriate depending on the output, then check if the connection can be made.

Enable WANARP

If the output showed that the Remote Access IP ARP driver (ms_wanarp) is disabled, you should enable it with the command shown below. Remember to replace interfacename with the value from earlier before executing the command.

Enable-NetAdapterBinding -Name "<interfacename>" -IncludeHidden -AllBindings -ComponentID ms_wanarp
enable ms wanarp

Disable Filter Driver

If the output showed any third-party filter drivers, disable them with the command shown below. As before, remember to replace interfacename and filterID with the appropriate values before executing the command.

Disable-NetAdapterBinding -Name "<interfacename>" -IncludeHidden -AllBindings -ComponentID <filterID>
disable wfp lightweight filter

Reinstall WAN Miniport Drivers

If the previous two fixes weren’t applicable or didn’t then, then we recommend reinstalling the WAN Miniport (IP) interface drivers. Here’s how you can do this:

  1. Press Win + R, type devmgmt.msc, and press Enter.
  2. Expand the Network Adapters section.
  3. Right-click WAN Miniport (IP) and select Uninstall Device > Uninstall.
    uninstall-wan-miniport-ip
  4. Repeat the same for the rest of the WAN Miniport adapters.
    uninstall-wan-miniport-device
  5. Once you’re done, select Action > Scan for hardware changes from the menu bar to reinstall the WAN Miniport devices.
    device-manager-scan-for-hardware-changes
  6. Check if you can make the remote connection now.

Update Network Driver

In some cases, an outdated network driver has been found to cause this problem. Updating the driver from the Device Manager might help, but ideally, you should just install the latest drivers from the device manufacturer’s site. Here’s how you can do this:

  1. Press Win + X and select Device Manager.
  2. In the Network Adapters section, right-click the adapter and select Update Driver.
    update-realtek-ethernet-adapter
  3. Select Search automatically for drivers if you want to try updating through the Driver Store or Windows Update.
    auto-update-network-driver
  4. Alternatively, if you downloaded the driver from the manufacturer’s site, there are a couple of ways to proceed. If the downloaded file was an executable file, you can simply run it to install the driver. 
  5. If the downloaded file was in .inf format, repeat Step 2 but select Browse my computer for drivers this time.
  6. Select Browse and locate the folder where the file is stored. Then, press Ok > Next > Close.
    browse-network-driver
  7. Restart your PC after the installation and check if the remote connection can be established now.

General Networking Fixes

The solutions mentioned so far will usually resolve the problem, but in case the error persists, there are a few general fixes worth trying. Here are the recommended steps:

  1. First, press Win + R, type ncpa.cpl, and press Enter.
  2. Right-click the VPN connection and select Properties.
    vpn-properties-network-connections
  3. Check the VPN configurations (VPN address, tunneling protocol, etc.) and ensure the correct ones are selected according to your VPN provider.
    vpn-properties-pptp
  4. If the VPN configuration seems fine, press Win + I and go to Network & Internet > Proxy. 
  5. If any proxies are currently active, disable them from here.
    disable-proxy-server
  6. If you’re using any third-party firewall, temporarily disable it as well.
  7. If the error still isn’t resolved, you can try a network stack reset as the final option. To perform this, run the following commands in CMD:
    ipconfig /release
    ipconfig /flushdns
    ipconfig /renew
    dns-flush
    netsh int ip reset
    netsh winsock reset
    netsh-winsock-int-ip-reset
fix
Anup Thapa
  • LinkedIn

Anup Thapa is a tech writer at TechNewsToday. He mostly writes informative articles, tutorials, and troubleshooting guides related to Windows systems, networking, and computer hardware. Anup has been writing professionally for almost 5 years, and tinkering with PCs for much longer. His love for all things tech started when he got his first PC over 15 years ago. It was a Pentium IV system running Windows XP on a single 256 MB stick. He spent his formative years glued to this PC, troubleshooting any hardware or software problems he encountered by himself. Professionally, Anup has had brief forays into a variety of fields like coding, hardware installation, writing, etc. In doing so, he's worked with people of different backgrounds and skill levels, from average joes to industry leaders and experts. This has given him not just a versatile skillset, but also a unique perspective for writing that enables him to concisely communicate complex information and solve his reader's problems efficiently. You can contact him at anup@technewstoday.com

Related Posts

packet loss test

How To Perform Packet Loss Test On Windows

January 15, 2023
how to reset ethernet adapter

How To Reset Ethernet Adapter

January 2, 2023
does my pc have wifi

Does Your Desktop Have Wi-Fi? Here’s How to Find Out

January 1, 2023
dns server is not responding

8 Ways to Fix “DNS Server Is Not Responding” Error

December 27, 2022
how-to-reset-spectrum-wifi

How to Reset Spectrum Wi-Fi

December 26, 2022
how to update router firmware tp-link

How to Update Router Firmware on TP-Link (2 Possible Ways)

December 26, 2022
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
how long does a cmos battery last

How Long Does a CMOS Battery Last

January 25, 2023
thunderbolt vs usb c

Thunderbolt Vs USB C: What’s the Difference

January 25, 2023
how to find hidden folder in laptop

How to Find Hidden Folder in Laptop

January 24, 2023
You may also like
Reset BIOS password

4 Ways to Reset BIOS Password

January 28, 2023
How to clean usb port 1

How to Clean USB Port on PC (Comprehensive Guide)

January 27, 2023
lenovo battery not charging

Lenovo Battery Not Charging? Try These Fixes

January 27, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday.

Type above and press Enter to search. Press Esc to cancel.