Need Ability to Uninstall Device Drivers
rarndtjr opened this issue · 2 comments
rarndtjr commented
Is there an option to "Uninstall-DeviceDriver"?
If not, are there plans to add this functionality? If not, could you please add this functionality?
Example:
Uninstall-DeviceDriver -InfFilePath C:\Drivers\LAN\acmelan.inf
Regards,
Ron
TobiasPSP commented
Ron,
I wrapped that code one day because I needed it for a project, and made it available here for anyone else to use. Your suggestion sounds reasonable, and I‘d assume it is a matter of adding the appropriate API call. I’d really love to look into this asap but to be frank, I don‘t think I‘ll find time in the next months. These github things typically are after-work sparetime projects.
Should you find a solution meanwhile, please keep me updated, and I gladly incorporate it.
rarndtjr commented
Hi Dr. Tobias,
I’m finding that clean / efficient driver uninstall via PS or other mechanism external to Windows is elusive. Maybe using DISM but this is more of a module / package removal (inf) vs “driver uninstall” per say.
Let me see if I can get MS to take a look at this and coax them into possibly providing some coding options to implement this. If I get anything, I’ll pass it on for review.
Thanks.
Regards,
Ron Arndt
From: Dr. Tobias Weltner <notifications@github.com>
Sent: Tuesday, February 16, 2021 9:20 PM
To: TobiasPSP/Modules.DeviceManagement <Modules.DeviceManagement@noreply.github.com>
Cc: Ronald Arndt Jr
Subject: [External] Re: [TobiasPSP/Modules.DeviceManagement] Need Ability to Uninstall Device Drivers (#2)
Ron,
I wrapped that code one day because I needed it for a project, and made it available here for anyone else to use. Your suggestion sounds reasonable, and I‘d assume it is a matter of adding the appropriate API call. I’d really love to look into this asap but to be frank, I don‘t think I‘ll find time in the next months. These github things typically are after-work sparetime projects.
Should you find a solution meanwhile, please keep me updated, and I gladly incorporate it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#2 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACVP7UEEIK2HICBXH3BYORDS7NGWVANCNFSM4XWSYHEQ>.