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

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
  • Instagram
  • LinkedIn

Anup Thapa primarily covers Windows systems, networking, and computer hardware at TechNewsToday. 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 from coding and hardware installation to writing. 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 skill set, but also a unique perspective for writing that enables him to concisely communicate complex information and solve his reader's problems efficiently. You can reach out to him at anup@technewstoday.com.

Related Posts

intel wireless ac 9560 not working

Intel Wireless AC 9560 Not Working? Try these Fixes

September 16, 2023
does your ip address change when you move

Does Your IP Address Change When You Move?

July 16, 2023
locate wifi access point

How to Locate a Wi-Fi Access Point

July 6, 2023
lease time dhcp

What is DHCP Lease time? Can You Change It?

July 2, 2023
Failed to obtain IP address 1

5 Ways to Fix “Failed to Obtain IP Address”

June 30, 2023
How to Forget a Network

How to Forget a Network on Windows

June 27, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 22, 2023
motherboard chipset

Understanding Motherboard Chipset and Its Importance

September 20, 2023
Naval-Warfare-Games

Best Naval Warfare Games

September 18, 2023
You may also like
printer-not-printing

How to Fix a Printer That’s Not Printing

September 20, 2023
Share Location With Friends and Family

Share Location With Friends and Family (iPhone and Android)

September 18, 2023
how-to-print-without-a-printer

How to Print Without a Printer

September 18, 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, editor@technewstoday.com | Tech Central Pvt. Ltd.

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