Fix for Windows 10 VPN Connection problems “parameter is incorrect” error

If you open cmd and type rasdial devicetunnel and it comes back as Parameter is incorrect. Please follow the guide below.

Open CMD as Administrator

Next run the following commands

netsh int ip reset

netsh int ipv6 reset

netsh winsock reset

Then Restart your computer.

Then open Device Manager

You will find to find the following Network Adapters and uninstall them by right mouse clicking them and clicking uninstall.

Right mouse click the highlighted and click Uninstall IKEv2, IP, IPv6.

At the top click Action -> Scan for hardware changes

Then rerun your Device.ps1 script found on Microsoft’s website ( https://docs.microsoft.com/en-us/windows-server/remote/remote-access/vpn/always-on-vpn/deploy/always-on-vpn-deploy-deployment ).

Leave a Reply

Your email address will not be published. Required fields are marked *