Tuesday, September 5, 2017
Simple VPN autoconnect for Windows 8 and 10
Simple VPN autoconnect for Windows 8 and 10
Since Windows 7, for some reason VPN support in new Windows versions has annoyingly decreased in quality. You cant create shortcuts to VPNs on the desktop or in the start menu anymore; you cant set up a VPN connection to automatically connect on start up; and with Windows 10 there is even a bug (at the time of writing this article) that makes you click on another connection item in the list before the Connect button appears.
The simplest way to achieve automatic VPN connection on computer start-up is to create a batch/cmd file with the following command:
rasdial "VPN Connection" username password
Where:
- rasdial is the name of the command-line utility that will perform the connection
- replace "VPN Connection" by the actual name of the VPN connection
- replace username by your actual VPN user name
- replace password by your actual VPN password
If you want the VPN connection to be started when you log on, simply place this batch script into your startup folder: press Win+R to run shell:startup, this will open a folder in which you can place programs or shortcuts to be ran on startup.
download file now
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.