To check for corrupted files in Windows 11, open an administrator command prompt or Windows Terminal, run the System File Checker with sfc /scannow, then run DISM to repair the Windows image if needed, and use CHKDSK to scan your disk for physical errors. You can also review logs or Event Viewer to find which files failed and use System Restore or replace files manually if required. These steps will tell you if files are corrupt and repair most system file problems.
How To Check For Corrupted Files Windows 11 โ Step by Step Tutorial
This short guide will walk you through the main checks and repairs, from scanning system files to inspecting disk health and logs. Follow each step in order and run the commands as an administrator.
Step 1: Open an elevated Command Prompt or Windows Terminal as administrator.
Right-click the Start button, choose Windows Terminal (Admin) or Command Prompt (Admin), and confirm the User Account Control prompt.
Running as administrator is required so the tools can access protected system files. If you use Windows Terminal, pick the Command Prompt profile or run PowerShell commands there.
Step 2: Run the System File Checker with sfc /scannow.
Type sfc /scannow and press Enter to let Windows scan and repair protected system files automatically.
SFC checks Windows system files against a cached copy and replaces corrupted files when possible. The scan may take 10 to 30 minutes depending on your system.
Step 3: Run DISM to repair the Windows image if SFC reports issues.
Type DISM /Online /Cleanup-Image /RestoreHealth and press Enter to let DISM download and fix damaged components.
DISM repairs the underlying Windows image that SFC uses for repairs, so run it when SFC cannot fix all problems. This command needs an internet connection to fetch good files from Windows Update.
Step 4: Run CHKDSK to scan for disk errors.
Type chkdsk C: /f /r and press Enter, then type Y to schedule the check at the next restart and reboot your PC.
CHKDSK looks for bad sectors and file system problems that can corrupt files. The scan can take a long time on large disks, so plan for downtime.
Step 5: Review SFC and DISM logs to find specific corrupted files.
Open File Explorer, navigate to C:/Windows/Logs/CBS/CBS.log or run findstr /c:โ[SR]โ %windir%logscbscbs.log >sfcdetails.txt to extract SFC results.
Logs show which files were replaced or could not be repaired. If a file could not be fixed, the log will give its name so you can replace it manually.
Step 6: Check Event Viewer for system and application errors.
Open Event Viewer from the Start menu, go to Windows Logs, then System and Application, and look for error entries that match your scan times.
Event Viewer can reveal driver failures, disk errors, or application crashes linked to corrupted files. Use timestamps to match events with your scans.
Step 7: Use System Restore or replace damaged files manually if needed.
If repairs fail, open System Restore to roll back to a known good point, or copy a clean file from another Windows 11 PC or installation media into the correct folder.
Restoring is safer than manual copying for system files, but manual replacement can work for single files when you know the exact path and source.
What happens after you complete these steps
Windows will report whether it found and repaired corrupted files, and you will know if disk errors exist. If repairs succeed, performance and stability should improve.
If some files remain unrepaired, you will have log details and options like System Restore or reinstalling Windows to fix deeper damage.
Tips for Checking for Corrupted Files
- Back up important data before running disk checks or making big repairs.
- Close apps and save work before running sfc, DISM, or CHKDSK to avoid data loss.
- Run DISM before SFC if you suspect the Windows image itself is corrupt.
- Use an installation USB or ISO as a repair source for DISM if you are offline.
- Schedule CHKDSK for a time when you can leave your PC to run for hours if needed.
- Keep Windows updated to reduce the chance of file corruption from old system files.
- If you see repeated corruption, test your RAM and SSD/HDD health with manufacturer tools.
Frequently Asked Questions
What is a corrupted file and why does it happen?
A corrupted file is a file that has lost data or has bad data due to disk errors, improper shutdowns, software bugs, or hardware failure. Corruption can prevent programs or Windows itself from working correctly.
Can sfc /scannow fix every corrupted file?
SFC can fix many protected system files, but not everything. If the SFC cache or the Windows image is damaged, SFC may fail, and you should run DISM or use other repair methods.
Will CHKDSK delete my files?
CHKDSK tries to repair the file system and recover readable data from bad sectors. It does not intentionally delete files, but if data is unrecoverable, some files could be lost. That is why backups are important.
How long do these scans take?
SFC usually takes 10 to 30 minutes. DISM can take 10 to 30 minutes or longer depending on your internet speed and system. CHKDSK can take from 30 minutes to several hours, especially on large drives.
Do I need to be online to run DISM /RestoreHealth?
Yes, DISM uses Windows Update by default to download healthy replacement files, so an internet connection is recommended. You can specify a local repair source if you have installation media.
Should I run these tools regularly?
Running SFC and CHKDSK occasionally, such as after crashes or slow behavior, is a good idea. Regular Windows Update and occasional disk health checks help prevent file corruption.
Can I fix corrupted personal files like documents or photos?
System tools focus on Windows system files. For personal files, try opening them with a recovery tool, restore from backups, or use file-specific repair software.
Summary
- Open elevated command prompt
- Run sfc /scannow
- Run DISM RestoreHealth
- Run chkdsk /f /r
- Review CBS.log or sfcdetails.txt
- Check Event Viewer
- Use System Restore or replace files
Conclusion
Knowing how to check for corrupted files in Windows 11 is a useful skill that keeps your PC healthy and your work safe. Corrupted system files can cause crashes, slowdowns, and odd behavior, but the built-in tools in Windows 11 give you a clear path to find and fix many problems. Start with sfc /scannow to scan and repair protected system files. If that does not fully solve the issue, run DISM to repair the Windows image, and then use CHKDSK to check the physical health of the drive. Together these steps find most problems and often repair them without reinstalling Windows.
Logs are your friends, so learn where they live and how to read them. The CBS.log and Event Viewer show what was fixed and what still needs attention. If a file cannot be repaired automatically, you can use System Restore or copy a clean version from installation media or another PC. Always back up important documents before making changes, and consider checking hardware like RAM and your drive if corruption keeps coming back.
If you prefer a safety net, create a restore point before running repairs and keep a recent full backup. For deeper issues, a clean install may be the fastest route, but use it as a last resort. If you are uncomfortable with command-line tools, ask a trusted technician for help. Finally, keep Windows and drivers updated, run antivirus scans regularly, and monitor disk health. These simple habits reduce the chance of corrupted files and keep your Windows 11 system running smoothly.

Matthew Burleigh has been writing tech tutorials since 2008. His writing has appeared on dozens of different websites and been read over 50 million times.
After receiving his Bachelorโs and Masterโs degrees in Computer Science he spent several years working in IT management for small businesses. However, he now works full time writing content online and creating websites.
His main writing topics include iPhones, Microsoft Office, Google Apps, Android, and Photoshop, but he has also written about many other tech topics as well.