Saturday, February 18, 2012

Find which Process is locking a file in Windows XP

Sometimes, frustratingly, you go to delete a file, but the OS will not let you delete it. It keeps telling you that the file is currently in use, even though you can swear that you have closed anything which is currently using it.
This has just happened to me...

Process Explorer to the rescue. Using this very powerful tool, you simply run Process Explorer, and then search for any references to the locked resource. It will very quickly tell you who the culprit is. Kill that process, and you can safely delete the file.

The culprit in my case? Skype!

No comments: