How Can I Delete a Folder That Windows Says Is Corrupted or Unreadable?
Asked by
mending a cuff
I have a stubborn folder on an SSD that Windows refuses to delete. I've already tried deleting it through both PowerShell and Command Prompt, including running them as administrator, but Command Prompt reports that the file or directory is corrupted and unreadable. Other folders can be deleted normally. What's the safest way to remove this folder and check whether the drive has a filesystem problem?
Answers
If Windows reports that the directory is corrupted or unreadable, the problem is probably with the filesystem rather than permissions. First back up any important data, then run a disk check on the drive from an elevated Command Prompt with `chkdsk X: /f`โreplace `X:` with the SSDโs drive letter. Restart if Windows schedules the repair. After the scan completes, try deleting the folder again. If the error returns, check the SSDโs health and consider replacing it if it shows warnings or continues producing corrupted files.
Reply to this answer
Add your answer
Answers are reviewed before publication.
mending a cuff: The folder is on an SSD, and I already ran both PowerShell and Command Prompt as administrator. Iโll back up the drive and try the disk check next.