How To: Shortcut (and hotkey) for “Safely Remove Hardware” dialog

If you’re anything like us, you’re plugging and unplugging your USB thumb drives (and other usb devices) all day, multiple times a day. Hopefully you’re right clicking on the little “Remove Hardware Safely” icon in your system tray usbicon How To: Shortcut (and hotkey) for Safely Remove Hardware dialog in order to remove and avoid damaging or losing data from your USB drives/devices. The problem is, it becomes kind of a pain if you’re constantly switching out or removing USB drives. This tutorial will show you how to create a shortcut for the “Safely Remove Hardware” dialog, and as if that weren’t cool enough, we’ll even show you how to create a hotkey to bring up the dialog with one keystroke.

Step 1 - Create a shortcut to the Safely Remove Hardware dialog. To do this, right-click anywhere on your desktop, and select New / Shortcut.
shortcut1 How To: Shortcut (and hotkey) for Safely Remove Hardware dialog

Step 2 - Paste the following text into the Location box:

RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll

shortcut2 How To: Shortcut (and hotkey) for Safely Remove Hardware dialog

Step 3 - Give your new shortcut a name - we named ours “Eject Devices”

shortcut3 How To: Shortcut (and hotkey) for Safely Remove Hardware dialog

Step 4 - Assign a shortcut key. To do this, right click on your new Eject Devices icon, click on “Properties”, then click on the “Shortcut” tab. In the box that says “Shortcut key” enter the shortcut key(s) you want to use. Click ok, and you’re done!

shortcut4 How To: Shortcut (and hotkey) for Safely Remove Hardware dialog

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • email How To: Shortcut (and hotkey) for Safely Remove Hardware dialog
  • Mixx
  • Reddit
  • StumbleUpon
  • TwitThis
  • Technorati
  • Facebook
  • Sphinn

2 Comments

bob  on March 29th, 2009

what happens if u have 2 hardware devices in you computer? does it eject both of them or all of them?

usbhacker  on March 30th, 2009

Hi Bob,

To answer your question, no, when you execute your shortcut, you’ll get a dialog box that will ask you which device you’d like to eject (if you have multiple devices connected). this is the same dialog box that would pop up if you just clicked on the “remove devices” icon in your systray. hope that is helpful.

Leave a Comment