Windows 10 – VPN Shortcut
When you need a quick way to connect to a VPN in Windows 10, I suggest using a desktop shortcut, or a quick launch bar one (or both, as you like).
To create the shortcut, click on any empty space on your desktop, go to New -> Shortcut, as target choose
rasphone -d “ConnectionName”
If you’ve set up the connection before, there basically is nothing else to do. Just (double-)click the shortcut and it will connect you to the VPN.
Another way would be a batch file with the following content:
@echo off
rasdial “ConnectionName”
And shortcut that one.
rasphone.pbk stores connection profiles in %userprofile\AppData\Roaming\Microsoft\Network\Connections\PBK
You can find more information on rasphone here.
More information on rasdial can be found here.
Category: Windows