4

Sometimes I can't remove the external USB hard disk because of the error in the screen shot below when i try to safely remove the hard disk. There does not appear to be an application using the hard disk and it occurs randomly.

Is there a way to see which software has a lock on any file on the hard disk?

alt text

fixer1234
  • 28,064
Karim
  • 1,212

4 Answers4

2

This error usually occurs when you have an explorer window open which is still referencing the USB drive. Close all explorer windows and try again.

Edit: Try this Eject A USB Drive

Craig
  • 332
2

Note that if you use Unlocker to get rid of this problem, be careful.

If you use it to watch which programs are using it, and you are closing these programs yourself, it's ok. But if you use Unlocker to actually "unlock" the files, it's a bad thing. Doing so, you are violently closing the handle, and it's in the end the same effect as removing directly the usb harddisk, you can lose data.

Gnoupi
  • 8,188
1

In Windows I often make use of a tool that detect open Handles such as Process Explorer.

If your USB drive is at the drive letter K: you do a 'handle search' for

K:\

Then you can force close these open handles to release a lock on the drive, and then eject/safely remove works.