18
3
After I use the 'Safely Remove Hardware' notification area widget, how do I get Windows to re-attach a USB device (i.e. a USB drive) without having to unplug and plug it in again?
18
3
After I use the 'Safely Remove Hardware' notification area widget, how do I get Windows to re-attach a USB device (i.e. a USB drive) without having to unplug and plug it in again?
9
Check the RescanDevices (ZIP file) tool at this Drive Tools for Windows page.
When an IDE or SATA drive has been prepared for safe removal it can be brought back by a scan for new hardware. That's what this tool initiates.
It is a non interactive, invisible Windows application. It does the same as Microsoft's tool DEVCON when called with parameter 'rescan'.
There are some other good notes and tools at that page.
6
Device reconnected.
6
It was answered it on Server Fault a while ago! My answer was -
If you use eject instead of safely remove, it unmaps the drive and kills all open handles (and displays the popup saying it is safe to remove), however the device is still present. You can then go to Device Manager and disable followed by enable the flash drive, and it should remap itself.
I can not guarantee, but I assume the same should work for safely remove - however if it does actually remove the device, you should be able to readd it by going to device manager, right clicking on the computer object and click scan for new hardware.
You can also try a utility called DEVCON.
In Windows 10, detecting an ejected stick is a bit tricky, as there is no yellow exclamation mark on the USB Mass Storage Device. One thing to go on is the location in Properties>General. Fine as long as it is not the one with the 30 digit address, but not if there is more than one stick connected, – Laurie Stearn – 2019-10-06T04:51:09.243
0
Try to go to Device Manager, disable the USB driver, wait a few seconds, and then enable it again.
Also check the article How Do I Force Windows to Remove and Re-detect a USB Device?.
0
Or just uninstall the USB device in Device Manager - the run 'Scan for hardware changes'.
2Gave this a go and it doesn't seem to do anything. I also downloaded the MS DEVCON tool and devcon rescan doesn't re-attach the drive. – Kev – 2009-08-29T16:11:02.067
I had a different problem: after a while, my windows 7 failed to see my external usb drive, which was still plugged in. The RescanDevices tool found it in a matter of seconds, but I wonder why did the problem occur in the first place. – Chiffa – 2013-10-13T20:02:58.020