Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Anyone know of a way to delete files from an NTFS filesystem when you get "the file or directory is corrupted or unreadable". This isn't a file which is in use, I think it is genuinely corrupted, and I can't seem to get rid of it. BTW suggestions to reload my hard drive from scratch are not necessary, I'm looking for a utility or patch process which can do this in place. Thanks.

share|improve this question

At the command prompt, try chkdsk /f d: (change drive letter)

This should fix the NFTS structures and allow deletion later.

This is the same as using the GUI error checking tool in "properties"

share|improve this answer

If renaming/moving from the command line in Windows (to avoid Explorer filename restrictions) doesn't work, and if you don't want to fiddle with Linux trying to read it (not that a third-party implementation is necessarily going to manage a confused file system any better, but it's been known to help in other situations), then you'll need to do a surface scan of the disk, which is pretty much the same thing that a full format would do before it wiped it anyway. (In the volume properties, it's "Error-checking" in the Tools tab.)

Then you'll either have it magically fixed, the readable part of the file dumped somewhere, or confirmation that the disk is dying. In any case, make sure all your data's backed up.

share|improve this answer

If this is your c: drive then you won't be able to run chkdsk because the drive is mounted. You could try booting from your install disk, pressing F6 to enter the recovery console then following the instructions to run chkdsk on your c: drive from there.

Microsoft have published an article about accessing the recovery console,

share|improve this answer

Sometimes undeleteable NTFS files can be delete after rebooting Windows, even without running chkdsk.

share|improve this answer

It seems that there is something wrong with the file system and directory. Possibly, the MFT is kind of damaged. the ligh side is that the problem is logical and the hard drive is fine. Thus you can fix the error with certain tools.

If you have all files backed up, then you can perform chkdsk to check and repair file system errors.

ontinue to type chkdsk /f X: and press Enter. X is the drive letter of the problem partition;

Type Y and hit Enter and restart computer to resume disk check if you get the message "Chkdsk cannot run because the volume is ...system restarts? "

this command line works on many such errors, after which all files will become accessible.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.