Run as a service not working

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
mrjohn
OpenVPN User
Posts: 15
Joined: Thu Apr 04, 2019 7:24 am

Run as a service not working

Post by mrjohn » Mon May 13, 2019 10:26 am

Hi
I've setup a OpenVpn server with automatically start service on a Windows server 2012.Client connection works too, but If the main system is restarted(windows update,etc) and let it into user login window the client can't connect until a login is done on server.
how to fix that?
thanks

mrjohn
OpenVPN User
Posts: 15
Joined: Thu Apr 04, 2019 7:24 am

Re: Run as a service not working

Post by mrjohn » Wed May 15, 2019 11:48 am

Solved creating a windows task for **openvpn-gui.exe** arguments: **--connect "config.ovpn"**
on task check 'user logged in or not' and trigger: at startup

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 5873
Joined: Fri Jun 03, 2016 1:17 pm

Re: Run as a service not working

Post by TinCanTech » Wed May 15, 2019 1:22 pm

The openvpn service works perfectly fine for me.

Post Reply