up vote 1 down vote favorite
1
share [g+] share [fb]

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.

link|improve this question

80% accept rate
feedback

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

link|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
feedback

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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