How do I make the VPN connect automatically when I start windows?
Posted by BTGuard Admin on 30 January 2013 03:50 PM
For Windows 8: https://wiki.btguard.com/index.php/OpenVPN_Startup
For Windows 7:
Please follow these instructions to have OpenVPN automatically start and connect when you start your computer.
- Add this line in Target: --connect "BTGuard (Fastest).ovpn"So it looks like this:
Target: "C:\Program Files\OpenVPN\bin\openvpn-gui.exe" --connect "BTGuard (Fastest).ovpn"
Note that you need to replace "BTGuard (Fastest).ovpn" with one of the filenames found in "C:\Program Files\OpenVPN\config" if you have made some changes in the config files or are using the CA or EU or SG config files.
If you don't have administrator privileges yourself, you'll also need to click "Advanced" and enable the shortcut to run with administrator privileges. (REQUIRED FOR WINDOWS VISTA / 7 / 8).
Close the VPN if it's running and double-click your new shortcut to see if it works properly.
The VPN should connect automatically now.
- Move the shortcut to the Startup folder:
Right-click the Start button and choose "Explore".Navigate to "Start Menu" -> "Programs" -> "Startup".