Openvpn – Can OpenVPN run and connect on startup

automationopenvpnstartupwindows 7

I just set up an OpenVPN Server on an Amazon EC2 Instance. Now I want the client (me in this case) to connect to the server when my computer boots.

I have read that it can be done by modifying a registry entry, but all the things I found apparently do not apply to Win7 (Which I am currently running), so all of the registry entries they mention are not in my registry.

Maybe some command line entries on startup to launch the GUI and connect?

Any help would be greatly appreciated.
Thank you!

Best Answer

I don't know about launching the GUI, but it will connect automatically if run as a service.