# Weird XP issue (can't delete files)

**URL:** <https://boards.straightdope.com/t/weird-xp-issue-cant-delete-files/539296>\
**Category:** In My Humble Opinion\
**Created:** [May 13, 2010, 2:49pm UTC](https://boards.straightdope.com/t/weird-xp-issue-cant-delete-files/539296 "2010-05-13T14:49:04Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arglefraster](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@Arglefraster](https://boards.straightdope.com/u/Arglefraster)\
**Post date:** [May 13, 2010, 2:49pm UTC](https://boards.straightdope.com/t/weird-xp-issue-cant-delete-files/539296/1 "2010-05-13T14:49:04Z")

</div>

Just looking for thoughts/ideas on this odd issue I had come up today.

One of my users has two files on his desktop that he can’t delete. Both filenames are giberish with a “.” at the end, with no file extension. If you try to delete, rename, copy, or move the file, you get “Unable to read from source file or disk”. File size is 0. I tried using Hijack This to delete the files on startup, but no luck. No errors from Hijack This, but the files are still there.

Googling has turned up the following fixes, none of which have worked.

Try to delete in Command Prompt, but put \?\ at the beginning of the file name (so del “\?\C:\Documents and Settings\user\Desktop\filename.” I get “Unable to find” the file, same as when I use the del command without \?\ at the beginning.

Set it to open with Notepad and then open it. You get the error “This file does not exist. Would you like to create a new one?”. Click Yes, type something, then save. It’s supposed to overwrite the broken file with a new one that you can then delete. But when I tried it just created another copy on the desktop with the same filename (which shouldn’t even be possible). I can delete the copy I make this way, but still can’t delete the original.

Open a Command Prompt, then open Task Manager. Kill explorer.exe (so the Start button, task bar, etc disappear). Use Alt-Tab to get to your open command prompt window, and delete using the del command. This is supposed to bypass Windows Explorer’s file indexing, which is theoretically causing the problem. I still get the “unable to find” error when I try this.

Open Notepad. Go to File - Open, browse to the file, then right-click and choose Delete. This is also supposed to bypass Windows Explorer’s file indexing. This gives me the same “unable to read from source” error as when I try to delete from the desktop.

I’m starting to think the only way we’re getting rid of it is to reinstall Windows, which of course he’s not in a big hurry to do since this is mostly just an annoyance right now. This is driving me nuts. Any ideas?

---

<div class="post-metadata">

**Author:** ![Dragwyr](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/dragwyr/32/2855_2.png) [@Dragwyr](https://boards.straightdope.com/u/Dragwyr)\
**Post date:** [May 13, 2010, 3:20pm UTC](https://boards.straightdope.com/t/weird-xp-issue-cant-delete-files/539296/2 "2010-05-13T15:20:54Z")

</div>

I suggest you try a program called, “Unlocker”. It will either unlock the files in question, or kill the process that is preventing those files from being deleted. Here is the link:

[http://www.download.com/Unlocker/3000-2248\_4-10493998.html?tag=mncol&cdlPid=10838644](http://www.download.com/Unlocker/3000-2248_4-10493998.html?tag=mncol&cdlPid=10838644)

---

<div class="post-metadata">

**Author:** ![Jormungandr](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@Jormungandr](https://boards.straightdope.com/u/Jormungandr)\
**Post date:** [May 13, 2010, 4:02pm UTC](https://boards.straightdope.com/t/weird-xp-issue-cant-delete-files/539296/3 "2010-05-13T16:02:32Z")

</div>

You can try File Assassin

> **[Free Antivirus 2023 | Free Malwarebytes Download | 100% Free & Easy...](https://www.malwarebytes.com/mwb-download)**
>
> Download free antivirus: easy install for all devices. Remove unwanted malware like viruses, ransomware, spyware & more.

---

<div class="post-metadata">

**Author:** ![yevgeny](https://avatars.discourse-cdn.com/v4/letter/y/839c29/32.png) [@yevgeny](https://boards.straightdope.com/u/yevgeny)\
**Post date:** [May 13, 2010, 4:29pm UTC](https://boards.straightdope.com/t/weird-xp-issue-cant-delete-files/539296/4 "2010-05-13T16:29:11Z")

</div>

It probably won’t delete because there are “special” characters in the filename. There’s a program called Delete FXP Files that was specifically designed for this kind of thing: [http://www.jrtwine.com/products/dfxp/index.htm](http://www.jrtwine.com/products/dfxp/index.htm)

I’ve had to use this before when our anonymous FTP got tagged by warez kiddies. The software is free, you won’t need any of the “upgrade” features.

---

<div class="post-metadata">

**Author:** ![Czarcasm](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/czarcasm/32/4050_2.png) [@Czarcasm](https://boards.straightdope.com/u/Czarcasm)\
**Post date:** [May 13, 2010, 4:30pm UTC](https://boards.straightdope.com/t/weird-xp-issue-cant-delete-files/539296/5 "2010-05-13T16:30:27Z")

</div>

Or [Ccleaner.](http://www.piriform.com/ccleane)

---

<div class="post-metadata">

**Author:** ![Quartz](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/quartz/32/267_2.png) [@Quartz](https://boards.straightdope.com/u/Quartz)\
**Post date:** [May 13, 2010, 5:05pm UTC](https://boards.straightdope.com/t/weird-xp-issue-cant-delete-files/539296/6 "2010-05-13T17:05:01Z")

</div>

Open a command prompt and go to c:\Documents and Settings\*Username\*\Desktop and delete them from there.

And do a scan for malware.

---

<div class="post-metadata">

**Author:** ![Valgard](https://avatars.discourse-cdn.com/v4/letter/v/7feea3/32.png) [@Valgard](https://boards.straightdope.com/u/Valgard)\
**Post date:** [May 13, 2010, 6:20pm UTC](https://boards.straightdope.com/t/weird-xp-issue-cant-delete-files/539296/7 "2010-05-13T18:20:07Z")

</div>

Can you do a delete using a wildcard? For example if the file is named “abcdefg.” (and assuming there’s some kind of hidden characters after the “.”), do this from the command prompt:

DEL abcd\*

That should kill it regardless of what the last few characters of the name are.

ETA - there are also some switches you can use with DEL, like /A H to kill “hidden” files. Do a DEL /? to see a list of options.

---

<div class="post-metadata">

**Author:** ![Doctor](https://avatars.discourse-cdn.com/v4/letter/d/e0b2c6/32.png) [@Doctor](https://boards.straightdope.com/u/Doctor)\
**Post date:** [May 13, 2010, 11:58pm UTC](https://boards.straightdope.com/t/weird-xp-issue-cant-delete-files/539296/8 "2010-05-13T23:58:34Z")

</div>

Another possibility is that the files are corrupted. Run a disk check on your disk if the above methods don’t solve the problem.

---

<div class="post-metadata">

**Author:** ![Superhal](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Superhal](https://boards.straightdope.com/u/Superhal)\
**Post date:** [May 14, 2010, 2:45am UTC](https://boards.straightdope.com/t/weird-xp-issue-cant-delete-files/539296/9 "2010-05-14T02:45:38Z")

</div>

I’d try a registry cleaner first.

---

<div class="post-metadata">

**Author:** ![Arglefraster](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@Arglefraster](https://boards.straightdope.com/u/Arglefraster)\
**Post date:** [May 14, 2010, 12:15pm UTC](https://boards.straightdope.com/t/weird-xp-issue-cant-delete-files/539296/10 "2010-05-14T12:15:56Z")

</div>

Thanks for the suggestions. I sent the user an email asking him to let me know when he has some time for me to try some more stuff. I’ll let you know how it goes!

---

<div class="post-metadata">

**Author:** ![Musicat](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/musicat/32/20189_2.png) [@Musicat](https://boards.straightdope.com/u/Musicat)\
**Post date:** [May 14, 2010, 12:22pm UTC](https://boards.straightdope.com/t/weird-xp-issue-cant-delete-files/539296/11 "2010-05-14T12:22:23Z")

</div>

You didn’t mention rebooting the suspect computer, but if it’s a file that is locked by an app, that should release the lock. Just to be sure, disable all items in the startup group, then reboot. That way, no ordinary app will have a chance to re-assert the lock.

My money’s on the illegal/invisible chars in the filename. Someone is trying to prevent you from removing it.

---

<div class="post-metadata">

**Author:** ![Arglefraster](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@Arglefraster](https://boards.straightdope.com/u/Arglefraster)\
**Post date:** [May 14, 2010, 2:04pm UTC](https://boards.straightdope.com/t/weird-xp-issue-cant-delete-files/539296/12 "2010-05-14T14:04:45Z")

</div>

Yay, the files are gone!

Those files had actually been there a few weeks before he called, so he’d already rebooted a bunch of times and still couldn’t delete them, and I forgot to mention in my OP that I had already tried check disk. I tried using a wildcard and the delete hidden files switch on the del command, but that didn’t work. Then I tried **yevgeny** ’s Delete FXP Files link, and that finally got rid of the bastards!

I’ve got a malware scan running now just in case.

---

<div class="post-metadata">

**Author:** ![Darkhold](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@Darkhold](https://boards.straightdope.com/u/Darkhold)\
**Post date:** [May 14, 2010, 5:01pm UTC](https://boards.straightdope.com/t/weird-xp-issue-cant-delete-files/539296/13 "2010-05-14T17:01:34Z")

</div>

I came in to mention that I had a similar situation (though it looks like the OP has solved it now). Nothing and I mean NOTHING would touch those folders. Not even any of the Kill-Bits guaranteed to delete any file programs worked. I even did clean install of my operating system (the folders were on the D: Drive) and that didn’t help. Interestingly when I installed windows 7 the error it gave me was slightly different (it gave me an error stating I need the permission of the file’s owner with some name I can’t remember) The way I ended up getting rid of them was to move all my stuff off the drive FORMAT it.

Mine appeared shortly after a Windows update and to start with it did have some temp files in it. I was able to delete the files inside of it fine just not the folder. I don’t think it was a maleware issue as they were never flagged on a virus scan and I’m pretty sure they appeared after a service pack update.
