Curious Minds

Clear answers to science and history questions

Chkdsk SD Card: Run It or Not?

· 5 min read · Science

Yes, you can run chkdsk on an SD card, and it is a legitimate first step for fixing file system corruption, not a hardware repair tool. You run it from a Windows Command Prompt or PowerShell, and it scans the card’s file structure for errors, marking bad sectors and attempting to recover readable data. However, for a failing physical card, chkdsk can sometimes make things worse, so it is important to understand what it does and when to use it.

What Chkdsk Actually Does on an SD Card

Chkdsk is a file system checker, not a hardware diagnostic. It operates at the logical level, reading the structures that the operating system uses to locate files. On an SD card, the file system is typically FAT32 or exFAT, both of which are simpler than NTFS. Chkdsk will:

  • Verify the boot sector and file system parameters.
  • Check each file’s directory entry against the allocation table.
  • Look for lost clusters (data that is marked as used but not referenced by any file).
  • Attempt to read every data cluster to find bad sectors.

If the card has a few bad sectors, chkdsk can mark them so the OS skips them in the future. But if the card’s controller is failing, chkdsk might hang or take an extremely long time, because it tries to read every sector.

When to Use Chkdsk on an SD Card

Use chkdsk when you see symptoms of file system corruption, not physical damage. Common signs include:

  • Files that won’t open or show “file or directory is corrupted and unreadable.”
  • The card shows a raw file system or “you need to format the disk” error.
  • You accidentally unplugged the card during a write operation.
  • The card works on some devices but not others.

In these cases, chkdsk can often repair the logical structure and make the card usable again. However, if the card is making clicking sounds, is physically damaged, or has been dropped, chkdsk is not the right tool—you should stop using the card and consider data recovery software or a professional service.

How to Run Chkdsk on an SD Card (Step-by-Step)

  1. Insert the SD card into your computer’s card reader. Note the drive letter (e.g., E:).
  2. Open Command Prompt as Administrator: press Win, type cmd, right-click “Command Prompt,” and select “Run as administrator.”
  3. Type chkdsk E: /f and press Enter. Replace E: with your card’s drive letter.
  4. If the card is in use, Windows will ask if you want to dismount the volume. Type Y and press Enter.
  5. Wait for the scan to complete. It may take minutes to hours depending on card size and speed.
  6. After it finishes, check the summary. If it found and fixed errors, try copying files to and from the card.

For a more thorough scan, use chkdsk E: /f /r. The /r flag makes chkdsk locate bad sectors and recover readable information. Note that /r implies /f, so you don’t need both, but you can type them together.

Common Problems and Misconceptions

One major misconception is that chkdsk can fix a physically failing SD card. It cannot. If the card’s flash memory is wearing out, chkdsk will only mark sectors as bad, but the card will continue to deteriorate. Another issue is that running chkdsk on a card that is write-protected (the lock switch is on) will fail with “The disk is write protected.” You must slide the lock to the unlocked position.

Another common problem is that chkdsk on a card that is connected via a USB adapter may be slow because the adapter’s controller is not optimized for random reads. Also, if you run chkdsk on a card that is mounted on a phone or camera, you might get a “volume in use” error—disconnect the device safely first.

One more misconception: chkdsk does not recover deleted files. It only fixes the file system structure; deleted files are not “errors” to chkdsk. For file recovery, you need dedicated recovery software.

Alternatives to Chkdsk for SD Cards

If chkdsk fails or you suspect physical damage, consider these alternatives:

  • Format the card – If you don’t need the data, a full format (not quick) will rewrite the file system and remap bad sectors (if the card’s controller supports it).
  • Use the SD Association’s Formatter – The SD Association provides a free formatting tool that follows SD card specifications, often better than Windows’ built-in formatter.
  • Try a different card reader – Sometimes the card reader is the problem, not the card.
  • Use data recovery software – Tools like Recuva or PhotoRec can scan the raw card and recover files without relying on the file system.
  • Test with a camera or phone – If the card works in another device, the problem may be with your computer’s reader or driver.

If the card is still under warranty and shows physical failure, contact the manufacturer for a replacement. Do not attempt to open the card; it is not user-serviceable.

Frequently Asked Questions

Will chkdsk damage my SD card?

Chkdsk does not physically damage the card, but if the card is failing, the extra read/write activity can accelerate the failure. It is safe to run on a card that is logically corrupted, but if you suspect hardware issues, back up what you can first.

Can I run chkdsk on a microSD card?

Yes, a microSD card is the same as an SD card internally. Insert it into an adapter and run chkdsk on the drive letter. The process is identical.

Why does chkdsk say “The type of the file system is RAW”?

RAW means Windows cannot recognize the file system. This happens when the boot sector is corrupted or the card was formatted on a device that uses a different file system. Chkdsk cannot fix a RAW file system; you will need to format the card, which erases all data.

How long does chkdsk take on a 64GB SD card?

It depends on the card speed and the number of files. A quick scan with no errors can take 5-10 minutes, but a full scan with /r on a slow card can take over an hour. If it takes more than a few hours, the card is likely failing.

Can I use chkdsk to recover photos from an SD card?

No. Chkdsk does not recover deleted files. It only fixes the file system structure. If you deleted photos, stop using the card immediately and use photo recovery software.

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

It means another program is using the card, such as Windows indexing or a background backup. Close all programs, or run chkdsk from a bootable environment if the card is the system drive (not typical for SD cards).

In this article
  1. What Chkdsk Actually Does on an SD Card
  2. When to Use Chkdsk on an SD Card
  3. How to Run Chkdsk on an SD Card (Step-by-Step)
  4. Common Problems and Misconceptions
  5. Alternatives to Chkdsk for SD Cards
  6. Frequently Asked Questions