ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

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 :

c:\windows\system32\Name-of-undeleted-File.exe

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...

Comments

    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:

      http://www.techchore.com/download-parted-magic/

      Using this: http://unetbootin.github.io/

      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

      THANK YOU THANK YOU THANK YOU VERY MUCH!!!!

      PLEASE FOLLOW THIS! IT REALLY WORKS! THANK YOU VERY MUCH!!! :D

    • profile image

      viswam 

      6 years ago

      thanks

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)