Missing Eject USB Drive Tray Icon

Include this in the big list-o-reasons why I end up getting out of the house later than I like!

I went to "Safely Remove" my USB HDD this morning, and whoa... the tray icon is gone! hmmm... so I open up Computer Managment Console and rat around but can't find anything EXACTLY like that.

I thought about rebooting to see if I got it back, but the box rebooted during the night for some reason... probably an update... and it didn't come back after that, so I figured what they heck, I can probably find out how to do this faster than a reboot... I'm a trained professional after all!

Since I had already exhausted finding anything that looked like "Safely Remove" or "Eject", I tried "Uninstall" on the USB drive. That seemed to work... took it out of the list of drives, but the light was still on, and this device normally turns the light off when it's ready to go, so now what?

Google to the rescue as usual. I found instructions on this site, and I will repeat them here, but wanted to give credit :) ... and the reason I'm re-listing this here is it took me much longer than a reboot to find this, so I figured what the heck, another link in the interweb couldn't hurt.

What you want to do is run this:

"%windir%\system32\rundll32.exe shell32.dll,Control_RunDLL hotplug.dll"

No idea if this works on anything other than XP Pro, but what I did was navigate to C:\Windows\system32, made sure rundll32.exe was actually in that folder, then opened a command prompt in that folder and ran:

"rundll32.exe shell32.dll,Control_RunDLL hotplug.dll"

directly from there just to make sure. Either way should work. In the link I quoted above, George Barrowcliff suggests making a shortcut for this on your desktop. I think I'll make one and put it in a folder along witht he replacement showdesktop one I did 2 weeks ago for when things go a little weird.

Oh... and yes it not only worked, but after it finished shutting down my drive, it kindly left an icon in my system tray!

Stay in the 'Light!

posted @ Thursday, September 11, 2008 9:39 AM

Print

Comments on this entry:

# re: Missing Eject USB Drive Tray Icon

Left by josh at 9/11/2008 11:37 AM
Gravatar
did you try right-clicking the drive in explorer? no idea if that would have worked, but it would have been one of the things I would have tried.

# re: Missing Eject USB Drive Tray Icon

Left by Dave at 9/11/2008 12:28 PM
Gravatar
Yeah... I tried that... right-click, properties, but didn't give me an eject option or anything... forgot about that!

# re: Missing Eject USB Drive Tray Icon

Left by Neil at 9/23/2008 3:26 AM
Gravatar
My removable drive is not visible in hotplug.dll either although the drive works just fine. So I still can't eject it. Nor do I get the tray icon back.

# re: Missing Eject USB Drive Tray Icon

Left by Philippe at 12/11/2008 5:12 PM
Gravatar
You, Sir, just made my day ...

# re: Missing Eject USB Drive Tray Icon

Left by Lord Vader at 12/23/2008 7:07 PM
Gravatar
Thanks for this. Weird that this has happened though. I'm kind of glad that this was not only an isolated incident. Thought I was loosing my marbles. Good ol' Micro$oft for ya.

Now, I understand the shortcut, but is there a way that this can be incorporated into a batch file and then placed into the windows startup commands?

# re: Missing Eject USB Drive Tray Icon

Left by Dave at 1/6/2009 10:10 PM
Gravatar
Lord Vader...

I'm thinking you could do that on startup, but unless you also had a script that checked for the pre-existence of the shortcut and then bypassed the setup of a new one, that you'd run the risk of having another one for every time you boot :)

-Dave

# re: Missing Eject USB Drive Tray Icon

Left by rm at 2/6/2009 5:48 AM
Gravatar
It helped me too!! It worked as expected. Thought my WD hard disk light still glows a bit.

Thank you

# re: Missing Eject USB Drive Tray Icon

Left by SuperDave at 2/8/2009 6:47 PM
Gravatar
This is one of those annoying things that Windows throws at you every so often. As you suggested, I pasted the text you supplied into a text editor and saved it as "Eject.bat" and put a shortcut to that file on my desktop, in case this strange problem re-occurs.

Thanks for the handy tip!

# re: Missing Eject USB Drive Tray Icon

Left by Scott at 2/27/2009 9:18 PM
Gravatar
Very nice tip. Here's another way of accomplishing it, though it takes a bit more time: log off your account. That's right, don't restart or shut down, log off, then log back in. Voila: the icon will be in your tray again.

But I like your way better. I just went to the Start menu, selected "Run..." and pasted your command into it. Done. Really slick, and I thank you.

Your comment:



 (will not be displayed)


 
 
 
 
 

Live Comment Preview:

 
«November»
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345