How To Delete Locked files or Undeletable Files on Windows

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.

error_ deleting_file

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.

Related posts:

  1. Delete All Your Tweets at Once or in Bulk
  2. View/Open .chm files in Ubuntu
  3. Hack / Crack any Windows password easily
  4. Remove Windows 'No Active Mixer Devices' Error
  5. Removing javac not recognized error – setting PATH for javac

Article by Harsh

Harsh is an avid Blogger who blogs at Harsh Tech Talk. He writes about Blogging, Facebook, Twitter, technology and tips and tricks. By profession he is a software engineer working at Oracle, Bangalore. He is a big music freak.

  • http://www.cartridgesave.co.uk/news/ James Adams

    It’s terrible, I’ve had quite a few icons and Word documents that just wouldn’t delete, no matter what! I blame my computer though…it’s a bit slow at times, it’s not exactly the latest model. Thanks for the extension file though! I should be able to work faster with this.

  • http://www.geekandblogger.com/ Pavan Somu

    I use ‘Unlocker’ for this kind of problems.