Sunday, January 11, 2009

Forced dismount of an USB drive

The operating systems I use seem to like my USB external drive so much that they hardly want to let go of it once it is attached. Hence, I'm looking for a nice way to force them to release the handles on the drive and allow proper disconnect.

The only way I found so far is to use chkdsk /f on the drive, which seems to call some API that does what is required.

No comments: