Windows driver uninstall with DPinst not successful RRS feed

  • Question

  • I have a custom UMDF smartcard driver which I can succesfully install with DPInst:

    dpinst.exe /f mydriver.inf

    When I uninstall it:

    dpinst.exe /d /u mydriver.inf

    the default Windows smartcard driver (Microsoft Usbccid Smartcard Reader (WUDF)) fails to load afterwards. It shows the yellow exclamation and its device status says:

    The device cannot start. (Code 10)

    This behaviour occurs in all Windows versions from Vista to Windows 10.

    When I uninstall the driver through Device Manager the default driver succeeds to load afterwards and everything works fine.

    I provide the SetupAPI install and uninstall logs (C:\Windows\Inf\

    Installing: SetupAPI install log

    Uninstalling: SetupAPI uninstall log

    • Edited by Armin Bego Tuesday, November 22, 2016 3:30 PM
    Tuesday, November 22, 2016 3:27 PM