File cannot be deleted

I copied a Divx file on a NTFS XP drive.
I can open it with any usual Media player...The file is unreadable.
But now that I have triedto read it, I can't delete it.
I receive the 'file already in use by another...' when trying to delete from Explorer.
Doing this also hangs Windows Explorer.
That is of course also true after reboot...

Can anybody help ?
niklosAsked:
Who is Participating?
 
shivsaCommented:
check this post. Crazyone has given very good answer over here.
http://www.experts-exchange.com/Operating_Systems/Q_20341983.html
0
 
chicagoanCommented:
reboot and delete the file from the command line, explorer is trying to preview the file and hanging

0
 
sunray_2003Commented:
If you are not able to delete , try doing this


HOW TO: Take Ownership of a File or Folder in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;308421&sd=tech

HOW TO: Set, View, Change, or Remove File and Folder Permissions in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;308418 

http://www.theeldergeek.com/delete_undeletable_file.htm

Sunray
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
shivsaCommented:
Simplest solution is to close any process or programs that might be using the file, and then delete it.
<ctrl-alt-del> and end the processes the might be using this file.
0
 
shivsaCommented:
also check scan the file for possible virus, some of the divx/media files comes with the viruses and can not deleted just like that since some virus process using then or kept open them.
0
 
ho_alanCommented:
if you still can't delete that file, try to delete in DOSprompt first
if still fail, use a DOS boot disk
then delete it by DOS command
del xxxxxx.avi
0
 
niklosAuthor Commented:
The right answer was to remove the InProcServer32 registry key, reboot and delete the file.
Using recovery console may also work but so painfull...

Gre
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.