ACS Blog

How to Run CHKDSK to Fix Windows File System Corruption

Who This Affects and What It Fixes

This guide is for any Windows user whose computer is showing signs of file system errors or drive corruption. Running the CHKDSK (Check Disk) utility verifies the integrity of a drive’s file system and can fix logical errors and recover data from physically damaged areas of a hard drive. Before you begin, confirm that your device is under warranty and that all important data is fully backed up — CHKDSK can cause data loss if those precautions are skipped.

Before You Start

Complete both of these steps before running any CHKDSK command:

  1. Confirm your device is under warranty. Check with your IT contact or device manufacturer if you are unsure.
  2. Back up all important data. Copy critical files to a separate drive or cloud storage before proceeding.

Understanding the CHKDSK Commands

CHKDSK offers several command options depending on what you need to do. Here is what each one does:

  • chkdsk — Runs a read-only diagnostic. It cross-references the directory of files with the file system to verify they match, but does not fix anything.
  • chkdsk /f — Fixes structural issues with the file system and directory by correcting inconsistencies between the two.
  • chkdsk /r — Searches for corrupted parts of the physical hard drive (and also runs /f), then attempts to recover data from damaged areas and move it to a healthy part of the drive.
  • chkdsk /x — Dismounts the drive so it can be checked and fixed. Running this command also runs /f.
  • chkdsk /v — Displays the path and name of every file while the check is running.

How to Run CHKDSK

  1. Open a Command Prompt with administrator privileges on your Windows device.
  2. By default, CHKDSK runs on the active drive shown next to your cursor. To scan a different drive, type the command followed by the drive letter. For example, to repair the D drive, enter: chkdsk D: /f (replace D with the letter of the drive you want to scan, and add whichever flags you need).
  3. If you are running CHKDSK on the drive that contains Windows (usually the C drive), the system cannot scan it while Windows is running. You will be prompted to schedule the scan for the next restart — type Y and press Enter to confirm.
  4. Restart your computer. CHKDSK will run automatically before Windows loads, and results will be available after the process completes.

Need Help?

If you are unsure which command to use, if CHKDSK reports errors it cannot fix, or if your device does not restart normally after the scan, contact Advanced Computer Solutions for assistance: https://acsapp.com/contact-us/

Common questions

What is the difference between chkdsk /f and chkdsk /r?

chkdsk /f fixes structural and logical errors in the file system. chkdsk /r does everything /f does, but also scans the physical surface of the hard drive for corrupted sectors and attempts to recover data stored in those damaged areas.

Why does CHKDSK ask me to restart before it can run?

When you target the drive that Windows is installed on (usually C:), Windows cannot scan it while it is actively in use. Scheduling the scan for the next restart lets CHKDSK check the drive before Windows fully loads, so no files are locked or in use.

Is it safe to run CHKDSK on my computer?

CHKDSK is a built-in Windows utility, but it can cause data loss in certain situations. Always confirm your device is under warranty and that all important data is backed up before running any CHKDSK command.