A program that allows you to quickly remove drives in Windows. It can eject USB disks, Firewire disks and memory cards. It is a quick, flexible, portable alternative to using Windows' "Safely Remove Hardware" dialog.
When a disk cannot be removed because a file is locked, currently a simple error message is shown. Other software like USB Safely Remove show which files are locked and which processes are locking them. If you can't add this functionality directly, you could call another application like DeadLock, which is also open source, or other tools like LockHunter.
I am calling USB Disk Ejector from PowerShell with a Process-Start command. I'm then catching the exit code to determine if the device eject was successful or not. However, USB Disk Ejector always returns an exit code of zero, regardless of whether it successfully ejected a device or not. Is it possible to have the exit code return a different value depending upon whether the eject command was successful? That way I could run it in a do loop with some sleep time in-between and check for exit codes until my drive successfully ejects.
Thank you!
BTW, thanks for creating and sharing this, it's working well so far in ejecting USB drives.
3.5" 12TB HDD is being powered by external 12V PSU and 5V 3.1 connection plugged to PC.
Unmount is pressed, the HDD is prepared for "safe unplug" but it still spins (even when I unplug USB from PC). Then i connect my usb back into PC and it gets recognised as normal. I cannot unplug my 12V because it will engage "Power-off Retract Count" into my HDD S.M.A.R.T. statistics.
This needs fixed, but I will look for alternative apps. Thanks to the developers, it seemed like a nice simple UI.
Hello,
I love the software!!! I am having an issue with it though. On a Win7 x64 computer when i run a batch file to eject my SD Card the drive gets ejected and i can no longer use it until i restart the computer. I checked in device manager and it does indeed say that the device has been ejected. I tried both the /removethis and the /removeletter X. Both do the same thing. I tested this out on an internal multicard reader as well as a usb reader. I noticed on your website that in the picture of the program it shows a drive and a drive with an sd card in front of it, i never see the second one i only see a drive. Any help would be great
I'm using "USB Disk Ejector 1.3.0.5" and I can't eject my external "WD Passport 1GB" usb drive...
I keep getting the same message and I'm pretty sure I don't have any programs running from my external HDD.
I have a USB drive which needs to be "permanently" attached. Is there a way to prevent me from accidentally ejecting it, e.g. wrong click etc
I can think of 2 ways:
Lock would mean that the drive can be seen, but ejecting is not allowed, this has the additional benefit of knowing my drive is still attached to the machine.
Hide would mean the drive cannot be seen, thus cannot be ejected. The downside is that I'm not able to ascertain if the drive is still attached or not.
When right click opening "Options" and modifying options there's no edit box for selection of a destination folder of .cfg file.
For safety all these apps (like yours) go into an ACL protected folder within %PROGRAMFILES%-folder on my system.
Execution of your app works great, but if the .cfg file cannot be specified, it cannot be written to the same folder as the EXE in this case.
I you don't plan to implement such an edit box (for an additional .cfg file, which would override the orignal existing in same folder) for the .cfg file,
how can I specifiy the folder path for the .cfg file in registry?
I cannot fork and build your app, cause Visual Studio (C++) does not provide Delphi.
I dock my laptop at home and at work with multiple drives plugged into a USB hub, and it would be awesome to have an "eject all" or "undock" button, the either ejects all USB drives, or can be configured to eject specific drives.
The wonderful USB Disk Eject is to facilitate quick, easy, sure-fire disk ejection. But it has a stealth grey icon that rather blends in with the other stealth Windows icons for the cloud and speaker. A bright red/pink/yellow unforgettable/unmissable icon would be nice.
I think that since Microsoft has started selling Cloud storage they have made windows more strict about ejection and made drives go into read only mode if they are not properly ejected making your software all the more important. Thank you!
I use Windows 20H1 with Windows Security as the antivirus/ antimalware engine. I had to backup data from one external HDD to another and hence connected both of them.
After the copy, Windows does not allow me to eject either of the 2 disks. Used Failed Ejection Informer [https://github.com/thedavidhurt/failed-ejection-informer] to find out that the process MsMpEng.exe is blocking the disks from being removed.
Downloaded USB Disk Ejector to see if this can eject but it crashes with the following message for both HDD.
Access violation at address 00409D5A in module 'USB_Disk_Eject.exe'. Write of address 004E003B.
Any thoughts on what I can do better the next time and configure USB Disk Ejector so that it can eject properly?