How to Delete Files Even When Windows Says “file access denied”
January 20th, 2008 | 3,460 views | Published in How To's, Windows Help
How To Delete A File When ..
- Windows says ‘file access denied’.
- - ‘File in use’ error.
- - Can’t delete a file (insert cryptic reason).
- - Rebooting doesn’t help delete the file
Despite all its quirks, Windows does do some things for a good reason. Some files need to be locked down when they are in use, otherwise you risk damaging the file or harming the Operating System. Unfortunately Windows XP seems to be plagued by files that cannot be deleted. These are frequently simple files like videos (AVI), MP3s or other seemingly harmless files. You try to delete the file, Windows waits a few seconds before announcing that access is denied, the file is currently in use and cannot be deleted. However, you know it’s not in use and you just want it deleted.
If you have encountered this problem, here is a step-by-step process for trying to purge the files you can’t delete. It starts with the basics for Windows XP and moves on to more involved tricks. The process will work for all recent Windows releases, but Windows XP has been causing the most the problems, so we will focus on it. Please note: we are assuming that the file is not crucial to the operation of Windows – deleting important system files can cause havoc.
- Is the file in use? It sounds obvious but it happens. If it is being used or open, close the file and the application that opened it. For example, if it is a Word document, close Microsoft Word.
- If the file was opened in an application (and subsequently closed), but the program is still running, try quitting the program. Windows will lock a file because the application hasn’t yet released it. This is not always Windows fault and can be the fault of the program.
- If the file is an AVI, in particular a DivX AVI, try renaming it and then deleting it. DivX files don’t get on very well with Windows XP and sometimes renaming the file can trick Windows into releasing it.
- Reboot your PC and don’t start any programs. Go directly to the file and delete it.
- In Windows Explorer, switch to View-Details and then select View-Choose Details. Uncheck everything except the file name. This stops Windows XP trying to read the file – this problem affects many video, audio and graphics files.
- Still no luck? OK, here is the best trick of all. Most sites give you cryptic Windows registry and DOS commands to remove a file, but the answer is so much simpler.
- Get a copy of Unlocker. It’s free and this simple tool that allows you to “unlock” a file handler. If the process refuses to let go of the file, there’s an option to kill the process as well. There are no messy boot or DOS commands, just a simple 3-step process.
- 1. Simply right click the folder or file and select Unlocker

- 2. If the folder or file is locked, a window listing of lockers will appear

- 3. Simply click Unlock All and you are done!
- Click OK to confirm you want to process. The nice thing is that the program doesn’t make you reboot straight away. It’s a good idea to reboot ASAP, but if you are in the middle of something and want to wait, the program will simply run next time you start Windows.
- If the file reappears again (check its creation date to ensure it is being recreated) and you can’t make it budge, you may have trouble with spyware or a virus on your system (don’t overlook the possibility it may also be an important system file). In this case you should get a good spyware removal program to scan your system.
Best of all this is a free software that can be obtained from http://ccollomb.free.fr/unlocker/
Below is a list of software that does the same thing as Unlocker, but I find unlocker to be the best of the lot, as well as being one of the easiest to use
| Application | Close handle |
Kill process |
Unload DLL |
Delete index.dat |
Delete Rename Move |
Invalid Names |
Without reboot |
With reboot |
Context Menu |
Command Line / GUI |
Free | |
| Unlocker 1.8.5 by Cedrick Collomb |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Process Explorer by Sysinternals |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| ForceDel by Zoltan Csizmadia |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| WhoLockMe by Dr-Hoiby |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| FreeFile by Skrubbeltrang |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Take Control by Computers In Motion |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| UnLock IT by EMCO |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Advanced Process Manipulation by DiamondCS |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| DLL Master by Tony Shaftel |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| 12Ghosts Wash by 12ghosts |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| czSweep Cookie Boss 1.31 by Frank Kotasek |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| DelinvFile by James A. Lawler |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Del FXP files by JRT Wine Software |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Pocket KillBox by Option^Explicit |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Locked Files Wizard / Copylock by Noel Danjou |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| GiPo@MoveOnBoot by Gibin Software House |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| DelLater by DiamondCS |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Delete Doctor by Kevin Solway |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| BusyDelete by Freezerware |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Boot Deleter by TNT-BootBlock |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |




