Use Openedfilesview To Recognize The Process Which Locks The File
You must have noticed many times that you get an error message while deleting a file. The error message says that the file cannot be deleted due to a sharing violation as the source/ destination file might be in use.
Sometimes the error message says that the file cannot be deleted as another person/ program is being using that file and you need to close any such program and try deleting the file again. If you are able to recognize the program that has been locking the file, you can close it and try deleting the file again.
However, sometimes, even after you close the program that has been locking the file, you are unable to delete it. This means that there might be some other Windows process running which might have locked the file. In such cases, rather than restarting your system, you may use a utility known as “OpenedFilesView” to identify the programs and processes which have locked the file.
As OpenedFilesView happen to be an executable file by itself, you do not need to install it or execute any DLL. You simply need to launch it to view the entire list of open files along with all the running processes which have been locking the files.
OpenedFilesView also displays additional information such as the path of the open files, time of creation and modification, handle, read/write/delete access, ID of the process, path of the process etc.
For identifying the proper process which has locked a particular file that you have been trying to delete, you need to locate the particular filename by looking through the filename field. Once you find the required file, check for the corresponding process in the column “Process Name”.
In order to release the locked file, you may close the corresponding process from the OpenedFilesView interface itself. You need to right-click on the file and select the option that kills the processes for the selected file.
For easy access, the OpenedFilesView software utility can be configured as an option within the context menu of Windows Explorer. For adding OpenedFilesView to the context menu, all you need to do is, launch OpenedFilesView, go to the Options menu and check the checkbox of the option that enables Explorer Context Menu.
If you right-click on a particular folder and select OpenedFilesView from the context menu, it will display the open files which are located inside that particular folder only. Likewise, if you right-click on a particular file and select OpenedFilesView, you will be able to view all open handles for that particular file.
OpenedFilesView is supported by most Windows Operating Systems including Windows Vista, Windows XP, Windows 2000 and 2003. This tiny utility consumes just 40KB of your system’s memory space and is definitely worth being a part of your system. Moreover, OpenedFilesView is a freeware and can be downloaded free of cost.