Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for windows 10 VPN connection problems "parameter is incorrect" error #1051

Closed
alexmelSC opened this issue Aug 6, 2018 · 54 comments
Closed

Comments

@alexmelSC
Copy link

Hi,

Solved this issue myself but saw no mention on here.

I recently moved to a new server where I have Algo VPN but kept getting a weird error "parameter is incorrect" when connection to it.

SOLUTION:

If you install the Windows 10 ps1 file (as noted in the installation instructions) and when you try to connect is says "parameter is incorrect" then so the following:

  1. Clear the Networking caches

Run windows cmd window (click windows start menu, type 'cmd', right click on 'Command Prompt' and select "Run as Administrator").

type command below
netsh int ip reset

then type
netsh int ipv6 reset

then type
netsh winsock reset

Restart your computer.

  1. Reset Device Manager adaptors

    Open Device Manager
    Find Network Adapters
    Uninstall WAN Miniport drivers (IKEv2, IP, IPv6, etc)
    Click Action > Scan for hardware changes
    The adapters you just uninstalled should come back

The VPN connection then works.

Hope this helps someone.

@nerrons
Copy link

nerrons commented Sep 18, 2018

Worked like a charm. Thank you dguido.

@saadat99
Copy link

It works but is there an easier fix? I don't like to do this on all my machines
What causes this issue?

@trottit
Copy link

trottit commented Feb 1, 2019

Parameter Incorrect is a problem I have and followed the fix instructions.Still getting the same message and starting to come to the conclusion that there is a corrupt file on the system.Any ideas from any one who has been tormented from this would be greatly appreciated. In the meantime good luck and keep up the brilliant work.Kind regards to you all.

@soulmercy
Copy link

Parameter Incorrect is a problem I have and followed the fix instructions.Still getting the same message and starting to come to the conclusion that there is a corrupt file on the system.Any ideas from any one who has been tormented from this would be greatly appreciated. In the meantime good luck and keep up the brilliant work.Kind regards to you all.

First problem I meet is modem problem. I first click the "reset network" in Setting -> Network and then restart PC, but problem turn to same with you(Parameter Incorrect). Then I tried this solution, after 1st step, the problem still occur. But after 2nd step the problem finally resolved.

@minblock
Copy link

It truly does

@1337331
Copy link

1337331 commented Mar 29, 2019

This is useful to me, thank you.

@teadrinkingbear
Copy link

AWESOME! Just signed up to thank you! This was so struggling as malfunctioning VPN is equivalent to death in China. You are my savior and make my day.

@kylekoren
Copy link

You are a godsend! Thank you so much!

@BrandX3
Copy link

BrandX3 commented Jul 13, 2019

Thanks!

@mushroomcaps
Copy link

@alexmelSC registered just to say thanks! After spending an hour trying to mirror my desktop to my laptop (which worked fine) and spending a few minutes with IPVanish chat support to no avail, I finally stumbled across this thread and lo and behold... it worked! Big thank you to you. Much appreciated.

@SerenityFire
Copy link

Great Thank you :)

@MohammadBnei
Copy link

Thanks !

@641bill
Copy link

641bill commented Oct 12, 2019

Absolute genius!!! Many thanks, finally solved this : )

@davidlemaitre
Copy link

Thanks from 2020

@andyarcha
Copy link

Thank you so much. I have been on hours trying to get this working. Your post has made me so happy!!!!!!!

@wkj954
Copy link

wkj954 commented May 9, 2020

Adding one more vote of thanks...just tried this after a lot of time wasted on other efforts and this worked immediately...thumbs up!

@rajagangavarapu1
Copy link

Thank you so much , it helped a lot

@rwperkinsjr
Copy link

Banging my head against the wall with this until I found your instructions. Boom, connection on every protocol now. After days of looking you saved me... thank you.

@rchinnuraj
Copy link

Thank you very much!! it's worked!!

@b4ku
Copy link

b4ku commented Jun 14, 2020

I made a Github account just to say that this worked great for me. Thanks bro

@Peanut-88
Copy link

Thanks a lot !

@rajthampi
Copy link

Thank you! I had many troubles post KB4557957 (Windows 10 v 2004) & one of them was connecting to work VPN on IKEV2. Man, don't have words to appreciate your tip. I'm a developer, got three different database technologies, half dozen development tools installed and configured...and was going to format the goddamn thing & landed on your solution!

@vvillagra
Copy link

Thanks!!!! I was thinking also of reinstalling everthing! It works perfectly!

@humberto-garza
Copy link

Worked like a charm! Thank you!!!

@aci20
Copy link

aci20 commented Aug 26, 2020

I love you. Thanks!

@jwkunz
Copy link

jwkunz commented Sep 1, 2020

Worked for me. Thanks!

@oppalla
Copy link

oppalla commented Oct 13, 2020

I had this issue, nothing related to algo, but you just save me a lot of time, after some wrong troubleshooting. thanks so much mate!

@nirav4119
Copy link

Thanks Man, this helped

@erwincadenas
Copy link

You have my gratitude! I hope you're doing well

@alexmelSC
Copy link
Author

I am genuinely surprised people still find this useful. Merry Christmas all.

@xholicka
Copy link

xholicka commented Jan 5, 2021

Helped again. Thx.

@RookieZoe
Copy link

Very useful note, thanks bro.

@ghost
Copy link

ghost commented Jan 8, 2021

Thanks.

Microsoft humor strikes yet again,

@pojusoi
Copy link

pojusoi commented Feb 4, 2021

Made my VPN working - great

@Dopewaffl3
Copy link

Thank you so much for updating this and telling us your solution! The first one helped my overall internet speeds and the 2nd set of steps actually fixed my VPN. Thank you so much!

@Hannes-Kruger
Copy link

Thanks for sharing

@rubert-lab
Copy link

Thanks from 2021!

@Tomah27
Copy link

Tomah27 commented Sep 24, 2021

Thanks :)

@norbertroamsys
Copy link

norbertroamsys commented Nov 9, 2021

@alexmelSC : You made my day 👍.
One remark: My first try was to only delete the WLAN Miniport drivers that are relevant for me: IKEv2 and PPPOE.
This was not sufficient: After removing all WLAN Miniport drivers both protocols work again.
Thanks again!

@T-Six
Copy link

T-Six commented Nov 12, 2021

Thanks! 🙏

@Beckwithi
Copy link

Beckwithi commented Nov 18, 2021

Thanks for your post, "The parameter is incorrect." error had me baffled with Microsoft's AO VPN, I'd tried so many things and I'd got to the stage of almost giving up and rebuilding my computer (Windows 10 20H2 Enterprise). I'd already tried to uninstall and reinstall the IKEv2 WAN Miniport, but seeing your post I also uninstalled IP and IPv6 and hey presto, no reboot, Device and User Tunnels now connecting and back on AO VPN.

Thanks...

Reset Device Manager adaptors

Open Device Manager
Find Network Adapters
Uninstall WAN Miniport drivers (IKEv2, IP, IPv6 etc) <- I only needed to do IKEv2, IP and IPv6.
Click Action > Scan for hardware changes
The adapters you just uninstalled should come back

@MemnoCh242
Copy link

Did not work for me, unfortunately. :(
But I found another solution in https://serverfault.com/a/965275. So maybe you could add that.

@blazejwiecha
Copy link

Works well . Thank You

@JustoStyle
Copy link

Works perfect. Thanks!!!

@kshigapov
Copy link

kshigapov commented Jan 28, 2022

For those, who still get error 87 after clearing networking caches, check that Internet Connection Sharing ICS service is running.

@pl-barba
Copy link

It works, thank you so much.

@tomsarduy
Copy link

man, you just saved me from a mental health institute

@JuanjoTarditi
Copy link

You're still saving people's lifes, man! Step 2 worked for me. Thank you very much!

@Swipe650
Copy link

Swipe650 commented Jun 8, 2022

Thanks, you just saved me a long drive to the office

@ProfessionelNoob
Copy link

Still works like a charm!

@ishrarg
Copy link

ishrarg commented Jul 20, 2022

Thanks, this works for me. I spent 2 hours to find the issue. But I fixed it in 5 minutes by your solution. God bless you.

@abmdev86
Copy link

abmdev86 commented Aug 2, 2022

This helped me as well.. Crazy that this is been a 3 year issue? Thanks for the advice!

@trailofbits trailofbits locked and limited conversation to collaborators Aug 2, 2022
@jackivanov jackivanov converted this issue into discussion #14504 Aug 2, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests