Fix: VPN Error ” A Connection To The Remote Computer Could Not Be Established” In Windows 10 / 11

We generally use a VPN for office networks or to establish an increasingly secure connection with the internet. While setting up a VPN connection is a breeze, there can also be problems associated with it. Many users experience an error while connecting to a VPN network (which had worked earlier) saying, “A connection to the remote computer could not be established. You might need to change the network settings for this connection.”


ADVERTISEMENT

If you are also experiencing this error, nothing to worry as this can fixed easily. Let’s see how.

 

Solution 1 : Using Device Manager

 

Step 1: Press the Windows key + X together on your keyboard and select Device Manager from the context menu.

 

Start Right Click Device Manager


ADVERTISEMENT

 

Step 2: In the Device Manager window, scroll down and expand Network adapters. Now, right-click on WAN Miniport (SSTP) and select Uninstall device from the menu.

 

Device Manager Network Adapters Expand Wan Miniport (sstp) Right Click Uninstall Device

 

Step 3: Repeat the same process as shown in Step 2 to Uninstall device for the all the Miniports listed below one by one:

 

  • WAN Miniport (PPTP)
  • WAN Miniport (PPPOE)
  • WAN Miniport (Network Monitor)
  • WAN Miniport (L2TP)
  • WAN Miniport (IPv6)
  • WAN Miniport (IP)
  • WAN Miniport (IKEv2)

 

Step 4: Now, click on the Action tab at the top of the window and select Scan for hardware changes from the context menu.

 

Action Scan For Hardware Changes

 

This will re-install all the WAN Miniports again as it was earlier. So, basically, it installs them freshly and now your VPN should work back again.

 

Solution 2 : Disable Proxy

1. Press Windows key + R to open run command box.

2. Write inetcpl.cpl in it and click OK.

 

Inetcpl.cpl Min

 

3. Click on Connections Tab from the top tab list.


ADVERTISEMENT

4. Now, click on LAN Settings.

Lan Settings

 

5. Make sure that Use a Proxy server for your LAN is unchecked.

 

Lan Settings Proxy Server Use A Proxy Server For Your Lan Uncheck Ok

ADVERTISEMENT

97 thoughts on “Fix: VPN Error ” A Connection To The Remote Computer Could Not Be Established” In Windows 10 / 11”

  1. Thank you very much for this solution! I have been struggling to get Windows VPNs to work for years, and no other suggestions have ever worked. Now I can connect!

  2. Although I have already uninstalled and reinstalled the miniports a few times over the last couple of days trying to get this #[email protected]% connection to work, after our IT guy gave me an IP address to use as the server address, it didn’t work until I uninstalled and reinstalled them again! Many thanks!

  3. This worked when my VPN for work suddenly failed me (windows updates to blame!). Never had any issues over 2 years of remote working. This fixed it in 2mins. Thanks so much for sharing.

  4. Solution 1: Device Manager was able to resolve this for me. Wonder if there was some sort of Windows update, as several of my clients are suddenly having this issue. I’m hoping this will resolve it for them as well. Thanks for the article!

  5. Fix 1 is not working for me. Fix 2 was already unchecked but it is still not working for me. Please help me out

  6. Greetings! Thank you very much! Solution 1 worked for me on my work computer. I had 3 people from IT who COULD NOT figure this out. SHOCKER, I KNOW. LOL. Anyway, if you’re still responding to this post, can you tell me what happened and what makes this solution work? Please and thank you.

  7. I am super thankful for this article and want to translate it and upload it for my blog by mentioning the source. thank youuuuu

  8. Worked like a charm. I was stuck on finding the MS updates. Removing the WAN Miniports and rescanning worked.
    Thanks Madhuparna

  9. Golden. Uninstalling the WAN miniports and scanning again worked like a charm! Top notch information. Thank you very much!

  10. OMG. Tried everything, got an IT guy in, uninstalled windows updates, reinstalled updates, restarted the laptop a gazillion time – then I tried this and hey presto, straight back in. Legend, huge thanks 🙂

  11. It can also be a problem with DHCP relay on the VPN server…. you can workaround solve that by adding an IP Pool rather than forwarding to DHCP server. Just make sure you use a range of IPs outside of the normal DHCP.

  12. Thank you very much for making this very helpful guide. The first solution solved my problem very successfully.

  13. uninstalling & reinstalling the wan miniports worked for me.
    thought it didn’t work, but saw comment where it had to be done twice.
    worked after the second uninstall & reinstall.
    thanks!

  14. I had this exact same issue and it turns out my DHCP scope for the vpn vlan was out of addresses. I increased the ip range and lowered the lease duration to 2 days (it was 8) and it immediately started working again. Maybe this will help someone.

  15. Clearing out the WAN miniports was the only thing that worked after nearly an hour of troubleshooting both on the client and server-side, thank you so much!!

Comments are closed.