cancel
Showing results for 
Search instead for 
Did you mean: 

cannot delete file

morgan2476
Grafter
Posts: 279
Registered: 13-08-2007

cannot delete file

My son downloaded a file and no matter what i do it will not delete. It is a DVDSCR.XvID file and when i try and delete it i get the following message - Cannot delete the file it is being used by another person or program.

Help!
4 REPLIES
Community Veteran
Posts: 4,729
Registered: 04-04-2007

cannot delete file

Try rebooting, Ok, I know that you may have already tried that.

Chilly
Community Veteran
Posts: 38,310
Thanks: 972
Fixes: 57
Registered: 15-06-2007

cannot delete file

Couple of things to try - first is to take ownership as here http://support.microsoft.com/Default.aspx?kbid=308421
If that doesn't work try booting into safe mode and see if you can delete from there.
Final suggestion - if you have an XP install disk (not OEM) then download Bart PE from here and create a boot disc from which you should certainly be able to delete it. http://www.nu2.nu/pebuilder/
N/A

cannot delete 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.

1. 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.
2. 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.
3. 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.
4. Reboot your PC and don't start any programs. Go directly to the file and delete it.
5. 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.
6. 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 MoveOnBoot. It's free and this simple tool allows you to Move, Copy or Delete files before Windows can lock or alter the files. The changes are made to your hard drive before Windows starts, hence it requires a restart of your system after you give MoveOnBoot its instructions. There are no messy boot or DOS commands, just a simple 3-step process.

Step 1: Locate the name of the file that is causing your problems.

Step 2: Decide if you want to copy, move or delete the file.

Step 3. Choose a destination for moving the file, or a new file name for the rename option (this option won't appear if you are deleting a file).

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.

7. 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.
Get move on boot from


http://www.softwarepatch.com/software/moveonboot.html
morgan2476
Grafter
Posts: 279
Registered: 13-08-2007

cannot delete file

Thanks for the help i eventualy got rid of the file by uninstalling some software thanks