DCHU driver

Category: windows hardware wdk and driver development

Question

its_me_here on Tue, 21 Aug 2018 18:48:54


We have a a driver that is DCHU compliant. It is a tightly coupled design where the component INF is added by CopyINF directive. Using the component INF we are installing a Windows service.  We are installing the base and extension separately; Base followed by extension. We have seen that when we uninstall the base the extension from Device Manager, extension  is also removed(from Software Components node) which is OK. When we restart the machine after this, it is seen that the extension is re-installed. Is this expected behavior? Is there any way to delete the extension driver permanently when base driver is uninstalled? We understand that this is because, the extension and component still remain in driver store even after base is deleted, and the extension can be explicitly deleted using Pnputil directive from driver store. Is there any directive to accomplish this via INF or otherwise so that it is deleted permanently from drive store when base is uninstalled?  

Replies

Doron Holan [MSFT] on Tue, 21 Aug 2018 18:58:14


This is by design.  Device manager does not manage extension INFs.

its_me_here on Wed, 22 Aug 2018 05:28:45


Thanks Doron, for your reply. Could you please tell if there is any other method to remove  extension from outside not only via Device Manager?