При запуске OpenVPN сервера или подключения из клиента OpenVPN вы можете столкнуться с ошибкой:
All TAP-Windows adapters on this system are currently in use Exiting due to fatal error
Или
All wintun adapters on this system are currently in use or disabled
Или
No TAP Adapter Available
Вы можете увидеть эту ошибку логе OpenVPN сервера (файл C:Program FilesOpenVPNlogopenvpn.log) или в клиенте OpenVPN GUI/
Это известная ошибка, связанная с тем что в Windows не установлены или некорректно работают виртуальные сетевые адаптеры TAP или wintun.
В OpenVPN 2.5+ вместо сетевых адаптеров TAP можно использовать WinTun от разработчиков WireGuard. По словам разработчиков, wintun драйвер работает быстрее чем классический OpenVPN драйвер TAP. Вы можете выбрать какой сетевой драйвер использовать при установке OpenVPN (TAP-Windows6 или Wintun).
Чтобы исправить эту ошибку нужно выполнить один из следующих шагов (расположены в порядке от самого простого к самому сложному):
- Перезапустить TAP-Windows/WinTun через панель управления.
- Переустановить драйвер TAP-Windows/Wintun;
- Создать новый сетевой адаптер для OpenVPN (или другого VPN клиента)
Выведите список всех TAP адаптеров, доступных клиенту OpenVPN:
cd "c:Program FilesOpenVPNbin"
“C:Program FilesOpenVPNbinopenvpn.exe” --show-adapters
В нашем случае установлен как Wintun, так и TAP адаптер:
'OpenVPN Wintun' {1199219C-C5AD-4722-B195-C80332101710} wintun 'OpenVPN TAP-Windows6' {9C6B25CA-0AF0-4752-AD4A-032947F6A6FD} tap-windows6
Для устранения ошибки обычно достаточно включить и отключить TAP адаптер в панели управления Windows, перезагрузить компьютер или переустановить клиент OpenVPN.
Вы можете включить и отключить сетевой адаптер WinTap из панели управления ncpa.cpl. Щелкните в панели управления по нужному адаптеру (TAP-Windows или Wintun Userspace Tunnel) и выберите Disable. Затем включите его (Enable.)
Также вы можете перезапустить все сетевые интерфейсе OpenVPN TAP с помощью PowerShell:
$TapAdapter= Get-NetAdapter| where {$_.InterfaceDescription -like "*TAP-Windows*"}
Disable-NetAdapter -Name $TapAdapter -Confirm:$false
Enable-NetAdapter -Name $TapAdapter -Confirm:$false
Если предыдущий способ не помог, попробуйте переустановить драйвера для вашего виртуального TAP адаптера вручную
- Скачайте последнюю версию TAP драйвера для Windows здесь (http://build.openvpn.net/downloads/releases/). Например, tap-windows-9.24.7.zip или wintun-amd64-0.8.1.
- Распакуйте архив, запустите Device Manager (
devmgmt.msc
), щелкните правой кнопкой по сетевому адаптеру TAP-Windows Adapter v9 в секции Network Adapters и выберите Update driver; - Укажите путь к каталогу с драйвером TAP.
Если вы не видите в панели управления TAP-Windows Adapter V9, откройте консоль Device Manager и включите опцию View-> Show hidden device.
Если в секции Network adapters есть устройства типа unknown device, откройте его свойства, перейдите на вкладку Details и проверьте значение свойства Device instance path.
Если здесь указано ROOTNET000, значит попробуйте выполнить авматотический поиск дрвйвера или вручную укажите путь к INF файлу (например C:Program FilesOpenVPN Connectdriverstapamd64win10OemVista.inf). После этого в панели управления появится ваш TAP адаптер.
В Windows 7 драйвер TAP, подписанный с помощью SHA256, не будет работать корректно, пока вы вручную не установите обновление KB4474419.
В самых редких случаях может помочь полное пересоздание TAP/Wintun адаптера.
Перед установкой нужно удалить существующий сетевой адаптер TAP и его драйвер. Для этого запустите программу C:Program FilesTAP-WindowsUninstall.exe или просто удалите устройство из Device Manager (Uninstall device).
Для установки TAP драйвера используется утилита tapinstall.exe.
Распакуйте архив и запустите установочный файл с правами администратора.
В новых версиях OpenVPN для управления виртуальными сетевыми адаптерами используется утилита c:Program FilesOpenVPNbintapctl.exe.
Вывести список сетевых адаптеров OpenVPN:
tapctl.exe list
Удалить адаптер:
tapctl.exe delete "OpenVPN TAP-Windows6"
Создать новый адаптер TAP:
tapctl.exe create
Создать новый wintun адаптер:
tapctl.exe create --hwid wintun
Обязательно проверьте, что новый сетевой адаптер TAP-Windows Adapter появился в списке сетевых подключения в панели управления Windows (консоль ncpa.cpl
).
Также ошибка “ All TAP-Windows adapters on the system are currently in use” может возникнуть, если вы пытаетесь установить несколько OpenVPN подключений с одного компьютера. Для каждого VPN подключения нужно создать свой адаптер.
Вы можете создать дополнительный WinTap сетевой адаптер с помощью скрипта (bat файл) %ProgramFiles%TAP-Windowsbinaddtap.bat.
Или с помощью команды (в современных версиях клиента OpenVPN):
c:Program FilesOpenVPNbintapctl.exe.tapctl.exe create
В результате в панели управления появится два (или более) сетевых адаптеров TAP-Windows Adapter V9, и вы сможете одновременно установить несколько одновременных OpenVPN сессий с разными серверами.
Теперь вы можете использовать ваше OpenVPN подключение в Windows и настроить автоматическое подключение к VPN. [/alert]
- Many users reported an error stating that the TAP-Windows adapters are currently in use.
- TAP-Windows issues can be solved by using a good Virtual Private Network.
- TAP adapter errors can be fixed if you try turning them off and on again.
- One can also solve TAP adapter issues by reinstalling it entirely.
VPNs -Virtual Private Networks are services that allow users in different networks to share data. A VPN creates a secure tunnel across the Internet between the users. VPNs encrypt data to ensure privacy.
These are great tools to secure privacy and protect sensitive data. However, you can encounter problems when you are using VPNs.
BEST VPN RECOMMENDATIONS — VETTED BY OUR EXPERTS
One of them is that all TAP-Windows adapters are currently in use. Read this article to get the fixes for this issue.
Quick Tip:
Use a reliable VPN to avoid such problems from happening in the first place. We recommend ExpressVPN as it is frequently updated to avoid bugs and errors.
The VPN service uses military-grade encryption and offers unlimited bandwidth and advanced privacy features. It has 3000+ servers around the globe to bypass online censorship.
ExpressVPN
Avoid TAP-adapter problems by connecting to one of the best VPNs on the market.
How do you fix all TAP-Windows adapters on this system are currently in use?
How do I enable the TAP adapter in Windows 10 is a common question for a lot of Windows users that claim that sometimes this might be confusing.
After installing a VPN client, the TAP Adapter often shows up in Device Manager or in Network Connections and is utilized as an alias by the majority of VPN services to access the Internet privately.
Depending on how you actually installed your VPN client software you might be facing this issue while adding an additional client configuration for another connection.
Thus you might see the error message OpenVpn all TAP-Windows adapters on this system are currently in use. Fret not and follow the steps below to resolve it in a couple of minutes.
1. Disable and re-enable the TAP adapter
- Open Control Panel and go to Network and sharing center.
- Now, click on Change adapter settings.
- Find the one that says TAP-Windows adapter.
- Right-click on it and select Disable.
- Right-click on it again, but this time select Enable.
- Restart your VPN application and that’s it.
2. Update your TAP adapter drivers
- Open Device Manager.
- Find the Network Adapters section.
- Expand the list and select your TAP adapter.
- Right-click on it and select Update.
3. Reinstall TAP Windows adapter
- In Windows, right-click the Start button, select Device Manager and go to Network adapters.
- Find the TAP Windows adapter, right-click on it and click Uninstall device.
- Restart your VPN application. When it starts, it should prompt you to download and install the driver for TAP Windows adapter.
- Reinstall and the problem should be solved.
We know how important privacy and security are on the Internet. So follow our recommendation and get the best VPN solution. Download PIA VPN and don’t worry about your security anymore.
These are the fixes for all tap windows adapters are currently in use error message. Try them and let us know in the comment section which worked for you.
If you need support for Windows 7 OpenVPN Tap driver issues, check our guide on how to fix the driver unsigned error.
Hello,
I have two devices and Android phone and a Lenovo Laptop. With the Android phone I have no problems connected while the laptop give me the error in the Subject.
My Lenovo Laptop started life connected to Wifi when I originally installed OpenVPN but by the time I came to use the product I had connected it to a cable.
The same identical client script is running on both devices.
Below is the log from the laptop.
Thanks for any help.
Code: Select all
Fri Feb 02 16:51:36 2018 OpenVPN 2.4.4 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Sep 26 2017
Fri Feb 02 16:51:36 2018 Windows version 6.2 (Windows 8 or greater) 64bit
Fri Feb 02 16:51:36 2018 library versions: OpenSSL 1.0.2l 25 May 2017, LZO 2.10
Enter Management Password:
Fri Feb 02 16:51:36 2018 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Fri Feb 02 16:51:36 2018 Need hold release from management interface, waiting...
Fri Feb 02 16:51:37 2018 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Fri Feb 02 16:51:37 2018 MANAGEMENT: CMD 'state on'
Fri Feb 02 16:51:37 2018 MANAGEMENT: CMD 'log all on'
Fri Feb 02 16:51:37 2018 MANAGEMENT: CMD 'echo all on'
Fri Feb 02 16:51:37 2018 MANAGEMENT: CMD 'hold off'
Fri Feb 02 16:51:37 2018 MANAGEMENT: CMD 'hold release'
Fri Feb 02 16:51:37 2018 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Feb 02 16:51:37 2018 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Feb 02 16:51:37 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]aaa.bbb.ccc.ddd:1175
Fri Feb 02 16:51:37 2018 Socket Buffers: R=[65536->65536] S=[65536->65536]
Fri Feb 02 16:51:37 2018 UDP link local: (not bound)
Fri Feb 02 16:51:37 2018 UDP link remote: [AF_INET]aaa.bbb.ccc.ddd:1175
Fri Feb 02 16:51:37 2018 MANAGEMENT: >STATE:1517586697,WAIT,,,,,,
Fri Feb 02 16:51:37 2018 MANAGEMENT: >STATE:1517586697,AUTH,,,,,,
Fri Feb 02 16:51:37 2018 TLS: Initial packet from [AF_INET]aaa.bbb.ccc.ddd:1175, sid=a59fe692 4d588946
Fri Feb 02 16:51:37 2018 VERIFY OK: depth=1, CN=SRV-BITV2 CA
Fri Feb 02 16:51:37 2018 VERIFY KU OK
Fri Feb 02 16:51:37 2018 Validating certificate extended key usage
Fri Feb 02 16:51:37 2018 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Fri Feb 02 16:51:37 2018 VERIFY EKU OK
Fri Feb 02 16:51:37 2018 VERIFY OK: depth=0, CN=bitv2-server
Fri Feb 02 16:51:37 2018 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
Fri Feb 02 16:51:37 2018 [bitv2-server] Peer Connection Initiated with [AF_INET]aaa.bbb.ccc.ddd:1175
Fri Feb 02 16:51:38 2018 MANAGEMENT: >STATE:1517586698,GET_CONFIG,,,,,,
Fri Feb 02 16:51:38 2018 SENT CONTROL [bitv2-server]: 'PUSH_REQUEST' (status=1)
Fri Feb 02 16:51:38 2018 PUSH: Received control message: 'PUSH_REPLY,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.10 10.8.0.9,peer-id 0,cipher AES-256-GCM'
Fri Feb 02 16:51:38 2018 OPTIONS IMPORT: timers and/or timeouts modified
Fri Feb 02 16:51:38 2018 OPTIONS IMPORT: --ifconfig/up options modified
Fri Feb 02 16:51:38 2018 OPTIONS IMPORT: route options modified
Fri Feb 02 16:51:38 2018 OPTIONS IMPORT: peer-id set
Fri Feb 02 16:51:38 2018 OPTIONS IMPORT: adjusting link_mtu to 1624
Fri Feb 02 16:51:38 2018 OPTIONS IMPORT: data channel crypto options modified
Fri Feb 02 16:51:38 2018 Data Channel: using negotiated cipher 'AES-256-GCM'
Fri Feb 02 16:51:38 2018 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Fri Feb 02 16:51:38 2018 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Fri Feb 02 16:51:38 2018 interactive service msg_channel=596
Fri Feb 02 16:51:38 2018 ROUTE_GATEWAY 192.168.1.254/255.255.255.0 I=10 HWADDR=3c:97:0e:97:65:e2
Fri Feb 02 16:51:38 2018 open_tun
Fri Feb 02 16:51:38 2018 CreateFile failed on TAP device: \.Global{DCDC9D41-5B47-4108-A775-69D3B81E9A24}.tap
Fri Feb 02 16:51:38 2018 MANAGEMENT: Client disconnected
Fri Feb 02 16:51:38 2018 All TAP-Windows adapters on this system are currently in use.
Fri Feb 02 16:51:38 2018 Exiting due to fatal error
When starting an OpenVPN server or establishing a new connection using the OpenVPN client, you may encounter an error:
All TAP-Windows adapters on this system are currently in use
Exiting due to fatal error
Or:
All wintun adapters on this system are currently in use or disabled
Or:
No TAP Adapter Available
The error can be displayed in the OpenVPN server log (file C:Program FilesOpenVPNlogopenvpn.log
).
Or in the OpenVPN GUI client:
This is a known bug related to the fact that TAP or Wintun virtual network adapters are not installed or do not work correctly in Windows.
In OpenVPN 2.5+, you can use Wintun network adapter (from the developers of WireGuard) instead of the TAP adapter. According to the developers, the Wintun driver is faster than the classic OpenVPN TAP driver. You can choose which network driver to use when installing OpenVPN (TAP-Windows6 or Wintun).
To fix this error, you need to do one of the following (in order from easiest to hardest):
- Restart TAP-Windows/Wintun via the Control Panel;
- Reinstall the TAP-Windows/Wintun driver;
- Create a new virtual network adapter for OpenVPN (or another VPN client).
List all network adapters available to the OpenVPN client:
cd "c:Program FilesOpenVPNbin"
"C:Program FilesOpenVPNbinopenvpn.exe" --show-adapters
In this case, both Wintun and TAP adapters are installed:
'OpenVPN Wintun' {1199219C-C5AD-4722-B195-C80332101710} wintun
'OpenVPN TAP-Windows6' {9C6B25CA-0AF0-4752-AD4A-032947F6A6FD} tap-windows6<c/ode>
To fix the error, it is usually enough to enable and disable the TAP adapter in the Windows control panel, restart the computer, or reinstall the OpenVPN client.
You can enable and disable the WinTap adapter from the Network Connections (ncpa.cpl
). Right-click on the network adapter (TAP-Windows or Wintun Userspace Tunnel) and select Disable. Then re-enable it (Enable.)
You can also restart all OpenVPN TAP network interfaces using PowerShell:
$TapAdapter= Get-NetAdapter| where {$_.InterfaceDescription -like "*TAP-Windows*"}
Disable-NetAdapter -Name $TapAdapter -Confirm:$false
Enable-NetAdapter -Name "$TapAdapter -Confirm:$false
In rare cases, you need to manually reinstall the TAP virtual adapter. The latest TAP driver for Windows can be downloaded here (http://build.openvpn.net/downloads/releases/). For example, download the file tap-windows-9.24.5.zip.
- Download the latest TAP/Wintun driver for Windows here (http://build.openvpn.net/downloads/releases/). For example, tap-windows-9.24.7.zip or wintun-amd64-0.8.1;
- Extract the archive, open the Device Manager (
devmgmt.msc
), right-click on the TAP-Windows Adapter v9 device in the Network Adapters section and select Update driver; - Specify the path to the directory with the TAP driver
If you don’t see TAP-Windows Adapter V9 in the Control Panel, open the Device Manager console and enable the View-> Show hidden device option. If there is an Unknown Device in the Network adapters section, then try opening its properties, go to the Details tab. and check the value of the Device instance path property.
If ROOTNET000 is listed here, then try to automatically search for the driver or manually specify the path to the INF file (for example C:Program FilesOpenVPN Connectdriverstapamd64win10OemVista.inf). After that, your TAP adapter will appear in the network connections.
On Windows 7, a TAP driver signed with SHA256 will not work correctly until you manually install update KB4474419.
In rare cases, a complete re-creation of the OpenVPN TAP/Wintun adapter may help.
First, you need to remove the existing TAP network adapter and its driver. To do this, run C:Program FilesTAP-WindowsUninstall.exe or just uninstall the network adapter from Device Manager (Uninstall device).
The tapinstall.exe utility is used to add the TAP adapter and install driver.
Extract the archive and run the installation file as an administrator.
In modern versions of OpenVPN, the C:Program FilesOpenVPNbintapctl.exe tool should be used to manage virtual network adapters.
List OpenVPN network adapters:
tapctl.exe list
Remove OpenVPN virtual network adapter:
tapctl.exe delete "OpenVPN TAP-Windows6"
Create a new TAP adapter:
tapctl.exe create
Create a new Wintun adapter:
tapctl.exe create --hwid wintun
Be sure to check that the new TAP-Windows Adapter has appeared in the list of network connections in the Windows Control Panel (ncpa.cpl
console).
Also, the problem “wintun adapters on this system are currently in use
” may occur if you are trying to establish multiple OpenVPN connections from your device. You must create a separate adapter for each VPN connection.
In this case, you can create an additional WinTap network adapter using the batch file %ProgramFiles%TAP-Windowsbinaddtap.bat.
Or using the following command (in current versions of the OpenVPN client):
c:Program FilesOpenVPNbintapctl.exe.tapctl.exe create
As a result, two (or more) TAP-Windows Adapter V9 will appear in the network connections and will be able to establish two simultaneous OpenVPN sessions to different VPN servers.
You can now enable the OpenVPN connection on Windows and configure it to start on startup.
The error of No TAP Adapter Available Error On OpenVPN or All TAP-Windows adapters on this system are currently in use usually happens when the OpenVPN TAP (Network Adapter) has been disabled by you (mistakenly) or by your system.
To resolve this, please follow the steps below, please try the workaround as per below.
All TAP-Windows Adapters On This System Are Currently In Use
First of all, click on the OK button when you see Connecting to (Your VPN) has failed error.
How Do I Enable the TAP Adapter?
At the search box at the bottom left, type in Control Panel and open it.
In the Control Panel menu, click on Network and Internet.
Now, click on Network and Sharing Center
Next, click on Change adapter settings on the left side of your screen.
Find the one that is called ‘Local Area Connection XX or Ethernet XX (XX denoting a number) and that has a description of TAP-Windows Adapter V9.
If it’s disabled, right-click on it and choose Enable and you can now use OpenVPN again.
Adding OpenVPN TAP Adapter Manually
If you don’t see the TAP-Windows Adapter V9, it could have been deleted and you will need to add it back again manually.
To do so, please follow the steps below:
Windows XP, Vista & 7: Go to Start – All Programs – Tap-Windows
Windows 8, 8.1, & 10: Windows + Q, and look for Add a New Tap
Right-click on Add a New Tap Virtual Ethernet Adapter and select Run as Administrator.
If you do not have the Run as Administrator option (Windows 8, 8.1 & 10), select Open File Location, right-click on Add a New Tap Virtual Ethernet Adapter and select Run as Administrator.
Follow through the instructions and you’ll end up with the following screen:
Now, press any key on your keyboard to continue and give the VPN another try.
Note: If you are still on an older version of the OpenVPN application, you can find the tool in the location below:
Start – All Programs – OpenVPN – Utilities
Can’t Setup A TAP Network Adapter?
If you can’t find the option to add the OpenVPN TAP adapter or the installation has failed as per the error below, Please re-install OpenVPN to the latest version.
Re-install OpenVPN
We suggest that you download a free application removal tool called Revo Uninstaller. This is a great tool to remove applications, leftover files and broken registry keys.
Once OpenVPN has been removed, please scan for leftover files and registry keys. Remove them and restart your computer.
Finally, download the latest version of OpenVPN from the official website and install it on your computer.
Best Free VPN Provider
If you’re looking for a secured and trusted VPN provider, we would recommend you that you try free hide.me VPN
hide.me VPN client app supports OpenVPN in their app so you don’t need to configure the VPN connection manually and their app is so easy to use.
The free service provides the same level of protection as the paid service. They don’t keep logs of their user activities and there are no ADs!
Conclusion
Adding/re-enabling the OpenVPN TAP adapter should be pretty straight forward but often, VPN providers don’t update the OpenVPN client on their site which can lead to such issues.