Using command line for configuration

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
fillot
OpenVpn Newbie
Posts: 3
Joined: Tue Sep 21, 2021 3:29 pm

Using command line for configuration

Post by fillot » Tue Sep 21, 2021 3:45 pm

Hello,

We're trying to use the new command line options of 3.3.1 release without success. It seems "--accept-gdpr" and "--skip-startup-dialogs" are simply ignored by the tool. If we skip manually startup dialogs and accept GDPR, we can import a profile successfully, but we would like to automate the full process from command line.

What is the good sequence of OpenVPNConnect.exe calls please ?

Thanks in advance

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

Re: Using command line for configuration

Post by openvpn_inc » Thu Sep 23, 2021 11:16 am

Hello fillot,

Prompted by this forum post we've retested the command line parameters again on Windows with 3.3.1 and it works just fine. Both of those commands result in the expected situation.

Are you perhaps not running this command under the correct user context? How are you running these commands exactly, and on what operating system?

Kind regards,
Johan
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

fillot
OpenVpn Newbie
Posts: 3
Joined: Tue Sep 21, 2021 3:29 pm

Re: Using command line for configuration

Post by fillot » Thu Sep 23, 2021 6:55 pm

Hi,

Thanks for your answer. We were able to narrow down the problem a bit today. The OS is Windows 10.
It was caused by switching between accounts for testing and OpenVPN Connect remained active (not connected though) in the first session.
If we close OpenVPN Connect in the first session, we are able to use the command line parameters in the second session and then it works correctly.

Post Reply