How To Delete Undeletable Files


Some Time you want to delete a file but you get an error that file can’t be deletable .This error shows only when the file is associated with some resources or some other file.So lets see how to delete that undeletable file

Method 1 : Kill Explorer.exe

In this method we will use command prompt to delete that undeletable file but before using CMD we have kill explorer.exe .Let see how to do that ……..

1.) Open CMD using Winkey + R then in location box type CMD and hit enter.(See image below).

2.)Open Task Manager using CTRL+ALT+DEL OR CTRL+SHIFT+ESC.

3.)Go to the Processes tab and close explorer.exe(See image below).

4.)Leave Task Manager open and CMD both open.

5.)Go back to CMD and go into a folder where undeletable file reside.

6.)Then type DEL file name in CMD and hit enter your file will delete.

7.)Go to opened Task Manager File -> New Task and enter explorer.exe to restart(See image below).

Let’s execute all the above steps one by one with images………..

I want to delete a file FXSAPIDebugLogFile that is in my temporary directory and i can’t able to delete it (See image below).

So let’s delete FXSAPIDebugLogFile

First go to that folder and than type DEL file name (See image below).

Method 2 : Deleting File Using unlocker

This is the best and easy method to delete a undeletable file .A freeware tool called unlocker can do this for you in few seconds.So let see…….

It has many other flavors:

Cannot delete file: Access is denied
There has been a sharing violation.
The source or destination file may be in use.
The file is in use by another program or user.
Make sure the disk is not full or write-protected and that the file is not currently in use.

Unlocker is the solution!

1.) Simply right click the folder or file and select Unlocker(See image below).

2.) If the folder or file is locked, a window listing of lockers will appear(See image below).

3.) Simply click Unlock All and you are done!

Download unlocker from the below link

I hope you like my this post if you have any query please leave comments in below comment section and don’t forget to subscribe and like my blog .

Related Articles :


  1. Try and download ” Long Path Tool ” is also useful in situations where you see these error messages: Cannot read from source file or disk, there has been a sharing violation, cannot delete file or folder, the file name you specified is not valid or too long, the source or destination file may be in use and many other file managing errors.

Speak Your Mind



This site uses Akismet to reduce spam. Learn how your comment data is processed.