gregseth
gregseth

Reputation: 13438

Find which process is using a file

I'm trying to access a file from the application I'm developing, but I get an error that states the file is already opened by another program.

Ok, I launched first handle, then process explorer, then process monitor which all said the same thing:

Handle v3.45
Copyright (C) 1997-2011 Mark Russinovich
Sysinternals - www.sysinternals.com

No matching handles found.

What else can I do (for now a reboot seems the only solution) to find the process using my files?

Upvotes: 0

Views: 1685

Answers (2)

agirish
agirish

Reputation: 470

LockHunter (http://lockhunter.com) can help you with this.

It has been reviewed here http://dottech.org/10534/unlocker-vs-lockhunter-which-one-should-you-get-for-your-file-unlocking-needs/ You can google for more reviews if you want to be double sure. I've used it and it was helpful.

Upvotes: 3

Bali C
Bali C

Reputation: 31251

A handy trick on Windows 7 (not sure about other versions) is to try and delete the file (or modify it), when it tells you it can't delete it because it's in use it sometimes tells you the program that is using it.

If still no joy then I think your right, just reboot.

Upvotes: 1

Related Questions