RemoveDrive prepares drives for "Safe Removal" by commandline. It works with drives only but not for other device types. RemoveDrive can be used with all types of drives. Started with -L it tries to remove the drive in an endless loop until success or until canceled. RemoveDrive can be started from the drive to remove. Because a running EXE on a drive prevents a drive being prepared for safe removal it creates a temporary, self deleing copy and starts it with the same parameters.