Help Center
Windows - How do I configure OpenVPN to start automatically?
For this solution to work, you need to configure OpenVPN to store your IVPN Account ID (if you have not done so already). To do this please follow these instructions.
-
Click on the Windows start button and type
Task Schedulerand click on it. -
On the menu bar click
Action|Create task. -
Give the task a name e.g. “Auto-start VPN”.
-
Select
Run only when user is logged on. -
Select
Run with the highest privileges. -
Click on the
Triggerstab and clickNew. SelectAt log onand clickOK- You can choose for all users or a specific user. If you have any issues you may need to set theDelay taskoption in the advanced settings to 30 seconds or thereabout to enable the network adapter to initialize first. -
Click on the
Actionstab and clickNew. Enter the program and argument as below according to your installation. The path must be correct and you must specify the name of the config file you wish to connect to.Program: "C:\Program Files\OpenVPN\bin\OpenVPN-Control-Centre.exe" Argument: --config_dir "C:\Program Files (x86)\OpenVPN\config" --connect "iVPN - Singlehop - Netherlands.ovpn" -
Click on the
Conditionstab and clear any boxes which are checked. -
Click
OK. The task should now be created and will connect to the named VPN connection every time the system starts up.
Related Articles
- Windows - My IP address doesn't change when connected, why?
- Windows Defender SmartScreen prevents the installation of IVPN app. Why?
- Windows - "DNS Cannot be resolved"
- Windows - "All TAP-Win32 Adapters in Use" error
Still have questions?
Get in touch and we'll get back to you in a few hours.
Contact supportInterested in privacy?
Read our latest privacy news and keep up-to-date on IVPN services.
Visit IVPN Blog