OpenVPN for Windows 7
  • 10 Jun 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

OpenVPN for Windows 7

  • Dark
    Light
  • PDF

Article summary

Unattended installation

If you want to install OpenVPN on Windows 7 silently, there are some extra steps you have to take.

Prerequisites

  • TAP-Windows Provider Network Adapters - Normally, when you install OpenVPN, you get an extra popup to allow the installation of this software. If you don’t install it, the unattended installation will fail.

driver

  • TAP-Windows Provider Network Adapters Certificate - You must install or inject this certificate. You can obtain this certificate on a Windows 7 machine where OpenVPN is installed.

Exporting the TAP-Windows Provider Network Adapters Certificate:

  1. Install OpenVPN on a test machine or VM.
  2. Start certmgr.msc.
  3. Locate the OpenVPN certificate in the Trusted Publishers > Certificates section.
  4. Double-click the ‘OpenVPN’ certificate.
  5. Click the Details tab.
  6. Click Copy to file.
  7. Accept the Wizard defaults and choose a location and filename for the certificate.
  8. Copy the .cer file to a save place outside the test machine.

openvpn1

Importing the TAP-Windows Provider Network Adapters Certificate:

On the machine or image where you want the certificate installed, open an elevated command prompt and type:

certutil -addstore TrustedPublisher [drive]\[path]\[certificate] 

Example: certutil -addstore TrustedPublisher c:\test\openvpn.cer

When the certificate is successfully installed the following message will be displayed:

commandprompt

You can now do a silent install of OpenVPN.

Further reading

OpenVPN Resource Center


Was this article helpful?

What's Next