Forum Discussion
How to repair corrupted files on Windows 10?
To repair corrupted files on Windows 11, that includes a suite of powerful, command-line utilities designed to diagnose and fix different types of corruption. The two primary tools are the System File Checker (SFC) and the Deployment Image Servicing and Management (DISM) tool. Often, you'll need to use them in a specific order to achieve the best results.
1. Check the System Image First (DISM):
Open Command Prompt or PowerShell as an administrator.
First, run a health check:
cmd
DISM /Online /Cleanup-Image /CheckHealth
Next, perform a more thorough scan:
cmd
DISM /Online /Cleanup-Image /ScanHealth
Finally, if any issues are found, run the repair command:
cmd
DISM /Online /Cleanup-Image /RestoreHealth
This can take some time if you are going to repair corrupted files on Windows 11, potentially up to an hour or more, depending on your system.
2. Repair System Files Second (SFC):
After the DISM repair is complete, run the SFC tool:
cmd
sfc /scannow
3. Check Your Disk (Chkdsk):
If you suspect the corruption is due to underlying hard drive errors, you can use the Check Disk utility. The /r parameter finds bad sectors and recovers readable information.
To check and repair the C: drive, use the command:
cmd
chkdsk C: /r