A. The easiest way to check which process has a file open is to download the Sysinternals Process Explorer tool. Launch the tool and select Find Handle or DLL... then type in the name of the file and click Search, as shown below. The processes that have a handle to any file with the search text in it will be shown.

Find a file handle owner