Ashfame | Tech Blog |+| Ashfame.com

I blog about blogging, tips and tricks, tutorials, hacking, hardware and reviews.

A niche is less than what I blog about.

Ashfame | Tech Blog header image

How to safely remove your USB drive when Safely Remove Hardware icon disappears from the system tray

ADVERTISEMENTS

safely_remove_hardwareMany 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.

usb_drive_optimize_for_settings

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

safely_remove_hardware_prompt

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

usb_controller_mass_storage

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:

  1. Remove Windows Genuine Notification
  2. How to transfer files between computer and mobile device using bluetooth
  3. Batch Files - Repeat certain tasks with a click
  4. Connect Internet through AirTel Mobile Office
  5. Hibernation - Enabling and Benefits [Explained]
  6. Image Batch Processing - Convert / Rename multiple images at once
  7. How to create custom commands for Run dialog box in windows
  8. Sunday Link Buzz #2
  9. How to change icons of file types
  10. Add items to the ‘Send To’ menu

Tags:   · · · 33 Comments

Leave A Comment

33 responses so far ↓

  • 1 Nirmal Feb 13, 2008 at 6:55 pm

    Nice tutorial, I never tried the optimization of drive.

  • 2 Madhur Kapoor Feb 14, 2008 at 1:49 am

    Great tip buddy. This was new for me.

  • 3 Ashfame Feb 14, 2008 at 2:54 pm

    @Nirmal
    Remember if you have chosen Optimize for Performance then ejecting your drive without safely removing option will hurt your drive.
    @Madhur
    Thanks buddy!

  • 4 Super Sunday Links Episode 2 Feb 17, 2008 at 10:58 pm

    [...] Safely remove USB drives when safely remove hardware icon disappears by Ashfame [...]

  • 5 Techblissonline Dot Com Feb 18, 2008 at 10:27 am

    @Nirmal - guess the setting is “Optimize for performance” by default.otherwise you will never get the Safely Remove Hardware icon…

  • 6 GFYM Feb 19, 2008 at 1:37 am

    I have no policies tab….

  • 7 Venu Feb 21, 2008 at 11:57 pm

    Cool.. never knew of it; also by default the policy is set for quick removal I guess.

  • 8 Ashfame Feb 27, 2008 at 12:35 pm

    @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.

  • 9 Blog Statistics For February 2008 Mar 10, 2008 at 8:00 pm

    [...] How to safely remove your USB drive when Safely Remove Hardware icon disappears from the system tray… [...]

  • 10 Michel Cochegrus Mar 14, 2008 at 10:18 pm

    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?

  • 11 Ashfame Mar 15, 2008 at 2:29 pm

    @Michel
    Don’t know what is causing it. But you can make use of Method # 3 to get eject the drive easily and faster.

  • 12 TechnoLaziness Mar 16, 2008 at 3:42 am

    Thanks for adding to my knowledge.

  • 13 Ashfame Mar 18, 2008 at 11:44 pm

    @TechnoLaziness
    You are welcome.

  • 14 Astrea Mar 29, 2008 at 2:22 pm

    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… :sad: 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?) :razz:

  • 15 Blog Statistics For March 2008 Apr 2, 2008 at 8:08 pm

    [...] How to safely remove your USB drive when Safely Remove Hardware icon disappears from the system tray [...]

  • 16 RF Apr 5, 2008 at 6:34 pm

    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!

  • 17 Ashfame Apr 6, 2008 at 5:21 pm

    @Astrea
    Thanks for your feedback.
    @RF
    You are welcome. Keep visiting. You can even subscribe to receive free updates from this blog.

  • 18 aos4142 Apr 14, 2008 at 5:25 am

    Thanks for the tip,very helpful,will remember for the future.Used method 2, was easy and fast(even for newbie).Thanks again!

  • 19 Joshua Apr 18, 2008 at 10:00 pm

    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.

  • 20 Ashfame Apr 19, 2008 at 10:25 pm

    @aos4142, Joshua
    You both are welcome. Keep visiting!

  • 21 max May 25, 2008 at 10:46 am

    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.

  • 22 Ashfame Jul 5, 2008 at 2:13 am

    @max
    I don’t know what is causing the issue. You can use Method 1 & 3 to safely eject usb device.

  • 23 CHRISTIAN Jul 17, 2008 at 9:37 pm

    THANKZ BUDDY!!!

  • 24 Ashfame Jul 19, 2008 at 1:44 pm

    @Christian
    You are welcome. Keep visiting!

  • 25 Sundar Jul 28, 2008 at 11:53 pm

    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

  • 26 Ashfame Jul 31, 2008 at 2:22 pm

    @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 [...]

  • 28 Pier Oct 30, 2008 at 7:15 pm

    Great! Methods #1 and #3 were what I was looking for! (my tray icon had disappeared…)
    Thanks

  • 29 Bob Jan 11, 2009 at 5:46 am

    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,.

  • 30 Ankush KAtariya Jan 21, 2009 at 5:54 pm

    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

  • 31 Dave Apr 1, 2009 at 12:40 am

    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.

  • 32 Rizwan May 10, 2009 at 7:30 pm

    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???

  • 33 sahar May 31, 2009 at 5:00 pm

    hi
    program for
    safely remove usb
    or how to stop usb
    tnx