How to Fix Corrupted Files in Windows 10: A Step-by-Step Guide

Corrupted files in Windows 10 can mean two different things: damaged Windows system files or a damaged personal document. Windows repair commands can help with the first problem, but they do not magically reconstruct every broken photo, spreadsheet, or other user file.

Repair Windows system files with DISM and SFC

  1. Search Start for Command Prompt.
  2. Choose Run as administrator.
  3. Run DISM.exe /Online /Cleanup-image /Restorehealth.
  4. After DISM completes, run sfc /scannow.
  5. Restart the computer when the repair process is finished.

DISM can repair the Windows component store that System File Checker uses, while SFC scans protected system files and replaces damaged copies when possible.

Read the result instead of repeatedly rerunning the command

SFC reports whether it found no integrity violations, repaired corrupt files, or found files it could not repair. If corruption remains, investigate the underlying problem rather than assuming that running the same scan indefinitely will fix it.

For a damaged personal file, protect the original first

Make a copy of an important damaged file before experimenting with repair options. Then check backups, cloud version history, File History, or the application’s own recovery features. Microsoft Office applications, for example, may offer document-repair or AutoRecover options that are more relevant than SFC.

Check the storage device when corruption keeps returning

Repeatedly damaged files can point to storage errors, unsafe shutdowns, failing hardware, malware, or unstable memory. Back up important data promptly if corruption is recurring. You can inspect a drive’s status and run appropriate disk checks, but do not rely on a repair command as a substitute for replacing failing storage.

Be cautious with CHKDSK on a questionable drive

CHKDSK is designed to check file-system and disk-related errors, but repair operations modify the file system. If a drive is physically failing and contains irreplaceable data, prioritize copying or professionally recovering the data before running aggressive repair operations.

Support matters when deciding how much to repair

Microsoft’s standard no-cost servicing for Windows 10 ended on October 14, 2025. Repairing system files does not restore ongoing operating-system support. Eligible PCs should move to a supported Windows release, while systems enrolled in an applicable extended-security program should follow that program’s update guidance.

Get Our Free Newsletter

How-to guides and tech deals

You may opt out at any time.
Read our Privacy Policy