Monday, May 18, 2009

Free Utilities to Delete/Erase Currently Used, Locked, Undeletable, Busy Files

Free Utilities to Delete/Erase Currently Used, Locked, Undeletable, Busy Files
The programs listed on this page are for situations where you have tried to delete, move or rename a file or folder (subdirectory) under Windows only to receive a dialog box with an error message like "Cannot delete [filename]: It is being used by another person or program. Close any programs that might be using the file and try again." (or some other message about sharing violation or the file being in use). In some cases, closing "any programs that might be using the file" is easier said than done, since you might not be able to detect which program is locking that particular file. (Sometimes the culprit is none other than Windows Explorer, or some DLL loaded by it.) The programs listed here work around this problem to delete the locked, busy, undeleteable or currently used file - some of them do this by scheduling the file to be deleted the next time you reboot the machine. Other programs close the handle that the process (program) has open on that file, and delete the file. Still others kill the process holding the file open before deleting it. And there are programs that try all of these methods (and possibly more) to remove the file that refused to be removed.
If you are looking for step-by-step instructions on how you can remove an undeletable file, check out HowToHaven.com's tutorial on How to Delete Undeletable, Locked, Busy or Currently In-Use Files in Windows.
Free Windows Utilities to Delete Undeleteable, Currently In-Use, Locked, Busy Files
Unlocker
Unlocker uses a variety of methods to delete the persistent or locked files, including attempting to close the handle, killing the process holding the file open, unloading the DLL that may have open the file handle, scheduling the file to be deleted on the next reboot, etc. It integrates with Windows Explorer and can be accessed simply with a right click on the filename within Explorer. A command line interface is also available. The program works under Windows 2000, XP and 2003.
WhoLockMe
If you have ever received a message from Windows like "Cannot delete (filename). There has been a sharing violation. The source or destination file may be in use" when you tried to delete, move or rename a file, then this program may be helpful. It integrates with the Windows shell, and provides you a right click context menu that when used, identifies the processes (running programs) that have locked that file, preventing it from being deleted, moved or renamed.
FileAssassin
FileAssassin deletes locked malware files using a variety of methods, including unloading modules, closing remote handles and terminating processes. You get to select the method that the program uses from its user interface. The program works in Windows 2000, XP, Vista and NT. There is also a portable version that you can use from a flash / USB drive.
FreeFile
FreeFile attempts to free locked DLL and EXE files (so that you can delete, move or rename them) by locating the processes that have open handles to them. You can then terminate the process from within the program. The program requires you to have installed the .NET framework. It works under Windows 2000 and XP.
Boot Deleter
Boot Deleter integrates with the Windows shell allowing you to mark files for deletion the next time Windows restarts. You can mark the files either using the context menu, the command line interface or dragging and dropping the files into the BootDeleter executable icon.
UnLock IT
This utility allows you to identify the processes (running programs) that are keeping a particular file open (and thus preventing you from deleting, moving or renaming it) and terminate those processes.
DelLater
DelLater is a Windows command line program that allows you to delete files currently in use. It uses the Windows MoveFileEx() API function, which basically schedules a file for deletion during the next reboot. It requires Windows NT/2000/XP.
BusyDelete (BDel)
BusyDelete allows you to delete files that are busy (currently in use) by marking it for deletion by Windows during the next reboot of the system. The program works under Windows 95, 98, ME, NT, 2000 and XP. It is a command line program that requires you to open a console window (sometimes called a DOS prompt) to use it