Every morning for the last two weeks I’ve been distressed to find my primary Windows XP system blue screened when I walk into my home office. The problem, I discovered pretty quickly, was with Safety_Net, my home network’s large backup drive.
Within the folder H: ImaginationBox – Primary Daily Sunday Documents and Settings Pariah Local Settings Temporary Internet Files Content.IE5 ONBR2CHP was one URL file with a zero byte size and an incredibly long, useless name that began with “click%20>%2>%6e…” Everyday, when the back up software tried to remove this orphaned file, it would crash the system to a BSOD (“Blue Screen Of Death,” for those non-power users).
No matter what I tried, I could not delete this file. I ran virus check on it. I tried to manually delete it through a command prompt. I tried several different file managers. I tried to rename it. I tried to move it. I tried offering it money to go away. Nothing.
Today, after calling the drive a loss and looking at prices on another external drive, I stumbled across the solution online. And now Safety_Net is back up and, uh, backing up.
If you have a file on your Windows XP or 2000 computer you can’t delete, try this method:
- Note: Simple directions provided for non-power-users (e.g. how to launch Task Manager the simple and long way).
- Locate the undeletable file, and remove all other files in that folder (move them to somewhere else or delete them).
- Close all running applications.
- Open a Command Prompt window by going to Start > Run, then typing in CMD and hitting OK
- Navigate to the folder where the problem file exists (i.e. “cd c:myfiles”). If you don’t know how to navigate in Windows’s Command Prompt window, you should probably ask someone for help with this procedure.
- Leaving the Command Prompt window open, open Task Manager by going to Start > Run, then typing in TASKMGR and hitting OK
- On the Processes tab find EXPLORER.EXE
- Highlight (click once on) EXPLORER.EXE and press the END PROCESS button, confirming your choice despite the warning.
- Leaving Task Manager open, switch back to the Command Prompt window.
- Type, without the quotes: “DEL *.*”, this will delete everything in the directory/folder, including the undeletable file.
- Type “EXIT” to close the Command Prompt window
- Switch back to Task Manager and, on the File menu, choose New Task (Run).
- In the dialog box type EXPLORER.EXE and hit OK.
Now your computer is back to normal and the undeletable file is deleted.
nice info.… iahve a couple of those pesky file types myself
Darn, the file is still there. Almost tempted to reformat just to get rid of it.
Nice! I’ve been bothered by one of these dodgy files for a couple of weeks. It wasn’t really anything other than it was THERE that finally caused me to google myself a solution. Your page was the first to be chosen. Thanks for the help!
you da man! what causes that to begin with?
I have tried your method on a (rather large) file that I can’t delete. I can move it around and rename it but I get ‘access denied’ whenever I try to delete it. Any ideas?
Thanks for the info. The damn file on my harddrive is gone for good now. You ROCK!!!!
I had the same problem once, with a very large file. The procedure discribed above is will work with a little detail: try typing “del *.* /F” in the command prompt. You don’t have to end the explorer proces, too.
Hope it helps. greets, nico
Hey guys, thanks Pariah for the trick. one little problem… I have an undeletable file directly in the C: drive, but not in any folder. I can’t move it. It keeps saying that the file is in use by another person or program. I’ve tried everything. I had this same file 3 times on my machine, your trick worked twice, but this time, I can’t move all the content of drive C to somewhere else, to delete the file… Any suggestion??????
If a file can’t be deleted is because a process is holding it (locking it, better).
Try this utility to find out the process and kill it before.
http://www.dr-hoiby.com/WhoLockMe/
Hey Dieguti, nice tip, but still didn’t work out. I found a solution, I guess this could help some others: Go to start, then “run”, type in CMD. Go to the drive where your file is: cd c: , then type DIR/x. note the name of your file (for example filena~1.xxx), then type del filena~1.xxx. First you have to shut down all running applications.
TERRIBLE!!!!!! I Killed it!!!!!!
Pariah, you are the greatest. I had a file on my computer for months. It wasn’t doing anything, but it was always in use from another program! Nothing I tried worked,so I went on Google and this site was the first on the list. THANK YOU SO MUCH! BEGONE, PESKY FILES!
/me takes out undeletable file Sword
I too have a folder with undeletable files in, its a left over of nortons proctected bin, id been merrily deleting it to get rid, but didnt empty the files at one stage i believe, i now cannot remove any more of the files, have tryed all the solutions and lots of files went but some are staying and it’s complaining that it cannot find specific file or files.
the offending files are named 00000001. 00000017. 00000018. etc reinstalling norton just reassigned the folder with stuff in, but it’s not there to delete…just about giving up on this one, format c: could be the one for me!!
I got a file in the temporary internet folder content.ie5. The file names are not big but they are like asci 167 or some other char set. Del*.* or rmdir didn’t work.╜ ╔ ╪ Φ .≈ there is an example of one filename. Any Help please. Feel free to email me at [exposed e‑mail address removed to protect the owner from spam. To contact the author, click on his name above. –Editor]
I tried to delete a file with command prompt but was not getting the file name correct. I then tried what one user’s tip—type “DIR/x” command, and it gave me the correct file name. What a relief!!! Cheers to the no named post!!!
Thanks man, I needed that. I downloaded this movie file and took me three days just for it to be finished afterwards it didnt wanna work and doesnt wanna be deleted and this method of yours worked. God, thanks a lot man, I owe you one… Thanks
Totally awesome! I tried it Nico’s way and got the 275mb back that I lost to an evil undeletable .avi file. Glad it wasn’t in the root of one of my drives, it was in a folder. And it sure is nice to say that it WAS in a folder too. Now that sucker is gone. Good riddance!
and if it’s a directory that has subdirectories that can’t be deleted, try using “rmdir /S bad_files”, where bad_files is replaced with the correct name you got from the DIR/X command above.
these undeleteable directories and files have been driving me crazy until i found this thread!
thanks!
Thanks so much for this, i had a file that was stuck right in my downloads file that just didn’t want to remove itself, i gave up counting the ammount of utilities i dled to try and get rid of it. Thanks alot, i owe you one.
Thanks for info! I had a file do this to me while I was backing up some data. The cd-writing program changed a file name so that it can properly burn it. IT was a very long file name which was truncated with the like so: “Site_E~.gif”. So the file “did not exist” because of this till Google and your blogger came in the picture. = )
BTW, do NOT pay $9.95 for help on this question. Example: http://tinyurl.com/533wt
LOL!
WarSo I’m a college student and instead of studying last night for my quiz today I stayed up until 5 am trying to delete a file that is on my desktop that won’t go away. Sounds crazy I know but when I’m trying to figure something out I don’t stop until the sun comes up or I figure out the answer.
Well the sun came up.
When I attempt to delete the file I get the reply “Cannot delete “file” : cannot find the specified file”
On June 1st another user had the same problem but was able to fix theirs by going into cmd and deleting the file using its short name plus its file extension.
Here’s the link to the message on expert-exchange:
http://www.experts-exchange.com/ Operating_Systems/ WinXP/ Q_20632707.html#8623289
I have also attempted to take ownership of the file but that did not work. I have tried to delete the file in cmd but I’ve done the problem is, when I look up the file’s short name using dir/x the corrupt file short name is listed but it doesn’t have an extension. That being the case I can’t type the short name cmd to delete it.
So I was hoping that with my 5 am sob story, someone might actually know how to fix this and be able to help me out.
I’ve created a screen capture that might allow you to visualize exactly what I am talking about its located here:
http://lennon.csufresno.edu/ ~jkc26/ screencapture.jpg
Thanks for your time and knowledge, it’s very appreciated.
[e‑mail address modified to hinder spamming – Ed.]Azz3879 (at) hotmail.com
Not working here. I have a file on my desktop called: “CAQ7MR6T.” The icon on my desk is transparent like it was a system file but its not. When i try to delete in win i get a msg telling me that the file dosent exists. Also its not wieable from dos so i cant delete that way
Anybody know how to solve this??
thanks so much chad.
I had tried everything until I read about yours. You’re a life saver!
Did this help?
That’s great! I’m glad I could nelp, nic0!
Bri, have you tried renaming the file?
A variety of things–file corruption, the system assigning root level permissions for a file operation and never releasing them, illegal characters in the name, etc.
Then again, it could very well have been malisciously set by some jerk website owner.
Lazz: Hmm. Have you tried a file repair utility like Norton Utilities or OnTrack PowerTools?
Heinz: Great! I’m glad I could help.
Excellent! I hope Nico’s advice helps some of those for which my method hasn’t worked.
Its pretty cool that this one little post on my humble blog has become a resource to people experiencing problems on their systems.
Laffs,
I would strongly recommend you contact Symantec (Norton) Technical Support. If you do it via e‑mail/web form at http://www.symantec.com, just send them exactly what you wrote above. They should be able to help you. I doubt you’ll be the first person they’ve heard from with that issue.
Chris M:
Cool beans! I’m glad I could help by sharing my experience and solution.
It doesn’t work after following your suggested way.
I just need to delete a protected folder, of which access is denied each time I click at it.
How do I delete that folder? I tried to type ‘rd’ using run, no ways.…pls help.
Thanks for the help i had files on my computer that started from $ sign and were un deleated ‚now with Your help they r Gone.Thanks again for Your help.
This solved my problem.
Many thanks to you.
Later
Space
thanx a zillions!! i tried every trick in the book to redeem myself of these pesky files, but your’s is the only way that hit home. You rock!!
I have a bad file that I can’t get rid of and I tried looking up the directory name by going through CMD and then typing dir/x but it didn’t give me the directory name that I need. The file is on my desktop in a folder called Music and I moved everything else out of that folder so I can affectely delete the file Music. By the way, I couldn’t even type other directory names because CMD said it was invalid. What do I do? HELP!
Using the DIR/x sorted it :D
i been upfor about 4 hours trying to do this, thanks to the anon tipoff i am sorted by finnally learning the file name :D:D:D:D
i am sooooooooooo happy i can go to bed!
:D:D:D
ive jst downloaded a program and one of them stupid files came with it!
i couldnt move it, delecte it, rename it, see its properties or anything to helpme get rid of it. i am a computer whizz myself to be honest however tis one did bafle me. I have been trying a similar method four 3 hours and then finally i came across this method.
This Work first time and now i can go to bed.
Thanks for the help
:P
Hi,
This helped me so much, those method using command prompt other people suggested didn’t help and I was looking for something as simple as delete the folder to fix it. Thanks :).
I tried this and for some reason it’s not working for me it tells me that the file is in use by another person. I followed you’re instructions word for word but I am not getting anywhere i still have about 5 or 6 files in there.
I think I am going to try nico’s advice i guess i should have read on seeing as how this may work
:( i still didn’t get no where. Thanks for the help though.