0

Deleting corrupted files seems to be a real pain. All the suggestions out there recommend either formatting the drive or using Linux. What to do when both of these are not an option?

Note, that using robocopy, remdir, and del in the terminal, or remove-item in powershell are all returning the same error - "the file is corrupted or unreadable". Even echo 'hello' > <filename> is giving the same error.

Has anyone come across a simple and quick - windows only - working solution, that does not require third party tools?

EDIT: My question specifically asks for a simple - no linux - and, quick - no full disk scans - solution. My question does not relate to locked files, rather corrupted ones, and therefore, I do not see it as a duplicate to this post.

1 Answers1

1

If your filesystem is inconsistent, deleting corrupted files probably won't fix it. File corruption is a symptom, not the core issue. The correct next step is to run chkdsk /f. Easier solutions are insufficient solutions.

gronostaj
  • 57,004