Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

3 Answers

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
add comment

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 - http://ccollomb.free.fr/unlocker/

share|improve this answer
add comment

Windows-centric:

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
add comment

Your Answer

 
discard

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.