OpenVPN Portable Auto Uninstalls Virtual Network Drivers on Exit
Other than PPTP and L2TP, OpenVPN is another protocol used by most VPN companies to connect to the VPN servers. OpenVPN is an open source program that uses the OpenSSL library to provide encryption and it is extremely secure if compared to PPTP. However you will need to install the OpenVPN software in order to connect to a VPN that uses the OpenVPN protocol. During installation of OpenVPN software, the installer will prompt the user to install some drivers which may cause some users to panic. OpenVPN will have to first install a virtual network driver called TAP-Win32/64 or else it will also fail to connect to OpenVPN servers.
If you are always on the move and would only want to use OpenVPN rather than PPTP or L2TP because of secure encryption, then you can use OpenVPN Portable which simplifies the whole process of downloading, installing and configuring the OpenVPN.
With OpenVPN Portable, there is no longer a need to install the OpenVPN software on the computer anymore. After downloading OpenVPN Portable, extract to a location and copy the OpenVPN config files provider by your VPN provider to OpenVPNPortable\data\config folder. Now run OpenVPNPortable executable file as administrator and you will be prompted to install the driver.Click the Yes button and within a few seconds you will notice a new icon at the notification area. Right click on the icon and select the VPN server that you want to connect.
When you close/exit/terminate OpenVPN software, it will prompt you to uninstall OpenVPNPortable virtual network drivers which is the TAP-Win32/64 Adapter V9. If you click No, the next time you run OpenVPNPortable will not prompt you to install the driver. Clicking Yes would uninstall the virtual network driver.
OpenVPN Portable also comes with another gui called TinyOpenVPNGui. If you prefer to use this gui instead of the openvpn-gui, go to OpenVPNPortable\other\OpenVPNPortableSource folder and open the OpenVPNPortable.ini file with any text editor such as Notepad. At the second last line, change the ShowGUI=openvpn-gui.exe to ShowGUI=TinyOpenVPNGui.exe and save the changes. Copy the OpenVPNPortable.ini file to OpenVPNPortable folder.
Do take note that you need to run OpenVPNPortable.exe as admin to install the virtual network driver, or else you will get an error window saying “Error by installing virtual network drivers. Retry?”.
Hello Mr. Raymond
can u please provide us with sample of OpenVPN config files as what u had posted above
thaanx in advance
Hello Raymond
Can u provide us with samples of OpenVPN config files like what u have
Thaanx in advance
Raymond, another great article I’ll keep for reference/learning about VPN. One small point I wanted to ask about is that in the installation description, you say, “Now run OpenVPNPortable executable file as administrator and you will be prompted to install the driver.” The first display box says, “Uninstall OpenVPN Portable network drivers?” And then the instruction says to choose, “Yes.”
I’m thinking you might choose No and only say Yes if you terminate the service and want to uninstall the drivers. Sorry, I’m a newbee to all this and didn’t want to ask stupid question, but am quite interested in keeping this article.
Oops, sorry image was a mistake. You will be asked to install the drivers when you launch and uninstall when you close OpenVPN Portable.
Hi, guys. I would like to know if there is a way to bypass running the portable openvpn executable as non admin. I want to use this on a public computer which do not allow me to run the executable as ADMIN hence I cannot install the adapter.
Any suggestion ?
I don’t think that is possible because installing a driver requires administrator privileges.