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.”
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.
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.
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.
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.
3. Click on Connections Tab from the top tab list.
4. Now, click on LAN Settings.
5. Make sure that Use a Proxy server for your LAN is unchecked.

I find passion in writing Tech articles around Windows PC and softwares
Robby says
Solution 1 works !!!
Kyle says
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!
Milan says
Thank you very much. Method 1 worked well.
Wells says
Thank you ,
Fix my issue with method 1.
Anonymous says
Fix 1 is not working for me. Fix 2 was already unchecked but it is still not working for me. Please help me out
sbr says
Thank you
Solution 1 : Using Device Manager
it work for me
Krishna P says
Thanks, worked perfectly!
Saxbow says
Thank you so much – solution 1 fixed a problem we’d been troubleshooting for 2 hours!
Yeshwanth says
Thanks. It worked π
Piotr says
Thank You! You save my day with this tip π
Kalavan says
Thank you
worked perfectly π
Cedric Boswell says
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.
Daniel says
That’s great, got it working with the miniport reinstall, thanks a lot!
Novaak says
It helped me. Thanks to author.
Peter says
Fabulous – thank you, your explanation totally sorted me out!
Jorge says
thank you, solution 1 worked for me on Windows 11
Anonymous says
BRAVO!
pershina says
I am super thankful for this article and want to translate it and upload it for my blog by mentioning the source. thank youuuuu
abu says
thank you, solution 1 worked for me on Windows 11
xoid says
Thanks a lot! Really fixed this issue for me
levan says
Thank you! Fixed
its good
MadDog SimRacing says
The WAN Miniport delete did the trick.
Thank you!
Salim says
Worked like a charm. I was stuck on finding the MS updates. Removing the WAN Miniports and rescanning worked.
Thanks Madhuparna
Dan says
Thank you for your help, works! π
John says
Golden. Uninstalling the WAN miniports and scanning again worked like a charm! Top notch information. Thank you very much!
TysHoof says
This worked for me – Thank you!
Vasyl says
Thank you very much, it helped
orb1302 says
this worked 100% thank you very much!
dave says
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 π
Nick says
Deleting the WAN miniport drivers and re-adding worked for me on a new W10 laptop (2021)
Dawid says
Worked like a charm. Thank you.
Roberto says
Thnx. Worked perfectly (deleting and reinstalling mini port)
Marianna Douka says
Great guide…it worked for me as well…Solution 1. Thanks a million
Dan says
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.
B. K. says
Thank you very much for making this very helpful guide. The first solution solved my problem very successfully.
Rich says
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!
Tasia says
Thank you so much! Solution #1 worked perfectly.
Ksenia says
Geex, thanks a lot! The first solution fixed my issue!
Alien7766 says
Wow! It worked. Thanks a lot!!!
Peter L says
Prob’ly 2 months of trying. Thanks so much.
You did better than our IT department.
J.W. says
Thanks for the short and helpful guide. The first version solved my problem.
Anonymous says
Thank you so much. This was the solution after a month.
tumblr1212 says
Remove all Miniports worked for me, thanks
Neo says
Thank you very much, had this issue for over a month. The first solution worked for me.
Rum Triphan says
Awosome! This first solution fixed my issue. Thank you!
Turtil says
miniport uninstall/refresh worked great. Thanks!!
Ken says
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.
Robert says
Thanks. The disable miniport solution did the trick!
Anonymous says
wow! awesome it worked for me
Stefan says
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!!
Stephen says
Solution 1 is helpful. Fixed. Thanks a lot.
Jerry says
Mothod2 is helpful. Fixed. Thanks a lot.
Bjorn says
Thanks!!!
Unistalling the WAN miniports did it for me!
Alex says
Muito obrigado!! Salvando pessoas de todo mundo!
francis says
thanks so much
it’s works for me (2020)
Rajesh says
Thanks ..its Helped.. Thanks again
Some IT admin says
The first search result for duckduckgo.
You nailed it . It worked.
Tonmoy says
Thanks A lot . it helped me after wasting a whole day.
Erik says
OMG!!! You saved me. I have many people with this issue. Thanks so MUCH!!
inGGAIN says
Thanks for the Tutorials, thats working!
Anonymous says
Thank you!
Anonymous says
It didnt work the first time around but after doing it a second time it worked. Thank you very much!
Anonymous says
it worked thanks
NaSyal says
It’s Work!!!!, Thanks
Anonymous says
Wow ! it was so easy
James Lenaburg says
Doesn’t work for me.
Anonymous says
Worked like a charm, thank you!
Anonymous says
Thanks a lot.. it really works.
AmirHosein says
hi
very useful
thanks
Arne says
Thanks, worked perfectly!
maha says
it did not worked π
Anonymous says
Worked like charm. Thanks!
Michael Graham says
Thanks, worked perfectly!
Bjorn Alpberg says
Worked perfectly – thanks!
Anonymous says
Thank you ..
TD says
Awesome thank you!
Tom says
Thank you! Fixed my issue after a month of trying.