Page 1 of 1

OpenVPN Connect v3 - Exit code: 0

Posted: Wed Jun 29, 2022 4:52 pm
by askiba
Hello, I use OpenVPN on all of our devices in the field. I just reimaged a device that had the VPN working on it pre-image, when the device was reimaged and I loaded the profile back onto the device the service wont start.

I use this image for all of our devices and have never had this issue before. I have tried reinstalling openVPN connect entirely to no avail. I cannot find anything on google about this error or how to fix it so I hope here I will find that help.

I am running OpenVPN as a system service. When I try to start the service through CMD it says the following:

Service not started.
Current State: 1
Exit Code: 0

If anyone has run into this and can lend me a hand that would be much appreciated.

Re: OpenVPN Connect v3 - Exit code: 0

Posted: Wed Jun 29, 2022 6:31 pm
by openvpn_inc
Hello askiba,

Try checking if file %temp%\.ovpn-connect-lockfile exists in the temp folder of the user. If so, delete it, then try again.

Kind regards,
Johan

Re: OpenVPN Connect v3 - Exit code: 0

Posted: Wed Jun 29, 2022 7:46 pm
by askiba
Thanks for the response! But there is no lock file in the temp folder for me to delete. I deleted all the temporary files anyway and I still have this same issue.

Is there anything else that I could try?

Re: OpenVPN Connect v3 - Exit code: 0

Posted: Thu Jun 30, 2022 2:48 pm
by askiba
I figured it out. Somehow my .crt file was replaced with a bitlocker recovery key. Once I installed the proper cert it works just fine.

Re: OpenVPN Connect v3 - Exit code: 0

Posted: Fri Jul 01, 2022 9:29 am
by openvpn_inc
Hello askiba,

Thanks for reporting your findings.

Kind regards,
Johan