ePrivacy and GPDR Cookie Consent by Cookie Consent

Popular x64 Tags

RemoveDrive 3.4.3

license: Freeware
downloads: 317
size: 102 kB
updated: 2024-02-08

Add to Basket
x64 compatible software

Uwe Sieber
RemoveDrive prepares drives for "Safe Removal" by commandline. It works with drives only but not for other device types.

RemoveDrive DriveSpec: [-l][-h][-b][-i][-s][-w:nnnn]

DriveSpec is the drive to remove, e.g. U: or an NTFS mountpoint as "C:CardReaderMulti Reader SD"
or . for the current drive
or for the drive of the RemoveDrive.exe
or a volume name like ?Volume{433619ed-c6ea-11d9-a3b2-806d6172696f}
[-L] loop until success
[-e] try to dismount and eject if the removal fails
[-h] show open handles (admin rights required, exprimental, may freeze!)
[-w:nnnn] wait nnnn milliseconds before close
[-s] self delete removedrive.exe
[-b] let Windows show the "Safe To Remove Hardware" balloon tip
[-i] stop Windows indexing service (CiSvc) for a moment if required (admins)
[-d] show debug information

or

RemoveDrive "AnyIdString"
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.
As result it shows 'success' in green or 'failed' in red.
Sample:

removedrive u: -L
would try to prepare drive U: for safe removal in an endless loop until success.
For drives mounted into NTFS folders the full path of the folder can be used:

removedrive "E:_CardReaderUSB20 CF" -L
Used with multislot-cardreaders it would remove the whole reader, regardless of the given slot. For removing a card only, use my EjectMedia tool, see below.
Instead the drive letter one of the drive's device ID strings can be used. The friendly name can be used as "Corsair Flash Voyager" or the hardware ID of the drive, like USBVID_1234&PID_5678...
Wildcards can be used here. E.g. RemoveDrive *Flash* to remove the first drive with 'Flash' in its device name.

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. To be drive letter independent, use . instead a drive letter. The current drive is removed then. To remove the drive of the RemoveDrive.exe use as drive.

If the removal fails then someone still accesses the drive. This can be something banal like an open Word document or an mounted TrueCrypt container or some kind of monitoring tool like a virus scanner. A network share on the drive that has been used makes the removal fail too...
By means of SysInternals ProcessExplorer you might be able to discover which program holds an open handle to the drive. After starting it go to 'Find' -> 'Find Handle or DLL', enter the drive letter like X: or a part of the DOS device name like 'Harddisk3' and search. You get the 'DOS device name' by means of my ListUsbDrives or ListDosDevices.

RemoveDriveOtherWindows XP, Windows Vista, Windows Vista x64, Windows 7, Windows 7 x64, Windows 8, Windows 8 x64, Windows 10, Windows 10 x64, Windows 11

User Rating: 2.0 (3 votes)

x64 compatible software
OS: Windows XP, Windows Vista, Windows Vista x64, Windows 7, Windows 7 x64, Windows 8, Windows 8 x64, Windows 10, Windows 10 x64, Windows 11


RemoveDrive screenshot

Add Your Review or 64-bit Compatibility Report

Your Name:
Software Version:
Rating:
Review:
Security Code:


Top Other 64-bit downloads

Mem Reduct
Mem Reduct 3.4   
Cut down the memory usage on their computer without making it unstable
Open Source

GPU-Z
GPU-Z 2.59.0   
Utility designed to give you all information about video card and GPU
Freeware

BlueStacks 5
BlueStacks 5 5.21.120.1025   
A lightweight emulator developed specifically for low-spec computers
Freeware

SpeedFan
SpeedFan 4.52   
A freeware monitors hardware chips voltages, fan speeds, temperatures on PC
Freeware

TranslucentTB screenshot
TranslucentTB 2024.1   
Customize the look of your Windows 10 computer's taskbar
Freeware

Windows 10 x64
Windows 10 x64 22H2   
Windows 10 x64 demonstrates new levels of flexibility, navigation & familiarity
Trialware

Games for Windows - Live
Games for Windows - Live 3.5.50.0   
Enabling the In-Game Games for Windows - LIVE experience
Freeware

Caffeine
Caffeine 1.97   
Prevent your PC from activating a screen saver or locking
Freeware

Remix OS x64
Remix OS x64 3.0.207   
Enjoy a streamlined Android environment
Freeware

Thaiphoon Burner screenshot
Thaiphoon Burner 17.4.1.2   
Designed for those who are in need of getting all available information
Freeware

Members area

Login:
Password:
Remember me

Sign Up  |  Forgot Password?

Top 64-bit Downloads

Top Downloads

64-bit Tags