We recommend using the official IVPN software client which already includes this functionality. See the setup pages to download IVPN for your platform.

For this solution to work you need to configure OpenVPN to store your username and password (if you haven't already). To do this please follow these instructions.

  1. Click on the Windows start button and type task scheduler and click on it.
  2. On the menu bar click Action | Create task.
  3. Give the task a name .e.g "Auto-start VPN".
  4. Select Run only when user is logged on.
  5. Select Run with the highest privileges.
  6. Click on the triggers tab and click New. Select At log on and click OK - You can choose for all users or a specific user. If you have any issues you may need to set the Delay task option in the advanced settings to 30 seconds or thereabout to enable the network adapter to initialize first.
  7. Click on the Actions tab and click New. 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"
  8. Click on the Conditions tab and clear any boxes which are checked.
  9. Click OK. The task should now be created and will connect to the named VPN connection everytime the system starts up.