How to create shortcut/hotkey combo for safely remove hardware box
Like any normal human being with a computer, you probably use your USB jacks, and according to OS market-share statistics, you're machine is probably some flavor of Windows. So you're probably familiar with having to click that annoying little icon to bring up the SRH (Safely Remove Hardware) dialog box when you need to disconnect a USB device, but it's possible to make the disconnect process a little easier. In order to create a shortcut/hotkey combo to pull up the SRH box, right click anywhere on the desktop and go to "New" then "Shortcut". Paste the text below into the box asking you, "what item you would like to create a shortcut for?"
RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll
That shortcut will open the SRH box. At this point, you can place the shortcut anywhere -- including the quick-launch bar.
In order to create a hotkey set for the shortcut, right click on its icon and go to properties. Choose the "Shortcut" tab.
Add in a hotkey set for the shortcut and it's done. Every time you press key combination, it'll open the safely remove hardware dialog box.
There's another way to go about this, though it only works for USB disks (flash and HDD). The program is the USB Disk Ejector, which runs on both XP and Vista. It's also free like this tutorial.













Comments
8
Subscribe to commentsronmosesMar 14th 2008 12:21PM
Do people actually bother with "Safely Remove Hardware"? I never have, I just unplug. Never had an issue, but maybe my life isn't as USB-intensive as some folks'.
ChristianMar 14th 2008 12:30PM
I do, last time I did that my flash drive was no longer usable.
Only time I do just unplug it without doing that option is with the USB external HDD
AaronMar 14th 2008 12:42PM
Make sure you left click on the tray icon and not double click as well. It brings up a nice, easy to read set of options -- devices you can remove. Click and remove! It's much easier to use and understand at a glance than the crazy dialog you show above.
RPMar 14th 2008 1:20PM
Thanks. This is another example where Microsoft could have made this every-day operation 10x easier with a decent UI, but instead they expose device-driver details that my Mom has no clue about. Just like the Print Screen button. Come on, Microsoft -- time to start innovating again.
GinoMar 14th 2008 2:04PM
Which is the advantage of double click on a desktop icon as described here instead of double click on the USB remove icon in the system tray?
Really I see no difference...
JuddMar 14th 2008 2:54PM
I reckon the same difference between the glass being half full and the glass being half empty. They both have the same amount of water, it's just how you look at it
JamesMar 28th 2008 10:54AM
Did you miss the part where you can assign a keyboard shortcut? Some of us don't like having to find a 16x16 pixel icon on our big-ass displays and/or wait for our taskbar to pop up (if you have it on auto-hide, which I do). I like to be able to do things without looking for the button to click on screen.
tevetorbesMar 15th 2008 2:50PM
I'll admit- not a Windows user, so maybe I'm missing something, but every Windows PC I've used has a little icon in the system tray that you can single left-click and choose "Safely remove hardware" or some such. This allows the drive to be unplugged safely.
What's with the dialog-box-shortcut-hotkey assignment? It seems overly complicated for complicated's sake...