Jump to content


Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  D A R B O : (16 February 2018 - 01:47 PM)

Welcome to the forums EllisG :)

@  D A R B O : (21 January 2018 - 08:17 AM)

Welcome to the forums bumpy little ting :)

@  D A R B O : (17 December 2017 - 11:37 PM)

Welcome to the forums 95kuston :)

@  D A R B O : (06 December 2017 - 10:46 PM)

Welcome to the forums matthews1453 :)

@  D A R B O : (05 December 2017 - 12:15 PM)

Welcome to the forums StompinTom :)

@  D A R B O : (22 November 2017 - 09:05 PM)

Welcome to the forums R1L3yyy :)

@  D A R B O : (20 November 2017 - 02:51 PM)

Welcome to the forums aiidangee :)

@  D A R B O : (19 November 2017 - 09:58 AM)

Welcome to the forums likeasomebody710 :)

@  D A R B O : (18 November 2017 - 03:10 AM)

Welcome to the forums brod :)

@  D A R B O : (17 November 2017 - 10:24 PM)

Welcome to the forums CENTRIOLE :)

@  D A R B O : (15 November 2017 - 05:31 PM)

Welcome to the forums Vicka :)


Photo
- - - - -

How to Delete Undeletable, Locked, Busy or Currently In-Use Files in Windows


  • Please log in to reply
9 replies to this topic

#1 OFFLINE   D A R B O

D A R B O

    FOUNDER

  • F O U N D E R
  • Others:P R E M I U M
  • 624 posts

Posted 13 January 2009 - 06:22 PM

How to Delete Undeletable, Locked, Busy or Currently In-Use Files in Windows

If you have been using Windows for some time, I'm sure you will have encountered the situation where you tried to delete a file, and received from Windows an error message telling you that the file is currently locked, busy, or currently used by another process (program that is currently running). Sometimes, these processes have really got no reason to continue holding that file open. The Windows Explorer is one of those guilty programs that hold a file open longer than it should, preventing you from deleting it. This tutorial outlines how you can go about deleting that file anyway, often without even rebooting the machine or doing something complicated.


Things to Watch Out For Before Starting
Before you wantonly delete files, you need to watch out for certain situations where you should NOT delete an undeletable file.

  • Sometimes, the file is really being used by another process. For example, some software running in the background (such as many antivirus software) often open and lock certain files while it is running. Forcibly deleting files that these programs need is a recipe for disaster. Make sure that the file is really not being used legitimately by some hidden program running in the background. Remember: there are a large number of processes and services running on your Windows system at any one time, even when you don't have any window open.
  • On occasion, the file is held open by a virus or some other malware running on your system. Although you can use the method prescribed here to delete the file, your efforts may be to no avail since such virus, spyware or malware often have sneaky methods to recreate the file everytime you reboot. If you think the file is a result of some malware, you should use an anti-malware program to clean your system instead. They tend to be more thorough in ferreting out all the instances of malware on your system than a cursory manual deletion of files. You can find many free antivirus software and free online virus scanners and cleaners and free malware cleaners, free spyware / trojan / hijackers detection and cleaning utilities around.
Software You Will Need
There are many ways and many free programs to delete a busy file. For the purpose of this tutorial, I will only select the use of one such program, called Unlocker. You can find it listed on thefreecountry.com's Free Utilities to Delete Currently Used, Locked, Undeletable, Busy Filespage. There are other programs listed there as well. If you prefer to use another piece of software, go ahead and do so. For the sake of simplicity, I will only describe the use of Unlocker in this tutorial.


Steps to Removing a Locked or Undeletable File
  • Download and install Unlocker as mentioned above. Accept the defaults when installing.
  • Open up Windows Explorer and navigate to the file you wish deleted.
  • Right click on the file, and select "Unlocker". A window will appear giving you a list of processes (running programs) that are holding open the file. Scrutinize the list to make sure you really don't want these processes to continue to hold open the file. Remember, if you are currently editing a file in (say) a wordprocessor, that program will be legitimately locking the file. If you break the lock and delete the file, you may not only lose work, but you may also crash the wordprocessor.
  • If Unlocker cannot find any process locking the file, preventing it from being deleted, it will tell you that, and you can either delete it manually, or ask the program to delete it for you.
  • If you are satisfied that you still really want to remove the file, you have a few options. You can select "Delete" in the drop down box (it defaults to "No action") to let unlocker do it for you, or you can select "Unlock all" to cause Unlocker to force all the processes using the file to unlock it. In such a case, you will now be able to delete it manually using Windows Explorer (unless the process immediately reestablishes a lock before you can do anything). Alternatively, you can select the process locking the file in the dialog box window and click the "Kill Process" button. This will terminate the process that is currently holding the file open (that is, "kill" it). You can then manually delete the file from Windows Explorer.
  • If you have changed your mind, and have decided not to delete the file after all, simply hit the "Quit" button without doing anything (or hit the ESC key) and Unlocker will exit without harming your file.
Conclusion
This article provided you with one way to delete a file that is currently held open by a program/process running in Windows. However, remember, while you may be able to recover deleted files (undelete files you accidentally deleted) in some situations, it is difficult to undo the mistake of removing an important file. So delete that pesky "unremovable" file if you will, but do it with caution.

Copyright © 2007 by Christopher Heng. All rights reserved. Get more "How To" guides and tutorials from http://www.howtohaven.com/.

If you find this article useful, please consider making a donation.

Posted Image This article can be found at http://www.howtohave...ablefiles.shtml


howtohaven™ Site News Feed
Do you find this article useful? You can learn of new articles and scripts that are published on howtohaven.com by subscribing to the RSS newsfeed. Simply point your newsfeed reader or a browser that supports RSS feeds at http://www.howtohave.../howtohaven.xml.



Please Do Not Reprint This Article
This article is copyrighted. Please do not reproduce this article in whole or part, in any form, without obtaining my written permission.


Related Pages
Newest Pages
How to Link to This Page
To link to this page from your website, simply cut and paste the following code to your web page.

<a href="http://www.howtohave...blefiles.shtml" target="_top">How to Delete Undeletable, Locked, Busy or Currently In-Use Files in Windows</a> It will appear on your page as:

How to Delete Undeletable, Locked, Busy or Currently In-Use Files in Windows

Copyright © 2007-2008 by Christopher Heng. All rights reserved.
thesitewizard™, thefreecountry™ and HowToHaven™ are trademarks of Christopher Heng.
Last updated: 27 March 2008.


PLEASE REP HELPFUL POSTS / TOPICS / REPLYS / USING THE GREEN ARROW.
Looking for the Downloads? Click here Looking for Tutorials? Click here

Studio & DJ Setup
2x Pioneer CDJ 2000 Nexus
Pioneer DJM 2000 Nexus Mixer

Cubase 8.1 Pro
2x Yamaha HS80 Monitors
Focusrite - Scarlett, Sound Card
M-Audio Oxygen 49 Keyboard
Behringer C-1 Condenser Microphone
Galaxy 3.3Ghz Intel Core I3 3220 1TB 16GB DDR3 RAM 1600mhz HD
2x Iiyama ProLite E2409HDS PC Monitor
--------------------------------------------
Follow me on SoundCloud | Facebook | Twitter | Mixcloud


#2 OFFLINE   Stuie

Stuie

    I'm a Designing Mastermind Me.

  • C O N T R I B U T O R
  • 3 posts

Posted 13 January 2009 - 06:39 PM

usefull post Darbo ;).


PLEASE REP HELPFUL POSTS / TOPICS / REPLYS / USING THE GREEN ARROW.
Looking for the Downloads? Click here Looking for Tutorials? Click here
Needing a Sig Doing? Ask Me.

#3 OFFLINE   _Tony_

_Tony_

    ( ",)

  • C O N T R I B U T O R
  • 49 posts

Posted 15 January 2009 - 08:02 PM

nice info m8 savin this to a txt file :)


PLEASE REP HELPFUL POSTS / TOPICS / REPLYS / USING THE GREEN ARROW.
Looking for the Downloads? Click here Looking for Tutorials? Click here

#4 OFFLINE   D A R B O

D A R B O

    FOUNDER

  • F O U N D E R
  • Others:P R E M I U M
  • 624 posts

Posted 15 January 2009 - 09:48 PM

Why, I put it here, so its hear forever, I took it out of my favs, cos I was sorting them out haha


PLEASE REP HELPFUL POSTS / TOPICS / REPLYS / USING THE GREEN ARROW.
Looking for the Downloads? Click here Looking for Tutorials? Click here

Studio & DJ Setup
2x Pioneer CDJ 2000 Nexus
Pioneer DJM 2000 Nexus Mixer

Cubase 8.1 Pro
2x Yamaha HS80 Monitors
Focusrite - Scarlett, Sound Card
M-Audio Oxygen 49 Keyboard
Behringer C-1 Condenser Microphone
Galaxy 3.3Ghz Intel Core I3 3220 1TB 16GB DDR3 RAM 1600mhz HD
2x Iiyama ProLite E2409HDS PC Monitor
--------------------------------------------
Follow me on SoundCloud | Facebook | Twitter | Mixcloud


#5 OFFLINE   rayzer

rayzer

    Advanced Member

  • C O N T R I B U T O R
  • 96 posts

Posted 16 January 2009 - 10:00 AM

for simple files just open the task manager and end the process there before you try to delete. but there will be some files that you will need unlocker for, its a great program I think


PLEASE REP HELPFUL POSTS / TOPICS / REPLYS / USING THE GREEN ARROW.
Looking for the Downloads? Click here Looking for Tutorials? Click here
Homepage Soundcloud

#6 OFFLINE   Refract

Refract

    Core & Bounce Producer

  • M E M B E R
  • 10 posts

Posted 15 April 2009 - 02:28 AM

I discovered 'Unlocker' some time ago and it's amazing how many times it comes in useful, especially for removing random DLL files created by Trojans and those stupid search things.

It just sits there all the time and I forget I have it until it pops up every so often :D

#7 OFFLINE   Chris Mitchell

Chris Mitchell

    Newbie

  • M E M B E R
  • 7 posts

Posted 02 May 2009 - 06:54 PM

Brilliant Share Darbo ! Thanks

#8 OFFLINE   D A R B O

D A R B O

    FOUNDER

  • F O U N D E R
  • Others:P R E M I U M
  • 624 posts

Posted 26 May 2009 - 06:55 PM

no probs :)


PLEASE REP HELPFUL POSTS / TOPICS / REPLYS / USING THE GREEN ARROW.
Looking for the Downloads? Click here Looking for Tutorials? Click here

Studio & DJ Setup
2x Pioneer CDJ 2000 Nexus
Pioneer DJM 2000 Nexus Mixer

Cubase 8.1 Pro
2x Yamaha HS80 Monitors
Focusrite - Scarlett, Sound Card
M-Audio Oxygen 49 Keyboard
Behringer C-1 Condenser Microphone
Galaxy 3.3Ghz Intel Core I3 3220 1TB 16GB DDR3 RAM 1600mhz HD
2x Iiyama ProLite E2409HDS PC Monitor
--------------------------------------------
Follow me on SoundCloud | Facebook | Twitter | Mixcloud


#9 OFFLINE   Licas

Licas

    Whats this do?

  • M E M B E R
  • 19 posts

Posted 28 May 2009 - 02:17 AM

good post man I'm gonna have to refer back to this
Feel free to add me
Myspace- www.myspace.com/licas09
MSN- Licas1992@live.com

#10 OFFLINE   JordanAllan

JordanAllan

    Newbie

  • M E M B E R
  • 7 posts

Posted 18 July 2009 - 08:39 PM

nice 1 mate




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users