Home windows computer solutions Format Did Not Complete Successfully 2026: USB & SD Fix

The Format Did Not Complete Successfully: Fix USB and SD Card Format Errors

Ethan CarterEthan Carter
|Last Updated: March 14, 2026

A failed format on a USB drive or SD card is almost always caused by write protection, bad sectors, or a driver issue — not a dead drive.
This guide covers every fix for 'the format did not complete successfully,' plus how to recover files from the drive before or after the failed format.

"The format did not complete successfully" appears when Windows cannot complete a format operation on a USB drive, SD card, or external drive. The most common causes are write protection, bad sectors, and driver issues — all fixable without replacing the drive.

Part 1. Check for Write Protection

Physical write protection:

  • Check the SD card's physical lock switch on the side — slide it to the unlocked position
  • Some USB drives have a write-protect switch — check the drive body

Software write protection (via diskpart):

  1. Open Command Prompt as Administrator
  2. Type diskpart → Enter
  3. list diskselect disk X (your USB/SD disk number)
  4. attributes disk clear readonly
  5. Exit diskpart and try formatting again
Write Protection TypeHow to DetectHow to Remove
Physical SD card lockSlide switch visible on card sideSlide switch to unlocked position
Software (diskpart)attributes disk shows "Read Only: Yes"attributes disk clear readonly
Group PolicyOnly on corporate PCsAdmin/IT policy change
SD controller faultDisk shows read-only after errorsTry clear readonly — replace if it returns

💡 Tip: After running attributes disk clear readonly, verify it worked by running attributes disk again — confirm "Read Only: No" before attempting format. Some drives re-apply write protection after a BIOS power cycle if the controller is damaged.

⚠️ Important: Before running diskpart commands, verify the disk number with list disk using the Size column. Clearing readonly on the wrong disk is harmless, but selecting and formatting the wrong disk would erase it.

Part 2. Format via diskpart to Bypass File Explorer Limitations

If the right-click Format in File Explorer fails, diskpart can force a format:

diskpart
list disk
select disk X
clean
create partition primary
format fs=exfat quick
assign
exit

⚠️ Important: The clean command removes all partitions and data from the selected disk. Confirm you have selected the correct disk by verifying its size before running clean.

Part 3. Run CHKDSK Before Formatting

Bad sectors can cause format failures. Run CHKDSK first to map bad sectors as unusable:

chkdsk E: /f /r

After CHKDSK completes, retry the format. If CHKDSK reports too many bad sectors, the drive may be too damaged to reliably format — consider replacement.

💡 Tip: If CHKDSK itself fails ("cannot continue in read-only mode"), the drive may have a hardware-level write issue. Try a different USB port, cable, or card reader before concluding the drive is defective.

Part 4. Reinstall the USB/SD Driver

  1. Open Device Manager (Win + X)
  2. Expand Disk Drives
  3. Right-click the USB/SD device → Uninstall Device
  4. Disconnect, reconnect — Windows reinstalls the driver
  5. Retry the format
Error ConditionMost Likely CauseRecommended Fix
Format fails immediatelyWrite protection enabledClear readonly via diskpart
Format fails at X%Bad sectorsCHKDSK first, then format
Format fails with driver errorCorrupted device driverReinstall driver in Device Manager
Format fails on all file systemsDrive controller faultTry different PC; may need replacement
diskpart clean failsDrive not recognizedTry different USB port/cable

💡 Tip: If format fails at a specific percentage every time, that percentage points to a specific sector range with physical damage. After CHKDSK maps out those sectors, attempt the format again — it may succeed now that the bad sectors are excluded.

🗣️ r/techsupport user: "Format kept failing on my SD card. Tried diskpart with clean and it worked immediately. Sometimes the standard format tool just can't handle a corrupted partition table."

🗣️ r/datarecovery tip: "If you need the data on the drive before forcing a format, use recovery software first. diskpart clean wipes everything — save files before using it."

Part 5. Recover Files Before or After a Failed Format With Ritridata

If the drive has files you need — whether the format attempt failed or succeeded — Ritridata can recover files from a drive with a failed or partial format on both Windows and Mac.

Step 1 — Select the USB or SD card from the drive list

Step 2 — Run a scan — finds files even through failed format attempts

Step 3 — Preview and recover files to your computer

FAQ

Why does "the format did not complete successfully" appear? Most commonly: write protection is enabled (physical or software), bad sectors prevent the format from finishing, or the driver has an issue that prevents write operations. The drive itself is usually functional.

Can I format an SD card that says "format did not complete successfully"? Yes — use diskpart with the clean and format commands as described above. This bypasses the standard Windows format tool and works on SD cards that refuse normal formatting.

Does a failed format delete data? A failed format typically doesn't complete enough to delete file data. A partial format may corrupt the file system directory. In either case, recovery software can still find files in the sectors.

My SD card physically has no write-protect switch but still shows write-protected — why? Some SD cards enter a software write-protection mode when they detect controller errors or flash memory wear. This is a self-protection mechanism. Using diskpart attributes disk clear readonly may temporarily clear it, but a card in this state is often near end-of-life.

References