EjectUSB: a powerful tool for safe USB drive removal


EjectUSB is an open source program that is run from a USB device to close all programs running from the device and eject the drive for safe removal.

It will also remove registry entries and recent document shortcuts that refer to the USB device.

If you’re not to keen on Windows’ default method of safely ejecting USB devices (the little icon in the system tray) and/or if you encounter the dreaded “The device cannot be stopped right now.

Try stopping the device again later” message more frequently than you care for, EjectUSB might just be exactly what the doctor ordered.

Running the EjectUSB executable is simple and easy and can provide a one-click solution for getting all file/program contingencies resolved

Here are more notes on this program:

  • How to use: extract the EjectUSB folder onto your USB, and then when you are ready simply run the “EjectUSB.exe” executable to eject. If you would like to have a shortcut on your USB’s root folder that runs EjectUSB check out this posting.
  • Does it work: mostly, yes, with some exceptions. There are times when EjectUSB will keep trying to eject the drive and/or close running programs or files but fail. I would suggest that you close open documents and programs as you would normally then use EjectUSB to eject the USB after that; this always seemed to work on my system (to quote the author “EjectUSB was designed to eject the drive as quickly as possible, not to manage programs that the user hasn’t saved data in yet”).
  • Note on performance: some performance kinks have been ironed out across various releases of this program, and I expect future releases will continue the trend.
  • Options: you can modify the INI file and/or run the program from the command line to invoke many options such as whether it will forcibly terminate programs, how much time to wait to allow it to happen, whether to clean the registry, etc.

The verdict: a very useful program that delivers what it promises. This program is a work in progress but has been progressing rapidly and steadily and I expect it to only get better. Recommended.

Version Tested:

Compatibility: WinAll..

Go to the program page to download the latest version (approx 251K).