how to run chkdsk Reading Time: 5 minutes

Is your Windows system showing strange behavior—slow file access, crashing apps, or errors opening documents? These symptoms often hint at file system issues. One of the best tools to diagnose and repair such problems is CHKDSK. In this article, you’ll learn how to run chkdsk effectively, what each command flag does, and how to use it safely—especially for IT managers, cybersecurity experts, and business leaders.

We’ll explore every detail: how to use CHKDSK from Command Prompt or File Explorer, advanced commands, troubleshooting techniques, and precautions to take before running it.

What Is CHKDSK and Why Use It?

CHKDSK (short for Check Disk) is a built-in Windows utility that examines a drive for file system errors, bad sectors, and inconsistencies. It checks both the logical integrity of files and the physical health of storage sectors.

Key Functions of CHKDSK:

  • Scans file metadata: Ensures folder structures, indexes, and the Master File Table are error-free.
  • Detects bad sectors: Identifies damaged areas on the disk.
  • Repairs logical errors: Corrects problems with file system integrity.
  • Recovers readable data: Retrieves data from faulty disk sectors when possible.

Running CHKDSK regularly can prevent data loss, improve system performance, and identify potential drive failures before they become catastrophic.

When Should You Run CHKDSK?

You should consider running CHKDSK when:

  • Windows displays “Disk Error” or I/O device errors
  • Files take unusually long to open or save
  • Applications freeze or crash unexpectedly
  • System reboots or fails to boot
  • After improper shutdowns or power loss

Regular CHKDSK scans can also serve as preventive maintenance, helping detect issues early.

How to Run CHKDSK Using Command Prompt

The Command Prompt method gives the most control over CHKDSK. Follow these steps:

Step 1: Open Command Prompt as Administrator

  1. Press Windows + S and type “cmd.”
  2. Right-click Command Prompt and choose Run as administrator.
  3. Confirm the User Account Control (UAC) prompt.

Step 2: Run a Basic Check (Read-Only Mode)

Type the following command and press Enter:

chkdsk C:

This performs a basic scan and reports detected issues but doesn’t fix them.

Step 3: Repair Disk Errors Automatically

To fix detected file system errors, type:

chkdsk C: /F
  • /F means fix errors automatically.
  • If the drive is currently in use, CHKDSK will ask if you want to schedule the scan for the next restart. Type Y and reboot.

Step 4: Deep Sector Check and Repair

If you suspect physical problems on the drive, use the /R flag:

chkdsk C: /R
  • /R checks for bad sectors and attempts to recover readable data.
  • It includes the functionality of /F automatically.
  • This process can take significantly longer depending on drive size and health.

Common CHKDSK Command Options

Here’s a summary of useful CHKDSK parameters:

CommandFunction
/FFixes file system errors automatically.
/RLocates bad sectors and recovers readable data.
/XForces the drive to dismount before running (implies /F).
/IPerforms a less detailed check of indexes (NTFS only).
/CSkips folder cycle checks (NTFS only).
/L:sizeChanges NTFS log file size.
/BRe-evaluates bad clusters on the volume (NTFS only).
/SCANRuns an online scan without dismounting the drive.
/SPOTFIXFixes issues identified during a previous online scan.

These options allow you to customize scans for speed, depth, or compatibility with active systems.

How to Run CHKDSK via File Explorer

For users who prefer a graphical interface, Windows offers an easier method.

Steps to Run CHKDSK from File Explorer:

  1. Open File Explorer (Windows + E).
  2. Right-click the drive you want to check and select Properties.
  3. Click the Tools tab.
  4. Under Error Checking, select Check.
  5. Choose Scan drive to search for problems.
  6. If prompted, restart your computer for repairs to apply.

This method is user-friendly but doesn’t provide access to advanced flags like /R or /X.

How to Run CHKDSK When Windows Won’t Start

If your PC fails to boot properly, you can still run CHKDSK from Windows Recovery Mode.

Steps to Use CHKDSK in Recovery Environment:

  1. Power off your computer and restart it.
  2. Hold the Shift key while selecting Restart from the login screen or power menu.
  3. Go to Troubleshoot → Advanced Options → Command Prompt.
  4. Type the following command: chkdsk C: /F /R
  5. Press Enter and wait for the scan to complete.

This process helps repair file system errors that prevent Windows from booting normally.

Understanding CHKDSK Results

Once the scan finishes, you’ll see a detailed report of the process.

Key Sections Explained:

  • Stage 1: File verification – checks file records and structure integrity.
  • Stage 2: Index verification – scans directory links.
  • Stage 3: Security descriptor verification – reviews file permissions.
  • Bad Sectors Summary: Lists damaged sectors and attempts recovery.

Exit Codes Overview:

Exit CodeMeaning
0No errors found.
1Errors found and fixed.
2Disk cleanup performed.
3Could not check or fix errors.

Review these codes carefully, especially in enterprise or IT environments where system reliability is critical.

Precautions Before Running CHKDSK

CHKDSK is powerful, but improper use can lead to data loss. Always follow these best practices:

  1. Backup Important Data – Especially before using /F or /R.
  2. Avoid Interrupting Scans – Shutting down during CHKDSK can cause severe corruption.
  3. Use Correct Drive Letter – Verify the drive name before executing.
  4. Avoid Repeated Repairs – If CHKDSK repeatedly finds errors, your drive may be failing physically.
  5. Run Regularly – Monthly scans or after unexpected shutdowns help prevent data loss.

How CHKDSK Helps IT and Cybersecurity Professionals

In enterprise and cybersecurity environments, CHKDSK is not just a repair tool—it’s a forensic asset.

  • Verifies disk integrity before imaging or forensic analysis.
  • Detects tampering or hidden corruption in system files.
  • Prevents data leaks from corrupted storage sectors.
  • Supports endpoint maintenance for large-scale IT infrastructures.

Integrating CHKDSK into a preventive maintenance routine ensures operational resilience across devices.

Troubleshooting CHKDSK Issues

ProblemCauseSolution
CHKDSK cannot run because volume is in useActive files or OS system driveSchedule scan at next reboot using Y
Scan takes too longLarge drive or many errorsLet it complete; avoid interruptions
CHKDSK stuck at a percentageDisk fragmentation or deep error scanBe patient; if frozen for hours, restart and retry
CHKDSK won’t startCorrupt registry or permissions issueRun SFC /scannow or DISM repair first
Errors return repeatedlyPhysical drive failureReplace the disk and restore from backup

Best Practices for Maintaining Disk Health

  1. Regularly monitor drive health using SMART status tools.
  2. Run CHKDSK and SFC after major system updates or crashes.
  3. Avoid overfilling drives—keep at least 10–15% free space.
  4. Defragment HDDs (not SSDs) periodically for better performance.
  5. Combine with Endpoint Security—malware can corrupt files or system data, requiring disk checks.

FAQs About Running CHKDSK

1. Does CHKDSK delete files?

No. It fixes file system errors. However, corrupted or irrecoverable files may be moved to the “Found.000” folder.

2. Can I run CHKDSK on SSDs?

Yes, CHKDSK is safe for SSDs, but it only checks logical file integrity—it doesn’t perform physical wear-leveling diagnostics.

3. How long does CHKDSK take?

Depending on disk size and errors, scans can range from minutes to several hours. /R scans are the slowest.

4. Can I use my computer while CHKDSK runs?

No, during /F or /R repairs, Windows locks the volume. Wait until it completes.

5. What’s the difference between CHKDSK and SFC?

CHKDSK checks and repairs disk file systems. SFC (System File Checker) scans and restores protected Windows files. Both complement each other.

Final Thoughts

Knowing how to run CHKDSK is essential for maintaining system stability, preventing data loss, and extending hardware life. Whether you’re troubleshooting user issues, maintaining business systems, or investigating incidents, CHKDSK provides a reliable first line of defense against file system errors.

Stay proactive—schedule scans, monitor results, and always back up critical data before major fixes.

Protect your systems with Xcitium’s advanced endpoint security platform today

START FREE TRIAL GET YOUR INSTANT SECURITY SCORECARD FOR FREE