Create Safely Remove Hardware Shortcut in Windows 10

If you have several removable devices connected to your PC, it can be useful to create a special shortcut to the Safely Remove Hardware dialog. It will show a useful UI to manage connected devices quickly. Let's see how it can be done.

Safely Remove Hardware Shortcut In Action

Safely Remove Hardware is not a new feature of Windows 10. It is available in many previous Windows versions. This dialog allows the user to quickly turn off and eject a storage device safely to prevent data loss (see the following article about write caching in Windows).

To create the Safely Remove Hardware shortcut in Windows 10, do the following.

Right click the empty space on your Desktop. Select New - Shortcut in the context menu (see the screenshot).

In the shortcut target box, type or copy-paste the following:

rundll32.exe shell32.dll,Control_RunDLL hotplug.dll

Tip: See the list of the Rundll32 commands available in Windows 10.

Safely Remove Hardware Shortcut

Use the line "Safely Remove Hardware" without quotes as the name of the shortcut. Actually, you can use any name you want. Click on the Finish button when done.

Now, right click the shortcut you created and select Properties.

Safely Remove Hardware Shortcut Properties

On the Shortcut tab, you can specify a new icon if you wish. You can use the icon from the c:\windows\system32\hotplug.dll file.

Safely Remove Hardware Shortcut Icon

Click OK to apply the icon, then click OK to close the shortcut properties dialog window.

Now, you can move this shortcut to any convenient location, pin it to taskbar or to Start, add to All apps or add to Quick Launch (see how to enable Quick Launch). You can also assign a global hotkey to your shortcut.

1 thought on “Create Safely Remove Hardware Shortcut in Windows 10

  1. Jiri

    Is there any force parameter? (Or close / exit running programs / files from drive and remove drive?)


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.