To check Windows system health via Command Prompt (CMD), the most effective tools are SFC (system files) and DISM (system image). Run these in an Administrator Command Prompt to scan and repair corruption. The primary commands are
sfc /scannow for file integrity and DISM /Online /Cleanup-Image /RestoreHealth for image repair. [1, 2]Top Windows Health Check Commands (Run as Admin) [1]
- SFC (System File Checker): Scans all protected system files and replaces corrupted files.
- Command:
sfc /scannow
- Command:
- DISM (Deployment Image Servicing and Management): Repairs the Windows image (Windows Component Store).
- Check Health:
DISM /Online /Cleanup-Image /CheckHealth - Scan Health:
DISM /Online /Cleanup-Image /ScanHealth - Restore Health:
DISM /Online /Cleanup-Image /RestoreHealth
- Check Health:
- CHKDSK (Check Disk): Detects and fixes file system errors and bad sectors on your hard drive.
- Command:
chkdsk C: /f /r /x(Replace C: with the drive letter).
- Command:
- SMART Disk Check: Checks if your hard drive is reporting failures.
Best Practice Repair Sequence [1]
If you suspect corruption, run these commands in order, waiting for each to finish: [1]
How to Open Administrator CMD
