Run as a service not working

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

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 Newbie
Posts: 18
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 Newbie
Posts: 18
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

TinCanTech
OpenVPN Protagonist
Posts: 11137
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