theDeSilva.com Andrew de Silva

Search process that has locked a file on Windows

April 26th, 2011 · No Comments · Uncategorized

To know which process has locked a file, you may use Process Explorer. It can shows you information about which handles and DLLs processes have opened or loaded the file that is locked.

  1. Click the Find menu, and choose Find Handle or DLL…
  2. Type the file name (this is the name of the file that you cannot access/delete)
  3. After typing the search phrase, click the Search button
  4. Once it returns the list of application that is accessing your file you can either close the application manually or use Process Explorer to terminate it

 

Tags: