Celeb Glow
updates | March 11, 2026

Windows - How do I delete corrupted files from a folder?

While deleting some files, few are corrupted and werent deleted because it says they are corrupted.

Just pressing delete is not working neither with del in CMD.

How could I do this via windows explorer or CMD?

Thanks

4

1 Answer

This link is the Microsoft canonical reference for dealing with files that cannot be deleted

Your circumstance falls under Cause 3

Cause 3: File system corruption is preventing access to the file

You may not be able to delete the file if the file system is corrupted. To resolve this issue, run the Chkdsk utility on the disk volume to correct any errors.

Bad sectors on the disk, other faulty hardware, or software bugs can corrupt the file system and put files in a problematic state. Typical operations may fail in a variety of ways. When the file system detects corruption, it logs an event to the event log and you typically receive a message that prompts you to run Chkdsk. Depending on the nature of the corruption, Chkdsk may or may not be able to recover file data; however, Chkdsk returns the file system to an internally consistent state.

For additional information about using the Chkdsk utility, click the following article numbers to view the articles in the Microsoft Knowledge Base:

176646 Error message: The file or directory is corrupt...

187941 An explanation of CHKDSK and the New /C and /I switches

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy