Anybody who uses a USB drive be it a pen drive or a hard disk knows how painful it can be when you run into the stupid “USB drive is in use” error everytime you try to eject the same.
In such a situation, I normally rely on Unlocker to do the needful. However, that isn’t always solve the problem at one go.
So, when I stumbled upon EjectUSB (Via: The Windows Fix) I decided to give it a shot. Weighing it at only 254KB, all you need to do is load EjectUSB on the USB device that you want to eject and run it from there. This is the fastest method of achieving the same.
EjectUSB will flush the file cache for the target location, close all programs running from the target location, close any Explorer windows open to the target location, remove Windows MUI and MRU entries and Recent Document shortcuts related to the target location, and attempt to eject the specified drive (if the target location was a drive letter). You can also provide a command-line parameter of the drive and EjectUSB will do the needful.
Peace at last?