Page 1 of 1

Using command line for configuration

Posted: Tue Sep 21, 2021 3:45 pm
by fillot
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

Re: Using command line for configuration

Posted: Thu Sep 23, 2021 11:16 am
by openvpn_inc
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

Re: Using command line for configuration

Posted: Thu Sep 23, 2021 6:55 pm
by fillot
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.