openvpn icon indicating copy to clipboard operation
openvpn copied to clipboard

All ovpn-dco adapters on this system are in use or disabled

Open s-a-m-u-e-l opened this issue 1 year ago • 1 comments

OpenVpn GUI uses DCO Data Channel Offload network drives. Per connection it needs one dco.

To recreate the error uninstall all VPNs on your computer or use a clean VM then try to connect to multiple vpns that use dco Error Message: image

It maybe never is an issue if you have multiple VPNs installed like OpenVPN GUI and OpenVPN Connect and/or NordVPN

In my case i had NordVPN installed and because of this it was never an issue to have multiple connections because the seccond connection used the DCO from NordVPN image

But when you only have OpenVPN GUI installed and want to connect two vpn's you need a seccond DCO There is a weird workaround you can disable the DCO and connect your first VPN, then you enable it again and connect the seccond one. This works because it does not use the DCO then but uses the TAP-Adapter

To create a seccond dco you need to run following command: "C:\Program Files\OpenVPN\bin\tapctl.exe" create --hwid ovpn-dco --name "Local Area Connection#2"

https://www.internet-xs.de/kb/openvpn-allgemein/openvpn-auf-windows-all-tap-windows6-adapters-on-this-system-are-currently-in-use-or-disabled-57296

https://forums.openvpn.net/viewtopic.php?t=35320

to delete it: "C:\Program Files\OpenVPN\bin\tapctl.exe" delete "Local Area Connection#2" image

  • [ ] It would be very nice if openvpn automatically creates new adapters if you have multiple connections!

s-a-m-u-e-l avatar Sep 27 '24 14:09 s-a-m-u-e-l

There is a 2.7_alpha3 installer available on https://community.openvpn.net/Downloads which will create DCO adapters on demand, when needed. Please test and let us know if it works for your use cases - and if not, show us a log file where it fails.

thanks.

cron2 avatar Jul 31 '25 20:07 cron2