views:

356

answers:

2

Dears,

After selecting "Safe Remove" option in windows system tray, is there any way that I can re-detect my Flash by a code, without plug it out and again inserting it to the computer USB port?

Best Regards

+7  A: 

You can look at re-scanning the system for devices. Test this with Microsoft's devcon tool (this demonstrates SetupAPI and CfgMgr32 functionality). The source code for the tool is available in the Windows DDK.

Kris Kumler
A: 

The program "USB Safely Remove" do that and more. But is shareware.