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.

get-net-adapter

How to Fix This Remote Connection Error

We recommend starting by rebooting your PC and router and reattempting the connection. Deleting andre-creating the VPN connectionhas 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 may do this:

get-net-adapter-binding

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 replaceinterfacenamewith the value from earlier before executing the command.

Disable Filter Driver

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

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 may do this:

enable-ms-wanarp

Update Network Driver

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

disable-wfp-lightweight-filter

uninstall-wan-miniport-ip

uninstall-wan-miniport-device

device-manager-scan-for-hardware-changes

update-realtek-ethernet-adapter