Home » Questions » Computers [ Ask a new question ]

Windows 7 default VPN - Single Click to Connect

Windows 7 default VPN - Single Click to Connect

The default way to connect to a VPN (standard includedd MS client) seems to be to click on the network icon in the system tray to expand it, then pick the VPN connection, and click the connect button. This brings up a dialog where you can enter your username and password.

Asked by: Guest | Views: 103
Total answers/comments: 2
Guest [Entry]

"You can use rasphone.exe to dial a connection using stored credentials:

rasphone -d ""VPN NAME""

Hangup with:

rasphone -h ""VPN NAME""

You'll also need to go into the option tab of the properties for your VPN connection and uncheck ""Prompt for name and password, certificate, etc."""
Guest [Entry]


rasdial EntryName Username Password


rasdial EntryName /disconnect

EnteryName is name of your VPN connection"