tapctl fails to reinstall TAP adapter if uninstalled via Windows Device Manager
Open
@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
- install tap adapter using cmd (admins right) and command:
tapctl.exe create --name "VPN" - remove this adapter through windows device manager
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.