Site icon Free Tech help

How to Delete a Locked or Unreadable File that Resist Deletion in Windows

Normally you can easily delete your files. However, sometimes you run into a situation where you try to delete a file but you get an error message from windows saying access denied or explaining the file may be in use. If you have ever tried to delete a locked file using common window commands, you probably know that it is not possible. You may also receive one of these messages: ‘cannot delete file: access is denied’, ‘there has been a sharing violation’, ‘the source or destination file may be in use’, and ‘the file is in use by another program or user’.

Here are a few easy ways to delete such stubborn files.

Close Windows Explorer

One of the most irritating error messages that appear while deleting a file is “File in use”. It stops you from removing the file you’ve chosen to. If you try deleting said file after closing down all the applications and still the same error shows up, it is because the Windows Explorer will be using that file.




Change the File Extension

This is probably the simplest way to delete a file that is difficult to delete when you use Delete key. For example, if you have a file called Drama.avi, select it in windows Explorer, press F2 and change the extension .avi to something else such as .txt.
File extensions have to be enabled first. To show extensions in Windows 8 and onwards, click on the View tab and mark off the ‘File name extensions” box.

Use Third Party Deletion Tool

Another solution is to use the third party deletion tool. There are a lot of deletion tools available that can aid you in getting rid of troublesome files. Such deletion tools run a script at a time when windows boots up before any restrictions are placed on the file that stops it getting deleted.

Windows Safe Mode

Another option to delete the locked file is to restart the computer in a safe mode.

Exit mobile version