I'm looking for information on whether or not there is a Windows standard way for accomplishing this?
Essentially we have a vendor who has updated their driver and devices running our software must be updated automatically.
In order to do this, we must uninstall the existing driver first (vendor requirement).
Any guidance on best practices/approach to doing so. Details of why this needs to be done are probably not important. It just needs to be done.
Also a sample would be very helpful.
Thanks
wmic sysdriver where "name=drivernamehere" call delete
The syntax above appears to be incorrect. I tried and always got "delete - Invalid alias verb" I looked up the syntax and came up with the following that appears to work:
wmic sysdriver where name="driver_name" delete
I got instance deletion successful but I have to verify whether this completely removes the driver from the system or not.