Solved

Unable to delete files with improper characters in XP

Posted on 2011-02-16
9
1,057 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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

895 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

12 Experts available now in Live!

Get 1:1 Help Now