How to programmatically unplug & replug an arbitrary USB device?

Dean picture Dean · Sep 26, 2008 · Viewed 51.5k times · Source

I'm trying to fix a non-responsive USB device that's masquerading as a virtual COM port. Manual replugging works, but there may be up to 12 of these units. Is there an API command to do the programmatic equivalent of the unplug/replug cycle?

Answer

DigitalRacer picture DigitalRacer · Apr 1, 2009

What about using Devcon.exe to "remove" and then "rescan"?

DR