Open stampycode opened 4 years ago
So turns out the username + password are set, but the VPN auto-dialler takes several minutes to realise this. Alternatively you can open the VPN dialogue where it says "Please provide username and password", then click Cancel and it connects.
I had a look at extending the VPNCredentialsHelper to call a few more functions via C# to reload the connection, but I ran out of time...
Suggestions on a postcard!
This feels like it's probably RasDial failing - but when the VPN is configured in 'AlwaysOn' mode, the VPN is created in 'Action Needed' mode since it's created without the username/password it needs to connect.
When I try to use the VPNCredentialsHelper to set the username + password, they are silently ignored and do nothing.
Nothing I can do seems to fix this - manual intervention is always required to complete the setup...
Any suggestions?
Thanks for your efforts on this tool - extremely useful piece of work! 👍