Sometimes you want to delete a file but when you do so an error message pops and tells you it cannot be done.
Do successfully delete an undeletable file that is caught be the explorer.exe process (and most of them are) do the following:
Note: The <CTRL+SHIFT+ALT> at the ‘Shut Down Windows’ dialog method of closing Explorer is built into Explorer. (It was specifically designed so that developers writing Shell Extensions could get Explorer to release their Shell Extension DLLs while debugging them).
(Tip modification submitted by James R. Twine who has a great utility called Delete FXP Files that can help you delete files and folders that simply won’t go away).
Another cool tool that will allow you to delete any undeletable file is Unlocker (author’s web site can be found HERE).
After installing the tool you will get a new context menu option when right-clicking any file in Windows Explorer.
If the folder or file is locked, a window listing of lockers will appear:
Simply click Unlock All and you are done!
Download Unlocker 1.8.5 (192kb)
You might also want to read the following related articles: