Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was reading that question How do you know who or what is locking a remote file? and I remember that question... even in Windows7, the Windows doesn't show that program is locking the removable disk, so we cannot safely remove the hardware. There is some tool to solve this?

share|improve this question
up vote 3 down vote accepted

We've used process explorer from Microsoft (formerly Sysinternals). You can search for the file name and it will tell you which process is holding on and you can kill the handle on the file. The tool is also great at looking deep into your process tree. It's free too. Good luck!

share|improve this answer


Uwe Sieber's RemoveDrive can do this, some of the time, even optionally suspending the indexing service to do so.

On Vista x64 I've still sometimes found it necessary to manually close System's handle to the drive letter and/or the \Device\HarddiskVolumeX path RemoveDrive reports by using Process Explorer's Handle viewer, however. This even after verifying it not in use by any processes or services. (I've searched for an explanation for some time.)

share|improve this answer

Can't remember where I found it, but Unlocker for Windows has done a dandy job of finding and unlocking whatever is tying up removable disks and files (I need to delete or move).

Edit: Found the link again -

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.