Question

Weird file I can't delete on my desktop - Cannot delete file: Cannot read from the source file or disk.

Asked by: ajmco

Ok, I've been trying to tackle this for hours, days even. I've seen lot's of other activity on this, but have not found a suitable solution. This is my last hope!

There is a file on my desktop that I cannot delete, named del  "CA6FKTS5."    (no quotes)
It is greyed out and anytime I try to move it or delete it I get the error:
   Cannot delete file: Cannot read from the source file or disk.
   or
   Cannot move file: Cannot read from the source file or disk.

I have tried this in a command prompt:
del  "\\.\C:\Documents and Settings\Administrator\Desktop\CA6FKTS5."    (to no avail)
del  "\\?\C:\Documents and Settings\Administrator\Desktop\CA6FKTS5."    (also, no workie)
Both generate the DOS error:
   Could not find \\.\C:\Documents and Settings\Administrator\Desktop\CA6FKTS5.

I've tried Chkdsk /f   (that didn't clean it out)

I've tried a program that's supposed to delete files on boot.

I've tried in Command Prompt: dir /x    
It doesn't even show in the list.

I've tried this one too:
  Created a new file on the desktop named "CA6FKTS5."
  Windows won't let me name it that, so it actually gets named to: "CA6FKTS5"
  Then I try to delete both, that doesn't do anything either.

The file name is obviously invalid, but I have been able to employ any of the previously discussed methods for escaping those invalid chars and calling del at the command prompt. It looks like lots of other people have success with that, so I'd just stumped...

I've added a pic of my desktop just so you don't think I'm screwing with you :)

I'm on Windows XP SP3

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-08-26 at 18:18:43ID24685251
Tags

cant delete file

Topic

MS DOS

Participating Experts
6
Points
0
Comments
25

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. WEIRD Problems installing SP3
    OK, here it goes (quite weird): I installed Logitech drivers fro my mouse in WIN2K using Wiondows Update (on my dual-boot 98/2K laptop), it caused my WIN2K cursor to "shake" (probably a conflict with my laptop pointing device), and in win98 (go figure why and how...
  2. Chkdsk problem -
    When i try to defrag my C: drive it says that a chkdsk is scheduled for the next reboot. When i reboot, there is a problem where it says that another program is trying to run a chkdsk, so it skips C: and does the other partitioned drive? Any suggestions, thanks. Mike
  3. pic in the cmos
    how shall i be able tot inserta picture in cmos. what will the format of the picture? whatcan be the maximum size of the pic ture
  4. Cant add a pic to my desktop.
    I cant add any pics into my desktop thing, the only way i can do it is if i right click on the pic and go set as desktop and it works. If i try to do another one it del the one that is in there. It is very frustrating. If i click on the browse botton under the desktop tab in ...
  5. Weird CHKDSK Log
    My friend has 8 Winlogon entries in his Event Viewer. 5 of them say that Explorer failed and restarted and the other 3 are the CHDSK logs. The CHKDSK logs all say: Checking file system on C: The type of the file system is NTFS. A disk check has been scheduled. Windows will ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: alienvoicePosted on 2009-08-26 at 18:27:43ID: 25193840

Download a bootable cd rom like Knoppix.

http://www.knoppix.net/

Boot from it and delete it from there. Should have no problems.

 

by: mrwortaPosted on 2009-08-26 at 18:38:41ID: 25193891

The problem is the trialing dot. Windows doesn't like that...

Try this:

attrib -s -h "C:\Documents and Settings\Administrator\Desktop\CA6FKTS5."
del "C:\Documents and Settings\Administrator\Desktop\CA6FKTS5."


If there is an error message please post it.

Maybe you need to kill the explorer.exe using the task manager to unlock the file.

 

by: Michael701Posted on 2009-08-26 at 18:44:22ID: 25193912

How about renaming the file CA6FKTS5.txt then deleting it

 

by: ajmcoPosted on 2009-08-26 at 19:24:40ID: 25194067

Re: MrWorta

Here's the error back:
C:\Documents and Settings\Administrator>attrib -s -h "C:\Documents and Settings\
Administrator\Desktop\CA6FKTS5."
File not found - C:\Documents and Settings\Administrator\Desktop\CA6FKTS5.

So, no go on that one.

---

Re: Michael701
On Rename I get the error:
"Cannot rename file: Cannot read from the source file or disk."

 

by: ajmcoPosted on 2009-08-26 at 19:28:07ID: 25194082

I have previously tried the killing of explorer.exe
Then trying to delete via a command prompt. Using everything imaginable:
del "C:\Documents and Settings\Administrator\Desktop\CA6FKTS5."
del "\\.\C:\Documents and Settings\Administrator\Desktop\CA6FKTS5."
del "\\?\C:\Documents and Settings\Administrator\Desktop\CA6FKTS5."

The problem is that the same error returned:
Could Not Find ... etc.

 

by: mrwortaPosted on 2009-08-26 at 19:28:11ID: 25194083

Please open a command prompt, change to your Desktop directory and enter "attrib".
Is the file listed there?


If not - may it be on the "All Users" Desktop? - Have you checked that dir?

 

by: Michael701Posted on 2009-08-26 at 19:31:56ID: 25194092

Have you tried rebooting in safe mode and deleting the file?

 

by: ajmcoPosted on 2009-08-26 at 19:44:20ID: 25194143

RE: MrWorta
The file is not there in the command window list of attrib or dir in any of the user dirs.

I checked all the users' desktop folders available on the box, administrator, all users, all users.WINNT, etc.

Using the windows search, when I look up: CA6FK*, it does find it in:
c:\Documents and Settings\Administrator\Desktop
 
  and in the list, it is greyed out.


It's like a ghost file, Windows thinks it there, but when it tries to do anything with it, poof, it doesn't exist. And DOS, or the command window can't see it at all...

 

by: ajmcoPosted on 2009-08-26 at 19:45:49ID: 25194155

RE: Michael701
Haven't tried the safe mode thing, but I have seen numerous posts to try this, and the response is everytime, "nope this didn't work".

I'm on the box from VNC, so I can't try right now, but I'll confirm in the morning.
I'm fairly sure that the safe mode solution is a no go, however.

 

by: Michael701Posted on 2009-08-26 at 19:54:21ID: 25194194

i had an issue awhile ago where I couldn't delete any file on the entire drive. I had to safe mode reboot, then chkdsk c: /f before I was able to delete the file. Oh and I also got recent updates (err, bug fixes).

 

by: ajmcoPosted on 2009-08-26 at 20:20:53ID: 25194326

I'm pretty sure this problem is different, just basing that on similar posts I've read.

Mine is a singular file with an obvious illegal character in the filename, which got there god knows how.

I'm sure there is some slick way of removing it.

Oh, someone else recommended stopping the indexing service. Then trying to delete it. Problem is, my Indexing service was already off... so that was a non-starter.

 

by: mrwortaPosted on 2009-08-26 at 20:28:42ID: 25194352

Is the partition FAT32 or NTFS?

 

by: ajmcoPosted on 2009-08-26 at 20:47:45ID: 25194428

NTFS

 

by: Michael701Posted on 2009-08-26 at 21:16:02ID: 25194535

Just for fun, try adding an extra .

del "C:\Documents and Settings\Administrator\Desktop\CA6FKTS5.."

My thought is that it's seeing the . and thinking the file name is CA6FKTS5 with no extension.

 

by: ajmcoPosted on 2009-08-26 at 21:32:09ID: 25194628

Nah, same ol' Could Not Find error.
It doesn't exist in the dir list at all.
I even tried del ca*
Which just inadvertently deleted a few icons I had which started with ca... :)

 

by: Michael701Posted on 2009-08-26 at 21:46:33ID: 25194685

Can you just do a normal reboot and reconnect with vnc? if not, then I'd say wait till tomorrow and try safe mode reboot, then Knoppix option.

Burn a knoppix boot iso tonight, then you'll have to make sure boot from cd is enabled on the machine

 

by: BillDLPosted on 2009-08-26 at 22:23:39ID: 25194830

I don't think it is a coincidence that the name is the same format as a Temporary Internet folder name and file name.  See screenshot.  I would certainly delete the contents of the Temporary Internet Files to start with.

I am wondering if a recent Windows Update is causing strange behaviour.  Note from the following E-E question that the user opened a Word Doc attachment from an email and a temp file was shown on the Desktop while the attachment was open.  That temporary file would normally be created in the user's Temporary Internet Files folder, so it was olmost as though something was making his Desktop act like that folder:

http://www.experts-exchange.com/Q_24667907.html

Have you tried alienvoice's suggestion of booting the system to a Linux Live CD?

That would be my preference.  You just mount the C Drive and try to delete the file from within the file browser supplied by whatever version of Linux you are using.  Every Linux Live CD I have used is able to mount NTFS volumes, and Linux usually doesn't have the same issues with illegal file names and other issues that you get with Windows.

Just in case you are not familiar with burning a bootable Linux Live CD, all you need to download is the *.ISO CD Image and load that into your usual CD Burning application using the method prescribed in that application for burning a bootable CD from an "image file".

Knoppix is the most regularly used for this type of thing (as suggested by alienvoice), but you can use others like Ubuntu, Damn Small Linux, PCLinuxOS, Linux Mint, and SuSE Linux just the same.

You will find *.ISO files here, or at least links to the pages with the links:
http://www.livecdlist.com/

You mentioned that the file (it could also be a folder) doesn't show in a Command Window DIR listing.  Did you try navigating to the desktop and then listing the contents with the /a switch?

C:\Documents and Settings\Administrator>
cd desktop
dir /on /a *.*

If it is listed, then COPY the file or folder name (inclusive of any trailing spaces and other characters), then paste back in after a DEL command.

Did you do a search in Regedit for instances of CA6FKTS5 ?

 

by: BillDLPosted on 2009-08-26 at 22:25:29ID: 25194836

Oh right, you're on VNC right now.  I hadn't noticed.

 

by: ajmcoPosted on 2009-08-27 at 06:33:12ID: 25197895

Whoa, it does show with the /a attribute on the DIR!  I'm going to try and rmdir it instead of del...

Well, a new error msg now:

C:\Documents and Settings\Administrator\Desktop>rmdir "\\?\c:\documents and
settings\Administrator\Desktop\CA6FKTS5."
The directory name is invalid.


Hmmm...  Trying it straight up then -->
C:\Documents and Settings\Administrator\Desktop>rmdir "c:\documents and settings\Administrator\Desktop\CA6FKTS5."
The system cannot find the file specified.


Ok, so no go, but I'm definitely closer.

 

by: ajmcoPosted on 2009-08-27 at 06:36:25ID: 25197938

When I do: dir /as
it shows, so windows takes it as a System file of some sort.

It also shows under
dir /aa
dir /ah

 

by: mrwortaPosted on 2009-08-27 at 07:25:47ID: 25198542

What is about evacuating all wanted file from the Desktop dir and
deleting the whole dir from upper level using "rmdir /s Desktop" .

Then recreate the dir and move the wanted files back...

If the Desktop dir is locked, try it from another admin account or remotely while logged off.

 

by: ajmcoPosted on 2009-08-27 at 07:48:29ID: 25198841

OK, I found a solution here deep deep in the comments.

I did this:

Dir /x/a    to reveal the 8 char name and to show hidden files
Then, I was able to successfully delete the file with:

>del CA6FKT~1 /ah

The /ah was definitely required, as without it did not work, just got the regular "file not found" prob without it.
I think this would have worked without the 8 char name, if I'd just used the /ah switch with any of the previous del commands.


EUREKA!


RE: MrWorta
Almost tried your rmdir of the desktop folder, but couldn't stomach it, I have loads of stuff on there all deep in folders and I figured even with a copy I was looking at some time to get it all right again. I do have ultramon with saved desktop icon positions, so I suppose I could have got it all positioned again, but still...

THANKS TO ALL FOR YOUR HELP
I THINK THIS ONE IS SOLVED!

 

by: ajmcoPosted on 2009-08-27 at 07:50:33ID: 25198864

I found the final solution here, deep in the comments.
This url should anchor right to the solution for my issue:
http://blog.dotsmart.net/2008/06/12/solved-cannot-read-from-the-source-file-or-disk/#comment-176

 

by: AmazingTechPosted on 2009-08-27 at 07:52:29ID: 25198886

Ah. mrworta beat me to it while I was creating and testing a script.

Although the desktop is inuse it won't be able to remove the folder. We could redirect the desktop so that we can remove the entire directory.

xcopy /s /h "%userprofile%\Desktop" "%UserProfile%\Desktop2\*.*"
pause
rd /s /q "%userprofile%\Desktop"
pause
xcopy /s /h "%userprofile%\Desktop2"  "%UserProfile%\Desktop\*.*"
pause
rd /s /q "%userprofile%\Desktop2"
                                              
1:
2:
3:
4:
5:
6:
7:

Select allOpen in new window

 

by: omnovaPosted on 2009-10-15 at 07:44:20ID: 25581050

What is the cause of these unknown files appearing on the desktop?

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...