How To Delete A File That Is In Use By Another Person Or Program
Ah, the joys of Windows XP. Ever go to delete a file, only to be met with the annoying error message, “Cannot delete <filename> It is being used by another person or program. Close any programs that might be using the file and try again.” ?
This behavior is meant to prevent you from hosing things up by deleting files that shouldn’t be deleted. Unfortunately, while the safeguards work most of the time, there are sometimes glitches, particularly with network files and background applications. Sometimes, you are not able to delete a file, even though no other program is actually using it. In other cases, you don’t really care whether another program is using the file, you just want the file gone!
Of course, the first thing you should do is make sure you know what you’re doing. If you are sure that the file you want to nuke is not an important system file, or an important part of some software package, you have a couple of options.
One method of deleting locked files is to reboot your computer. When you restart your computer, you are killing all processes that might be using the file. This usually works. But not always. The downside of this method is that it can be annoying and time consuming to reboot your workstation.
Another method is to kill Windows XP’s “explorer.exe” process, delete the file, then restart explorer. To do this, hit CTRL-ALT-DELETE to bring up Task Manager, then highlight “explorer.exe” and choose “End Process.” However, this method is not recommended: when explorer starts back up, your computer may not be in the exact state in which you left it. (For instance, you may notice that some icons are missing from your system tray.)
Fortunately, there is another way.
Unlocker will remove a file’s access restrictions that prevent your from moving, deleting, or renaming a file. The way it works is this: You install the program, and it runs in your system tray. Whenever you encounter the dreaded File is in use by another person or program message, Unlocker Assistant will pop up and ask you if you want to break the hold that some other application has on your file. You simply highlight the file you want to delete, hit “unlock,” and voila, problem solved.

March 13th, 2010 at 7:04 pm
[...] How To Delete A File That Is In Use By Another Person Or Program (eddieoneverything.com) [...]