Solved

Unable to delete files with improper characters in XP

Posted on 2011-02-16
9
1,054 Views
Last Modified: 2012-05-11
We've got a machine with a couple of files that have a dot in the name that are unable to be deleted.  We've tried all the variations of "\\?\" found in this article and its comments.  We also tried booting into UBCD and attempting a delete that way, and chkdsk also passed with no errors.  So far everything has failed.  

Any attempt to delete or rename the file is met with a "cannot read from the source file or disk" message.  This problem clearly stems from an improper file name but we can't figure out how to get rid of them.  Any help would be appreciated.  
0
Comment
Question by:james_axton
  • 4
  • 2
  • 2
  • +1
9 Comments
 
LVL 3

Expert Comment

by:rabindrajha
ID: 34909774
use ubuntu live cd, boot the machine and delete....
0
 
LVL 3

Expert Comment

by:Richard2k4
ID: 34909939
have you tried deleting them from dos using their 8.3 filename equivalent?
0
 

Author Comment

by:james_axton
ID: 34909997
Richard2k4, yes.  We ran dir /x /a against it and tried del and del "\\?\" with that.  Neither worked.
0
 
LVL 3

Expert Comment

by:Richard2k4
ID: 34910066
http://support.microsoft.com/kb/320081

Cause 5 or 6 I think is your issue.
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 62

Accepted Solution

by:
☠ MASQ ☠ earned 125 total points
ID: 34910093
Safe mode with Unlocker
0
 

Author Comment

by:james_axton
ID: 34910159
MASQUERAID, the files are locked by anything.  Will that still get them out?
0
 
LVL 62

Expert Comment

by:☠ MASQ ☠
ID: 34910261
Do you mean "aren't"?
I've not had it fail on me yet.  If it doesn't do it directly it adds a right-click context menu which you can use which avoids explorer complaining about file naming errors.
0
 

Author Comment

by:james_axton
ID: 34910411
Yes I left a word out, sorry.  We'll give Unlocker a try in an hour or so and I'll report back here.
0
 

Author Comment

by:james_axton
ID: 34935160
Safe Mode and Unlocker did the trick where numerous variations of "\\?\" failed.  Thank you!
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now