02 April 2008 Categorized under Software

Find which process has locked a file preventing it from being renamed or deleted

Some times when we try to Rename or Delete a file an error can pop up and say that the file is in use by another program and you need to close it and try again. Although this may makes sense, sometimes we won’t simply be able to find which program has opened the file. In such cases the “Who Lock Me!” tool from Dr-Hoiby. He has got some other useful tools too.

Who Lock Me Context MenuWho Lock Me comes in a light zip file of only 22Kb. Just unzip it and run the install.bat file. The necessary dll is added to regsrv32. A new Context menu item will be added. When you click on this the Process which has opened the file will be shown. The details included are Image Name, Process ID, Handle ID, Opened File name, Domain on from which the file is opened, the User Name and Locker Full path. There is an option provided to Kill the process that is responsible for opening a file. But be care ful here. If you are not sure about what the process does don’t try to kill it.

Who Lock Me Result Window

    If you want to delete or Rename the file just kill the process that is locking the file and the try again. Be carefull with killing processes though. If you don’t know what the process is then better not kill it


Some related articles you may like :

  1. Why are permanently deleted file recoverable form a memory device?
    If you have accidentally deleted some files don’t panic follow these steps. 1. Do not read, write or access that Drive. 2. Use this to...
  2. Free – deleted file recovery software from softperfect
    This is a free and portable (installation free) file recovery software from SoftPerfect. You can recover permanently deleted files from your Hard Disk using this...
  3. Free deleted file recovery software from PCI
    Guess you all remember the free SoftPerfect file recovery software. Although it was lite and installation free, it had no hierarchical or folder tree representing...
  4. Process Explorer NT – the real task manager
    Process Explorer NT is the replacement for the default Task Manager in Windows from Microsoft (links are given at bottom of page). It is also...
  5. Universal file manager and viewer – one program for all your file types
    Universal Viewer an open source project is one among many tools from Alexey Torgashin. AT Viewer (or Universal Viewer) is just like a Media Center...
  6. Add a context menu option to list all files in a folder and save it as text file
    okthen has commented here with an easier way if you know registry : Go to the Folder tree My Computer\HKEY_CLASSES_ROOT\Folder\shell\ Right Click and select New»Key...

2 Responses to “Find which process has locked a file preventing it from being renamed or deleted”

  1. Sparx says:

    Please include a link to the software that you’re reviewing. It helps…

  2. Ajith says:

    Sorry My bad. I have added it now. Thanks Sparx for pointing out.

Leave a Reply