Skip to content

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

Open
@DrBrown777

Description

@DrBrown777

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions