ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
  • »
  • Technology»
  • Computers & Software

How to Delete Undeleted File

Updated on July 7, 2011

"How to delete undeleted file?" or "How to delete unwanted programs?" etc. are the common question and queries when you failed to delete any unwanted file or program? Sometimes, it's really taugh to delete or remove unwanted program. The reason behind this type of situation is that a piece of adware or spyware continuously keep it busy and when you want to delete them, you get messages like the followings:

  • Cannot delete YourFielNamefile: 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.

This page will provide you to solve this type of problem. Keep reading...

Step 01:

  • Click Start -> Search -> All Files and Folders
  • Type the name of the undeletable file in the search box shown and lastly click Search.
  • When you find the file or program, right click on that and go to Properties and make a note of the file location & close search window. It may be similar to :


Step 02:

  • Click on Start -> Run -> type CMD  -> Press Enter to open a Command Prompt window.
  • Don't close Command Prompt window, but proceed to close all other open programs. 

Step 03:

  1. Click on Start -> Run -> type TASKMGR.EXE -> press Enter to start Task Manager -> Click on the Processes tab,
  2. Click on the process named Explorer.exe and click End Process.
  3. Minimize Task Manager but leave it open

Step 04:

  1. Go back to Command Prompt window (step 2) and change to the directory where the file is located by using CD command. [ Example: to change to the Windows\System directory, write cd \windows\system32 and hit Enter]
  2. Type DEL undeleted-filename Example: del undeleted-filename.exe. [undeleted-filename means the file or program you want to delete.]

Step 05:

  1. Press ALT+TAB to go back to Task Manager
  2. In Task Manager, click File -> New Task  -> Enter EXPLORER.EXE to restart the Windows shell.
  3. Now, close the Task Manager

By follwoing these steps, you can easily delete any kinds of undeleted files or programs.

Moreowver, if you think that those setps are hard you may take help form any software like unlocker, Remove on Reboot Shell Extension etc.

Thanks....delete the undeleted files or programs....and smile...


    0 of 8192 characters used
    Post Comment

    • profile image

      Mike 2 years ago

      Actually, when all else failed (the guilty Unlocker program included, which would disable my Windows 10 Start Menu and still not unlock the temp files it created), this worked:

      Install this on an empty flash drive:

      Using this:

      To boot it, reboot and go into boot options (F2) and under the boot menu, disable SecureBoot and change Boot List Option from UEFI to Legacy, and put the USB drive first in the boot order, and hit F10 to reboot.

      Once in Parted Magic, I could see my hard drive in the file manager and delete the files no problem, then restore the boot options on a reboot.

    • profile image

      Mike 2 years ago

      This is idiotic. There's nothing about this that would help delete something that is hard to delete. The delete efforts just generate the same errors you'd normally get.

      Anyone have better suggestions? I'm trying to unlock files left behind in a TmpDelete folder (hundreds of them) by the Unlocker program itself, which I no longer trust to use after it screwed up my system requiring the operating system to be reinstalled.

    • profile image

      hrhrt 5 years ago

      thank you so much

    • profile image

      iPuK 6 years ago



    • profile image

      viswam 6 years ago