Windows : How to enable multiple server profile on OpenVPN client

By | June 14, 2016

As a long time OpenVPN user, the major annoyance I faced with this software is obviously the inflexible behaviour of the Windows client, which is just fine if you are running/connecting to a remote server.

However, if you are actively managing thousand servers and networks, you may end up at some point having the need to connect to more than one! OpenVPN allow switching servers, but you usually have to visit the servers WebUI portal to make this happen (true time consuming and major inconvenience… for me at least!)

In the latest versions of the client, it appears that the Mac OSX version store the server profile history which is a really good news! However, it appear that this feature is disabled by default on the Windows client. Fortunately there is a way to make this happen, just follow these easy steps :

1. Open the Command Prompt with elevated privileges.

2. Browse to the following path :

cd "c:\Program Files (x86)\OpenVPN Technologies\OpenVPN Client\core"

3. Enter the following command :

capicli -k basic_client -v false SetPreference

NOTE : This command basically tell the client to enable multi-profile behaviour and enable manual entry of servers profile as well.

4. You will now have to close the client from the taskbar icon aside the clock and open it again.

COMPATIBILITY : This procedure has been tested with OpenVPN client v2.1.1.101 on Windows 7 and 10.