Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using Windows Vista with an external (USB) hard drive. Sometimes I need to disconnect the hard drive, but when I try to disconnect USB devices, Windows tells me that an application is using the files on that drive. As far as I know, I have closed anything accessing the hard drive.

Is there a way to determine which files are in use, and by which process?

Edit

Apparently (according to the OpenedFilesView website) it makes a difference that I have a 64-bit version of Vista.

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

Process Explorer does exactly what you need, and many other useful diagnostic features as well. I highly recommend it.

here's a tutorial:

How to: Display a List of Processes That Have Files Open, using Process Explorer

share|improve this answer
    
i much prefer Anvir Task Manager over Process Explorer, even the free version beats PE hands down. –  Molly7244 Dec 22 '09 at 23:32
    
I'm curious then... why didn't you link Anvir Task manager as an answer to this question? Does it lack the ability to view open file handles? –  Myrddin Emrys Dec 23 '09 at 18:27
add comment

Is there a way to determine which files are in use, and by which process?

NirSoft's OpenedFilesView displays the list of all opened files on your system. For each opened file, additional information is displayed: handle value, read/write/delete access, file position, the process that opened the file, and more...

enter image description here

OpenedFilesView is freeware and portable.

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.