Many a times you have faced this situation on Windows where you can’t delete certain file because its busy or being used by some other program. You may get a message from Windows that this file is being used by another program, even you have closed all the running programs. Here I present you the solution to how to delete those locked files.
Most probably you will receive an error message as shown in the above screenshot. So, the problem here is that the file we want to delete is used by some program that we don’t know. As we have closed all the running programs, this means that the program which is using the file we want to delete is running in background. If you try to look at the program through task manager, you can’t find it. So, the best way to look for this is to have a utility which shows that which file is being used by which program. So, once you get the program name using the file you can easily close it.
This nice utility is WhoLockMe Explorer Extension. You can download it from here. Its very small yet powerful utility. Just unzip the downloaded zip file and run install.bat. You are done. Now, if you get the error while deleting any file, just right click that file and in the menu you will see “Who Lock Me ?”. Click it. Then you will see the list of programs that are locking that file. Just select the process and click Kill Process and that process will be killed. Now you can delete that file.