We help IT Professionals succeed at work.

Can you "reattach" a USB drive after safely removing without physically re-inserting?

Jsmply
Jsmply used Ask the Experts™
on
Hi Everyone,

Quick question, we are doing some troubleshooting on a box remotely and need to frequently "safely remove" the external drives and reinitialize them to test a few scenarios.  Is there anyway to have it "refind" the USB drive after safely removing without rebooting the machine?

No one is physically there on-site.  So despite the fact we are "safely removing" its never getting unplugged (hence why a restart has it show up again . . . but is just time consuming).

Thanks!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
I'm not sure if it will work or not, haven't tested it, but you could try "detecting hardware changes" in the device manager.

Commented:
I just tried it,  "detecting hardware changes" doesn't work.
It will work if you remove the device in the Device Manager rather than safely remove it. If that works for you.
Top Expert 2016

Commented:
can you reboot the machine remotely and retain success?

Author

Commented:
Yes we can. Was just looking for a shortcut to make things faster.
Top Expert 2016

Commented:
try logofff hen logon then

Author

Commented:
Tried. Didn't work.  Was just curious. We can reboot worst case. Just takes a long time to restart.
dbruntonQuid, Me Anxius Sum?  Illegitimi non carborundum.
Commented:
Hmm.

This might work

http://www.eggheadcafe.com/software/aspnet/29682755/redetect-a-usb-device-without-unplugging-and-replugging.aspx

Devcon here http://support.microsoft.com/kb/311272

However it may or may not work for you.  Googling seems to indicate you need elevated privileges for it to work.
Top Expert 2013
Commented:
you can use safelyremove program from :    http://safelyremove.com/?pid=1
it will do what you want, as you can see here :  http://www.raymond.cc/blog/archives/2009/09/07/remount-ejected-or-safely-removed-usb-device-without-unplug-and-reinsert/

other method is discussed also

Author

Commented:
Thx!