eject disk from the commandline

Products and tips

Moderator: Site Mods

Post Reply
User avatar
nikos
Site Admin
Site Admin
Posts: 15791
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

eject disk from the commandline

Post by nikos »

I have this NTFS external USB drive that always gets itself in knots and cannot be removed safely. The taskbar notification "safe removal" thingy just doesn't open. As it isn't a USB stick there's no Eject command i can use from xplorer2. I was looking for a DOS command to do the removal and I found this nice thread

DISKPART did it for me :)

ps as you may know FAT32 formatted external disks can be just unplugged without fuss but NTFS drives can get corrupted if you hassle them
User avatar
nikos
Site Admin
Site Admin
Posts: 15791
Joined: 2002 Feb 07, 15:57
Location: UK
Contact:

Re: eject disk from the commandline

Post by nikos »

scratch that!
diskpart PERMANENTLY removed said drive from my system, so when I reattached it no drive letter was assigned
I had to go back and re-add it with diskpart - definitely not advised to do it again
:shock:
User avatar
FrizzleFry
Platinum Member
Platinum Member
Posts: 1241
Joined: 2005 Oct 16, 19:09

Re: eject disk from the commandline

Post by FrizzleFry »

one of these will probably do the trick
http://www.uwe-sieber.de/drivetools_e.html

I have not used RemoveDrive or EjectMedia but I do use ReMount...
Post Reply