How can we help you?

Topics

How to put OpenVPN on your command path on Windows

Windows 10 and Windows 8

  1. In Search, search for and then select: System (Control Panel)
  2. Click the Advanced system settings link.
  3. Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist, click New.
  4. In the Edit System Variable (or New System Variable) window, specify the value of the bin folder in the OpenVPN installation location, by default, it is C:\Program Files\OpenVPN\bin. Click OK. Close all remaining windows by clicking OK.
  5. Reopen Command prompt window, and run this command to check if OpenVPN works:
    openvpn --version.

Windows 7

  1. From the desktop, right click the Computer icon.
  2. Choose Properties from the context menu.
  3. Click the Advanced system settings link.
  4. Click Environment Variables. In the section System Variables, find the PATH environment variable and select it. Click Edit. If the PATH environment variable does not exist, click New.
  5. In the Edit System Variable (or New System Variable) window, specify the value of the specify the value of the bin folder in the openvpn installation location, by default it is C:\Program Files\OpenVPN\bin. Click OK. Close all remaining windows by clicking OK.
  6. Reopen Command prompt window, and run this command to check if openvpn works:
    openvpn --version
Was this article helpful?
Thanks!