0

In win 10 settings window I can click and connect.

rasphone -d "MyConnectionName"

however ends up with:

Custom script (to update your routing table) failed (8007026f).

0

1 Answer 1

0

This problem might occur if you are trying to open the point-to-site VPN connection by using a shortcut.

Solution: directly connect from a Windows VPN client via UI.

If you want to connect it automatically, try the following PowerShell Commands from this answer.

rasphone  "vNet_GET-CMD"
$wshell = New-Object -ComObject wscript.shell;
$wshell.AppActivate('Network Connections')
Sleep 2
$wshell.SendKeys('~')
Sleep 2
$wshell.SendKeys('~')

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.