sodcalculator

10 Tech How-To

Use Chkdsk to Fix Corruption in Windows 10

Guide 10-4914 · Updated · Step by step

Yes, you can use the built-in chkdsk (Check Disk) utility in Windows 10 to find and repair file system corruption and bad sectors on your hard drive or SSD. This article explains what chkdsk does, how to run it safely, and what to do if it doesn’t solve the problem.

What Is Chkdsk and What Does It Actually Do?

Chkdsk is a command-line tool that has been part of Windows since the days of MS-DOS. It scans a drive’s file system for logical errors—such as corrupted file entries, lost clusters, and cross-linked files—and attempts to repair them. It can also check the physical surface of a traditional hard disk for bad sectors and mark them so the drive avoids using them in the future.

It is important to understand that chkdsk is not a tool for repairing damaged files themselves. If a file’s data has been overwritten or physically damaged, chkdsk cannot restore it. It only fixes the file system’s metadata and isolates bad sectors. For example, if a Word document won’t open because its directory entry is corrupt, chkdsk can often fix the entry so the file becomes accessible again. But if the actual document data is gone, chkdsk won’t bring it back.

When Should You Run Chkdsk?

Windows 10 usually prompts you to run chkdsk when it detects a file system problem, such as after an improper shutdown or when a drive is marked as “dirty.� You might also see errors like “The file or directory is corrupted and unreadable� or “Disk error� when trying to open files. Other signs include:

  • Files suddenly disappear or become inaccessible
  • Folders show incorrect sizes or contents
  • Programs crash when reading or saving files
  • Windows takes a long time to boot or repeatedly runs a disk check at startup

If you experience any of these, running chkdsk is a reasonable first step. However, if the drive is making clicking or grinding noises, or if you suspect physical damage, a more thorough diagnostic tool (such as the drive manufacturer’s utility) is better, and you should back up your data immediately.

How to Run Chkdsk in Windows 10

You can run chkdsk from an elevated Command Prompt or PowerShell. Here are the steps:

  1. Right-click the Start button and choose Windows PowerShell (Admin) or Command Prompt (Admin).
  2. If prompted by User Account Control, click Yes.
  3. Type chkdsk C: and press Enter. This runs a read-only scan that reports errors but does not fix them.
  4. To fix errors, type chkdsk C: /f and press Enter. If the drive is in use (which it always is for the system drive), Windows will ask if you want to schedule the check for the next restart. Type Y and press Enter, then restart your PC.

For a more thorough scan that also checks for bad sectors, use chkdsk C: /f /r. This combines the fix operation with a surface scan and takes much longer. You can also add /x to force the volume to dismount before the scan, but this is usually unnecessary for the system drive.

Understanding Chkdsk Output

When chkdsk runs, it goes through several stages. The output looks like this:

Stage 1: Examining basic file system structure ...
Stage 2: Examining file name linkage ...
Stage 3: Examining security descriptors ...

If you used /r, it will also show Stage 4 and 5 for user file data and bad clusters. At the end, it gives a summary like:

Windows has made corrections to the file system.
No further action is required.

If you see “Windows has made corrections,� that means chkdsk found and fixed something. If it says “No problems found,� your file system is clean, and the issue may lie elsewhere.

Common Problems and Misconceptions

One common misconception is that chkdsk can fix a failing drive. It cannot. If a drive has physical damage, chkdsk might mark bad sectors, but the drive will likely continue to fail. In that case, you need to replace the drive.

Another issue is that chkdsk can sometimes make things worse if the drive is severely corrupted. In rare cases, a repair attempt can cause additional data loss. That’s why it’s always recommended to back up important files before running chkdsk with the /f flag.

Also, chkdsk can take a long time—hours on large drives or drives with many bad sectors. Do not interrupt it. If you cancel it, you may leave the file system in an inconsistent state.

Finally, chkdsk is not a substitute for a good backup strategy. It is a repair tool, not a prevention tool. Regular backups are the only way to protect against data loss.

Alternatives and Additional Tools

If chkdsk doesn’t fix the problem, you have other options:

  • System File Checker (sfc /scannow) – This scans and repairs protected system files, which can help if Windows itself is corrupted.
  • DISM (Deployment Image Servicing and Management) – Use DISM /Online /Cleanup-Image /RestoreHealth to repair the Windows system image if SFC fails.
  • Third-party disk tools – Many drive manufacturers offer diagnostic utilities that can read SMART data and perform deeper tests.
  • Reinstall Windows – If file system corruption is widespread and other tools fail, a clean install is often the most reliable fix.

Remember that chkdsk works on the file system, not on Windows components. If your problem is blue screens or system file errors, SFC and DISM are more appropriate.

Safety and Precautions

Before running chkdsk with repair options, consider these safety points:

  • Back up your data – Even though chkdsk is generally safe, any repair operation on a damaged file system carries some risk.
  • Close all programs – Running chkdsk on a drive that is in use can cause conflicts. For the system drive, schedule the check at restart.
  • Don’t run chkdsk on SSDs too often – While it won’t damage an SSD, a full surface scan (/r) can cause unnecessary wear. Use it only when you suspect physical issues.
  • Check the drive’s health – Use a SMART utility to see if the drive is failing. If SMART reports a problem, replace the drive rather than relying on chkdsk.

Frequently Asked Questions

Will chkdsk delete my files?

No, chkdsk is designed to repair the file system without deleting your data. However, if it finds corrupt files that cannot be repaired, it may move them to a folder like found.000 in the drive’s root directory. These files are often unrecoverable, but your other files should remain intact.

How long does chkdsk take?

It depends on the drive size and the scan type. A read-only scan on a healthy drive can take a few minutes. With /f and /r, it can take hours, especially on large drives or those with many bad sectors. Let it run overnight if necessary.

Can I use chkdsk on an external drive?

Yes, you can run chkdsk on any drive by specifying its drive letter, for example chkdsk E: /f. Make sure the drive is connected and not in use. If the drive is a USB flash drive, chkdsk works the same way.

What does “chkdsk cannot run because the volume is in use� mean?

This message appears when you try to run chkdsk on a drive that is currently being used by the system or another program. For the system drive (usually C:), you must schedule the check at next restart. For other drives, close all programs that might be using them, or run chkdsk from a bootable recovery environment.

Should I run chkdsk on an SSD?

Yes, you can run chkdsk on an SSD to fix file system errors. However, the /r option performs a surface scan that is not necessary for SSDs and can cause unnecessary write cycles. Use /f alone for SSDs, and rely on the SSD’s own health tools for physical issues.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →