How can I delete a corrupted, unreadable folder?

August 11, 2026 1 answer
Asked by library_card_renewal
I have one folder on an SSD that refuses to be deleted. Other folders can be removed normally, but attempts through both PowerShell and Command Prompt fail with a message saying the file or directory is corrupted and unreadable. I have already tried running both tools as administrator. What is the safest way to remove the folder and check whether the drive or file system has a problem?

Answers

~sensible enough
This usually indicates file-system corruption rather than a permissions issue. First back up any important data from the SSD, then run a file-system check on the drive from an elevated Command Prompt, replacing D: with the correct drive letter: `chkdsk D: /f`. If Windows says the volume is in use, allow it to schedule the scan and restart the computer. After the repair completes, try deleting the folder again. Also check the SSDโ€™s health with the manufacturerโ€™s diagnostic tool; repeated corruption can indicate a failing drive.

library_card_renewal: 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 file-system check.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions