Location:
State:
Carrier
Country
Status

rasdial now broken in windows 10


Hi all

I have several network connections configured.

  • There is one wifi connection which automatically connects to my WLAN,
  • another cable based LAN connection to a NAS which is used for backups
  • and some L2TP connection connections (used for VPN if needed).


Is there a way to connect to these VPNs via the command line (so that I can have a "Batch" File which starts or stops this connection)? I already tried to find something but havent found a solution.

it might be that i need to install some additional windows features now i upgraded to 10 but previously this rasdial command line worked for me to do this

C:WindowsSystem32 asdial.exe "VPNname"

Hi all

I have several network connections configured.

  • There is one wifi connection which automatically connects to my WLAN,
  • another cable based LAN connection to a NAS which is used for backups
  • and some L2TP connection connections (used for VPN if needed).


Is there a way to connect to these VPNs via the command line (so that I can have a "Batch" File which starts or stops this connection)? I already tried to find something but havent found a solution.

it might be that i need to install some additional windows features now i upgraded to 10 but previously this rasdial command line worked for me to do this

C:WindowsSystem32 asdial.exe "VPNname"
Does not work here. Says there is an incorrect combination of username and/or password.
But they are working if started via control panel.

Does not work here. Says there is an incorrect combination of username and/or password.
But they are working if started via control panel.
Seems the username and password saved in control panel isnt used by rasdial in command prompt. instead you need to put the user/pass into the command line:

C:WindowsSystem32 asdial.exe "VPN" "username" "password"
use the same command with /disconnect to switch it off

C:WindowsSystem32 asdial.exe "VPN" "username" "password"
Tried this cmd but no luck:
Remote Access error 703 - The connection needs information from you, but the application does not allow user interaction.

For more help on this error:
Type 'hh netcfg.chm'
In help, click Troubleshooting, then Error Messages, then 703
What I'm doing wrong?

rasdial now broken in windows 10