Command Line for OpenVPN Connect (Windows)?

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
stualden
OpenVpn Newbie
Posts: 1
Joined: Sun Jul 03, 2022 12:42 pm

Command Line for OpenVPN Connect (Windows)?

Post by stualden » Fri Jul 15, 2022 10:52 am

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

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1333
Joined: Tue Feb 16, 2021 10:41 am

Re: Command Line for OpenVPN Connect (Windows)?

Post by openvpn_inc » Tue Jul 19, 2022 2:51 pm

Hi,

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

Regards,
.\kionci
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

EnclustraIT
OpenVpn Newbie
Posts: 2
Joined: Thu Oct 19, 2023 4:03 pm

Re: Command Line for OpenVPN Connect (Windows)?

Post by EnclustraIT » Thu Oct 19, 2023 4:38 pm

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"

Post Reply