Forum Discussion
DrCyberg
Jul 29, 2023Copper Contributor
VPN Setup Problem on Windows 10 Pro
Hi Masters!
I wanted to configure the VPN profile with VPN Credentials Helper via the Powershell, but the rasdial it says the following error on Windows 10 Pro 22H2:
Remote Access error 703 - The connection needs information from you, but the application does not allow user interaction.
I noticed the following:
If I create a new IPSEC VPN connection with an empty username and password, the rasdial command displays an error when running.
But if I create the IPSEC VPN connection with a (test) username and (123456) password and then delete the username (empty) and password (empty), everything works fine, rasdial connected.
I am attaching the picture:
Is this a bug? Why doesn't it work the first time?
Thank you!
Regards: DrCyberg
- mprasannaosCopper ContributorHello Microsoft Team,
Could you please advise solution for this? do we required configure any additional details/additional access to connect via this approach? - mprasannaosCopper ContributorMay be try this, this may be helpfull to you too..
Once you have a named vpn "connection" you should be able to:
(With older rasdial that didn't require username/password args:)
rasdial your-vpn-connection-name
(Newer rasdial which requires username and password, which you saved or intended to save to the system:)
rasdial your-vpn-connection-name '' ''
Hope this helps. Good luck!