Page 1 of 1

Command Line for OpenVPN Connect (Windows)?

Posted: Fri Jul 15, 2022 10:52 am
by stualden
I would like to use the command line options listed here:

https://openvpn.net/vpn-server-resource ... n-connect/

Using version 3.3.6 on Windows 7, I'm not having any success, so I hope someone can straighten me out.

I'm assuming that all the "commands available" shown are actually unix-style switches, so that, for example, typing

Code: Select all

OpenVPNConnect.exe --help
at the cmd.exe prompt should provide a list of switches on the console. But in my case, it just runs the regular GUI, and ignores any switch that I provide. What am I missing?

Going through the list of switches, there are some other puzzling items as well. For example,

Code: Select all

--hide-tray
is supposed to suppress the tray icon, but when I run the regular GUI, I've never even seen a tray icon (only the regular task bar icon).

Thanks,

--Stu

Re: Command Line for OpenVPN Connect (Windows)?

Posted: Tue Jul 19, 2022 2:51 pm
by openvpn_inc
Hi,

Would recommend opening a support ticket at https://support.openvpn.com/ in order to assist you with that concern.

Regards,
.\kionci

Re: Command Line for OpenVPN Connect (Windows)?

Posted: Thu Oct 19, 2023 4:38 pm
by EnclustraIT
Was a solution found? Because I have the same issue.
In Powershell it works every 2nd try. Never in cmd.
I run both in the old conhost without Admin.

Conect client:
"build-number": "3160",
"version": "3.4.2"