Windows File System Checker Tool
Work through SFC, DISM, and CHKDSK checks, then generate a practical summary of your next troubleshooting steps.
ⓘ
Before you beginSave open work and back up important files if you are experiencing crashes, disk errors, or possible data loss. Run commands only from an Administrator Command Prompt or Terminal.
1 Identify the issue
What are you trying to fix?
2 Run System File Checker (SFC)
SFC scans protected Windows system files and replaces damaged copies where possible.
sfc /scannow
What was the SFC result?
3 Check and repair the Windows image with DISM
DISM repairs the Windows component store that SFC uses as its repair source.
DISM /Online /Cleanup-Image /CheckHealthDISM /Online /Cleanup-Image /ScanHealthDISM /Online /Cleanup-Image /RestoreHealth
Run the commands one at a time. After a successful RestoreHealth, run sfc /scannow again.
What was the DISM result?
4 Check the drive with CHKDSK
CHKDSK checks the file system and drive for errors. It may need to run after a restart.
chkdsk C: /f /r
Replace C: if Windows is installed on another drive. The /r option can take a long time on large drives.
What was the CHKDSK result?
5 Assess the system after checks
How is Windows behaving now?
