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 Scheduler
and 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
Triggers
tab and clickNew
. SelectAt log on
and clickOK
- You can choose for all users or a specific user. If you have any issues you may need to set theDelay task
option in the advanced settings to 30 seconds or thereabout to enable the network adapter to initialize first. -
Click on the
Actions
tab 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
Conditions
tab 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 Defender SmartScreen prevents the installation of IVPN app. Why?
- Windows - "Warning, route gateway is not reachable"
- Windows - My IP address doesn't change when connected, why?
- Windows - How do I configure OpenVPN to save my credentials?
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