CHKDSK Command: Scan, Repair & Fix Disk Errors in Windows
CHKDSK Command (Check Disk)
CHKDSK (Check Disk) is a built-in Windows command that checks your hard drive or SSD for problems. It can fix file system errors, recover damaged data, and repair bad sectors. It helps keep your drive healthy and can solve issues like blue screen errors, missing files, and slow computer performance.
C:\ chkdsk C: /f /r /x
Platform
Windows CMD
Powershell
Difficulty
Beginner
Level
Syntax
chkdsk [volume] [/F] [/R] [/X] [/SCAN] [/SPOTFIX]
Basic Examples
1. Check a drive:
chkdsk C:
Scans the drive and displays status without making changes
2. Fix file errors
chkdsk C: /f
Fixes logical file system errors.
3. Find bad sectors
chkdsk C: /r
Locates bad sectors and recovers readable data.
4. Force dismount
chkdsk C: /x
Forces the volume to dismount before scanning.
Parameter Reference
|
/F |
Fixes logical file system index errors automatically. |
Example: chkdsk C: /f |
|
/R |
Locates bad sectors and recovers readable data. |
Example: chkdsk C: /r |
|
/X |
Forces volume to dismount before scanning. |
Example: chkdsk C: /x |
|
/SCAN |
Detects file system errors without fixing them. |
Example: chkdsk C: /scan |
|
/SPOTFIX |
Applies fast fixes to detected volume errors. |
Example: chkdsk C: /spotfix |
Quick Tip
If you run CHKDSK on your main system drive (usually C:), Windows will warn you that the drive is in use. It will ask if you want to schedule the scan for the next time your computer restarts. Simply type Y for Yes, hit Enter, and manually restart your machine to let the tool run safely before Windows boots up.
Verdict
CHKDSK remains one of the most reliable and effective built-in Windows troubleshooting tools for diagnosing and repairing storage health issues. Running it periodically helps protect against unexpected data loss and fixes common operating system instabilities before they require a complete system wipe.
