OpenVPN / OpenVPN/openvpn

tapctl fails to reinstall TAP adapter if uninstalled via Windows Device Manager

Open
#676 8 comments 0 reactions 1 assignee View on GitHub

@lstipakov is already working on this.

Since Dec 16, 2025.

tapctl Windows
Dominant language
C
Stars
14.6k
Forks
3.4k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

tap_create_adapter: DiInstallDevice failed
Error 0xe0000203
Creating TUN/TAP adapter failed (error 0xe0000203).

To Reproduce

  1. install tap adapter using cmd (admins right) and command: tapctl.exe create --name "VPN"
  2. remove this adapter through windows device manager
  3. try to install tap adapter again with the same command and get the error above

Expected behavior
The adapter is installed without errors

Version information (please complete the following information):

  • OS: Windows 10 (22H2) / Windows 11 (23H2 and 24H2)
  • OpenVPN version: 2.6.13

Additional context
Only cleaning the registry helps

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.