Have you ever seen this Windows message : “Error Deleting File or Folder, … There has been a sharing violation. The source or destination file may be in use.”, when you try to delete, move or rename a file ?
WhoLockMe is a little extension for your Microsoft Explorer. It allows you to list all the process locking your selected file.
I found this at Ask MetaFilter.