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 is best choice for accomplishing this via command line.
wmic sysdriver where name="drivernamehere" call delete
devcon.exe is another alternative for batch.
http://support.microsoft.com/kb/311272
EDIT: Use this to get find the correct name
wmic sysdriver get name