Can't install on windows 10 x64 using newer installers.
The latest installer that works for me is openvpn-install-2.4.12-I601-Win10.exe (https://swupdate.openvpn.org/community/releases/openvpn-install-2.4.12-I601-Win10.exe) When I try to install openvpn using newer installers starting from 2.5 I get this error:
And then this (after clicking "ok")
I uninstalled openvpn 2.4.12 and had no virtual network drivers installed before trying to install 2.5 and newer
It is impossible to say what is wrong without seeing logs. I suggest to remove all remains of tap/wintun drivers and try again. Run following commands into administrative powershell (adjusting IDs):
- Find all devices that use TAP-Windows6 driver (see Instance ID values)
PS C:\Users\lev> pnputil /enum-devices | Select-String "TAP-Windows Adapter" -Context 1,6
Instance ID: ROOT\NET\0000
> Device Description: TAP-Windows Adapter V9
Class Name: Net
Class GUID: {4d36e972-e325-11ce-bfc1-08002be10318}
Manufacturer Name: TAP-Windows Provider V9
Status: Started
Driver Name: oem17.inf
Instance ID: ROOT\NET\0003
> Device Description: TAP-Windows Adapter V9 for OpenVPN Connect
Class Name: Net
Class GUID: {4d36e972-e325-11ce-bfc1-08002be10318}
Manufacturer Name: TAP-Windows Provider V9 for OpenVPN Connect
Status: Started
Driver Name: oem36.inf
- Remove those devices:
PS C:\Users\lev> pnputil /remove-device root\net\0000
Microsoft PnP Utility
Removing device: root\net\0000
Device removed successfully.
- Do the same with wintun:
PS C:\Users\lev> pnputil /enum-devices | Select-String "wintun" -Context 1,6
Instance ID: ROOT\NET\0001
> Device Description: Wintun Userspace Tunnel OpenVPN/openvpn-gui#16
Class Name: Net
Class GUID: {4d36e972-e325-11ce-bfc1-08002be10318}
Manufacturer Name: WireGuard LLC
Status: Started
Driver Name: oem205.inf
PS C:\Users\lev> pnputil /remove-device root\net\0001
Microsoft PnP Utility
Removing device: root\net\0001
Device removed successfully.
- Find all instances of TAP-Windows6 drivers (see Published Name value):
PS C:\Users\lev> pnputil /enum-drivers | Select-String "TAP-Windows Provider V9" -Context 1,10
PS C:\Users\lev> pnputil /enum-drivers | Select-String "TAP-Windows Provider V9" -Context 2,5
Published Name: oem17.inf
Original Name: oemvista.inf
> Provider Name: TAP-Windows Provider V9
Class Name: Network adapters
Class GUID: {4d36e972-e325-11ce-bfc1-08002be10318}
Driver Version: 04/27/2023 9.26.0.0
Signer Name: Microsoft Windows Hardware Compatibility Publisher
- Delete those drivers:
PS C:\Users\lev> pnputil /delete-driver oem17.inf
- Repeat for wintun drivers:
PS C:\Users\lev> pnputil /enum-drivers | Select-String "wintun" -Context 2,5
Published Name: oem205.inf
> Original Name: wintun.inf
Provider Name: WireGuard LLC
Class Name: Network adapters
Class GUID: {4d36e972-e325-11ce-bfc1-08002be10318}
Driver Version: 12/10/2019 0.8.0.0
Signer Name: Microsoft Windows Hardware Compatibility Publisher
PS C:\Users\lev> pnputil /delete-driver oem205.inf
- Install the latest OpenVPN-GUI and collect logs:
msiexec /i OpenVPN-2.6.4-I001-amd64.msi /L*V install.log
- If you still experience issues, paste the log here.
It's still throwing an error for me. You want install.log, correct?