Many times it might have happened with you that Safely remove hardware icon disappears from the system tray and you are unable to safely remove your USB/Pen drive. Pulling out the USB/Pen drive is not recommended in such a case as it might prove to be harmful for the life of your USB/Pen drive.
There is a setting for the USB drives which tells the OS how to optimize their usage. Either it is optimized for Quick Removal or for Performance. To check it, do the following:
- Right click on the USB drive icon in My Computer.
- Select the Hardware tab.
- Select your USB drive and click on Properties.
- Now click on Policies tab.

Optimize for Quick removal
This setting disables write caching on the disk so that you can disconnect this drive without using the Safely Remove Hardware icon.
Optimize for Performance
This setting enables the write caching on the disk so as to improve disk performance. To disconnect this drive, you should use the Safely Remove Hardware icon so as not to hurt your USB drive.
So this tutorial is about how to safely remove your USB drive if the Safely Remove Hardware icon disappears from the system tray when the USB drive is optimized for performance. Otherwise you can safely remove it right away. This works on Windows XP and it should work on Windows Vista too (I haven’t tried it though).
Method #1
Start > Run > Type in RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll

This will bring up the same dialog box which comes when the icon in the system tray is clicked. Now you can safely stop your USB drive and get it out of the USB port.
Method #2
Method #1 can’t be remembered always as to type in everytime you are in a similar scenario. You can try the following steps :
- Right Click on My Computer.
- Select Manage.
- Select USB Mass Storage Device under the USB Controller.
- Right Click and Disable it.
- Remove your USB drive and Enable it again

If you forget to Enable it again, then you won’t be able to use any of your USB drives unless you enable it again.
Method #3
If you find yourself in the same situation repeatedly then you can make a shortcut for it. Just create a batch file with the content RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll
Executing this batch file will show up the dialog box where you can stop your USB drive. You can even create a shortcut to this batch file and place it where it is easy accessible for you.
Still you need any sort of help, feel free to ask in the comments.
Related posts:
- Remove Windows Genuine Notification
- How to transfer files between computer and mobile device using bluetooth
- Batch Files - Repeat certain tasks with a click
- Connect Internet through AirTel Mobile Office
- Hibernation - Enabling and Benefits [Explained]
- Image Batch Processing - Convert / Rename multiple images at once
- How to create custom commands for Run dialog box in windows
- Sunday Link Buzz #2
- How to change icons of file types
- Add items to the ‘Send To’ menu
Tags: remove usb hardware · remove usb storage · safely remove pen drive · safely remove usb drive33 Comments
33 responses so far ↓
Nice tutorial, I never tried the optimization of drive.
Great tip buddy. This was new for me.
@Nirmal
Remember if you have chosen Optimize for Performance then ejecting your drive without safely removing option will hurt your drive.
@Madhur
Thanks buddy!
[...] Safely remove USB drives when safely remove hardware icon disappears by Ashfame [...]
@Nirmal - guess the setting is “Optimize for performance” by default.otherwise you will never get the Safely Remove Hardware icon…
I have no policies tab….
Cool.. never knew of it; also by default the policy is set for quick removal I guess.
@GFYM
You don’t have a policies tab. Thats weird. Did you follow the steps as I mentioned? Can you upload a screenshot?
@Techblissonline, Venu
Its optimized for quick removal.
[...] How to safely remove your USB drive when Safely Remove Hardware icon disappears from the system tray… [...]
Hi, I have a problem that when I plug in my thumb drive, files are shown and a letter is assigned to the unit but there is no way to safely remove it because when I open the saely remove icon, the drive letter is not showing. Any ideas why?
@Michel
Don’t know what is causing it. But you can make use of Method # 3 to get eject the drive easily and faster.
Thanks for adding to my knowledge.
@TechnoLaziness
You are welcome.
I’m currently facing this problem with a USB modem for Broadband that I just bought. >_< Unfortunately, the solutions above don’t help. Well, not solutions 1 and 3 anyway… I didnt try the second one. Not sure if it would really help. I can’t get the policies tab using the . I did some research and found some info on the Microsoft website (http://support.microsoft.com/kb/927826) and one or two others.
If you’re a Windows Vista user like moi, this is basically no solution (if you confirm that the device isn’t detected by Windows) but there’s a way to work around it or so they say.
I’ll just quote the text from the HP website (http://h10025.www1.hp.com/ewfrf/wc/fastFaqLiteDocument?lc=en&cc=us&dlc=en&product=18703&docname=c00820197#N749)
“If Windows Vista does not show the connected USB storage device in Safely Remove Hardware, it is because Windows Vista treats devices that are connected to an embedded USB hub as non-removable devices. Non-removable devices do not appear in the Safely Remove Hardware program.
To resolve this problem, shut down the computer before you remove the USB storage device.”
I’m not so sure that works for me either…
the last time I did that my computer didn’t recognise the modem when I next plugged it in.
Hopefully someone else will find a solution…
P.S. In my case, the device and drivers or whatever (I’m not too familiar with all these technical stuff) is apparently are on disk drives. The ‘eject’ option is available but when I click it nothing happens which actually makes sense because it isnt in the disk drive to begin with.
(Did I make any sense?)
[...] How to safely remove your USB drive when Safely Remove Hardware icon disappears from the system tray [...]
Thanks. My ’safely remove’ icon mysteriously disappeared from the taskbar, with no apparent way to restore it. Used method#3 to put a shortcut on my desktop - problem solved!
@Astrea
Thanks for your feedback.
@RF
You are welcome. Keep visiting. You can even subscribe to receive free updates from this blog.
Thanks for the tip,very helpful,will remember for the future.Used method 2, was easy and fast(even for newbie).Thanks again!
Your blog entry was very helpful, thank you. My college has the computers locked down and all icons removed from the taskbar, so I can use my memory stick, but I can’t eject it (other than just yanking it out). I appreciate the help.
@aos4142, Joshua
You both are welcome. Keep visiting!
I have the opposite problem. The safely remove icon always appears at start up indicating presence of USB mass storage device when none is attached. Can’t seem resolved problem by uninstalling. Began after problem installing Motorola Cell Phone drivers, but didn’t resolve after System Restore.
@max
I don’t know what is causing the issue. You can use Method 1 & 3 to safely eject usb device.
THANKZ BUDDY!!!
@Christian
You are welcome. Keep visiting!
Thanks all of u. I got the same problem with the disappearance of the safely remove hardware icon. It was resolved.
But when I right click my pen drive icon in my computer, I don’t get “open” and “explore” commands.
They are displayed as some unknown symbols.
But “Auto play” and “search” commands are displayed.
These open and explore when clicked, the “open with” window opens showing various programs.
Can u please help in this regard to get back “open” appear again.Thanks
@Sundar
Yes you can do that. I am unable to find the exact link right now but this is the site where you should look : http://www.askvg.com/
Vishal can surely help you out. Look in his archives first.
[...] FAT از ویکی‌پدیای انگلیسی NTFS از ویکی‌پدیای انگلیسی Tom’s Hardware Ashfame [...]
Great! Methods #1 and #3 were what I was looking for! (my tray icon had disappeared…)
Thanks
Great tips and easy to do. I have the problem on XP and my mac also. It never stops the drive even after I close all programs using it. The light on the drive is always on also my camera does the same thing. I can sledom get it to say it’s ok to disconnect,.
The Symantec anti virus is not removed properly from my computer, so it is creating a problem whenever i do rigth click the computer show the message that put cd of anti virus
I believe you can actually just click Start > Run and type “control hotplug.dll”
Also, pressing {Windows key + R} will quickly bring up Start > Run.
1.yar ek prblm..mere pc me to Mycomptr me USB ka option nhi aata..i mean m nt tlkng about only Pendrive option…USB kbl ka koi optn nhi aata..is it not necssry to remove it like USB pendrive?
2. Mycomptr pe jb right clk krte h..tb waha (in Manage optn)Usb controlr me USB mass storage ka b koi optn nhi aata h…asa Q???
hi
program for
safely remove usb
or how to stop usb
tnx