The installation begins by downloading the OpenVPN software. The OpenVPN client application for Windows can be found on the OpenVPN download page. Choose the appropriate installation version for the Windows version. Note: OpenVPN needs administrative rights to be installed.
After installing OpenVPN, copy the .ovpn file to:
When you launch OpenVPN, you will automatically see the profile and make it available.
OpenVPN must be run as administrator every time it is used, even by accounts set by default as administrative. To do this, without having to right-click and select Run as administrator each time you use VPN, you can preset this action, but this must be done from an administrative account. This also means that standard users will have to use the administrator password to use OpenVPN. On the other hand, standard users cannot properly connect to the server unless the OpenVPN client application has admin rights.
To set the OpenVPN application to always run as an administrator, right-click the shortcut icon and go to Properties. At the bottom of the Compatibility window, click the Change settings for all users button. In the new window, select Run this program as an administrator.
How to connect using OpenVPN
Each time you open the OpenVPN GUI, Windows will ask if you allow the program to make changes to your switch. Click Yes. Launching OpenVPN puts the application within reach of the system so that the VPN can connect and disconnect as needed; it does not actually make the VPN connection.
Once OpenVPN has started running, initiate a connection in the system, right click on the OpenVPN icon. This will open the menu. Select client from the menu (this is client.ovpn profile) and select Connect.
A window will open that will display the outputs while the connection is established, and a message will show once the client is connected.
Log out of the VPN in the same way: Go to the application, right click on the icon of the OpenVPN application, select the client profile and click on Disconnect.