Auto Connect on Windows Startup

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
jahanzeb8816
OpenVpn Newbie
Posts: 2
Joined: Thu Jan 04, 2024 9:31 am

Auto Connect on Windows Startup

Post by jahanzeb8816 » Thu Jan 04, 2024 10:15 am

i need to configure OpenVPN gui on windows startup, what is happening with me that the gui does auto starts but not connected until manually clicked.
how to setup auto connection?

marioalemao
OpenVpn Newbie
Posts: 1
Joined: Wed Feb 07, 2024 6:11 pm

Re: Auto Connect on Windows Startup

Post by marioalemao » Wed Feb 07, 2024 6:12 pm

in a .bat file

cd\
cd c:\Program Files\OpenVPN\bin
openvpn-gui.exe --connect NAME.OVPN
cls

Post Reply