USB Won’t Format | Fix It Fast

When a USB won’t format, target write protection, file-system errors, or a dying drive with the steps below.

Seeing the Windows message that a thumb drive cannot be formatted is a headache, especially when you need a quick file handoff. The good news: most problems fall into a short list you can fix with built-in tools. This guide starts with fast checks, then moves to proven commands for Windows 10 and Windows 11. You’ll also find a clear file-system pick and a copy-paste command sheet near the end.

Quick Wins Before You Try Heavy Tools

Start with simple checks that take a minute each. Many stubborn cases clear after one of these actions.

  • Plug the stick into a rear USB port on a desktop or a different port on a laptop.
  • Remove hubs and docks for now; connect the drive directly to the machine.
  • Flip any physical write-protect switch on the drive body, if present.
  • Scan the device with your security app to rule out malware that locks writes.
  • Test on another PC to rule out a local driver or policy quirk.

Typical Errors, Likely Causes, And Fast Fixes

The pop-ups vary, but they map to a few root causes. Use the quick fix now, then follow the deeper steps below.

Error Message Likely Cause Quick Fix
Windows was unable to complete the format Dirty file system or bad sectors Run CHKDSK, then format again
The disk is write protected Read-only flag or removable-media policy Clear read-only with DiskPart
Drive shows as RAW Lost partition table or abrupt unplug Clean disk and create a new partition
Format option greyed out Mount or driver issue Re-plug, assign a letter, or use Disk Management
Format stalls at 0% or 99% Media wear or weak port power Switch ports, try quick format, or replace

Why A Thumb Drive Refuses To Format

Three buckets explain nearly every case. One, the volume is marked read-only. Two, the file system holds errors that block the operation. Three, the flash cells are worn and the controller fails writes. The first two are fixable in software; the last one points to replacement.

Run A File-System Check With CHKDSK

CHKDSK repairs logical file-system problems that block formatting. Open Windows Terminal (Admin), then run chkdsk X: /f /r /x where X is the drive letter. Let the scan finish, eject the drive, plug it back in, and try formatting again. Microsoft documents the command and switches on the official reference page for the CHKDSK command.

Clear Read-Only Flags With DiskPart

If Windows says the media is write protected, remove the read-only attribute at the disk level. Open Windows Terminal (Admin) and run the sequence below, replacing N with the disk number shown by DiskPart.

diskpart
list disk
select disk N
attributes disk
attributes disk clear readonly

When attributes disk reports Current Read-only State : Yes, the clear command usually flips it back. Retry the format in File Explorer or with the format command. Microsoft documents the tool and syntax on the official page for DiskPart.

Rebuild The Partition And Format Cleanly

If the stick shows up as RAW, or keeps failing, wipe the partition table and start fresh. This erases all data on the device. Keep only this one USB connected to avoid selecting the wrong disk.

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

Use exFAT for cross-platform use and large files. If the drive will stay on Windows, NTFS is fine. FAT32 can help with old gear, but it has a 4 GB single-file ceiling and some Windows tools still keep a 32 GB partition cap in their dialogs.

Pick The Right File System

The format you choose affects speed, limits, and device support. Here’s a compact guide to get it right the first time.

File System Best Use Notes
exFAT Works on Windows, macOS, many TVs and cameras Handles very large files; modern replacement for FAT32 in most cases
NTFS Windows-only external drives Permissions, compression, journaling; limited write support on macOS without add-ons
FAT32 Older gear that demands FAT Single-file limit of 4 GB; some GUIs cap format size to 32 GB

Close Variation: USB Refuses To Format On Windows — Fix Steps That Work

This section strings the fixes into a single flow. Walk it top to bottom and stop when the format completes.

  1. Assign a letter in Disk Management. Press Win+X > Disk Management. If the stick shows “Healthy (Primary Partition)” with no letter, right-click > Change Drive Letter and Paths > Add. Try formatting in File Explorer.
  2. Quick format first. In File Explorer, right-click the drive > Format > tick Quick Format. If that works, you’re done. If it fails, run CHKDSK and try again.
  3. Run CHKDSK. Use the command from earlier to fix file-system errors. Reboot if the tool asks for it, then retry the format.
  4. Clear read-only with DiskPart. Use the attribute commands above. If the flag returns instantly or the disk reports read-only again, move to a clean rebuild.
  5. Rebuild with DiskPart clean. Clean, create a primary partition, and format to exFAT or NTFS as shown earlier.
  6. Test on another PC. If the stick still fails, try a different computer. A local policy or driver may be blocking writes.
  7. Suspect hardware wear. If every step fails on multiple PCs, replace the drive.

Why CHKDSK And DiskPart Are Safe Starting Points

These tools ship with Windows and are designed for this job. CHKDSK targets file-system metadata and maps weak sectors. DiskPart edits partitions and flags. Both provide command-line help and logs so you can see what changed. If a third-party utility promises instant magic, skip it until you’ve tried the built-ins. They fix most cases with less risk and no extra drivers.

Step-By-Step: Disk Management Format

Prefer a GUI path before commands? Use this route to rebuild a stubborn stick with system tools you already have.

  1. Press Win+X > Disk Management.
  2. Find the removable disk by size. If it shows a Healthy partition, right-click it and pick Format. Choose exFAT for the broadest compatibility. Tick Quick Format to finish faster.
  3. If the volume shows as RAW or Unallocated, right-click the space and pick New Simple Volume. Accept the default size, assign a letter, pick exFAT or NTFS, and finish the wizard.
  4. If the wizard errors out, go back to the DiskPart clean path above to reset the device, then return here and create the volume again.

Advanced Tips When The Format Still Fails

Try The Command-Line Format Tool

Sometimes the GUI balks while the command line succeeds. Open Windows Terminal (Admin) and run format X: /fs:exfat /q /v:USB. Swap exfat for ntfs if the drive will live on Windows only.

Switch The Partition Style

On rare builds, a tiny flash disk ships with an odd partition table. In DiskPart, run clean, then convert mbr, create the partition, and format again. For larger sticks, GPT is also fine and plays well with modern systems.

Check Group Policy And Registry Blocks

Managed PCs can block writes to removable media. If you’re on a work machine, ask your admin. On personal PCs, look for a DWORD named WriteProtect under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies. Set it to 0 if present, then restart. If the key doesn’t exist, skip this step and use the DiskPart attribute method instead.

When You See RAW After A Power Cut

Unplugging during writes can corrupt the file system and leave the volume as RAW. A CHKDSK pass followed by a clean format usually restores normal behavior. If the device resets during every write, the controller may be failing and the drive is ready for retirement.

Data Safety Notes

Formatting removes file entries. A quick format leaves data recoverable until it gets overwritten; a full format scans each sector and takes longer. If you need to save files first, stop now and use a recovery tool or a pro service before you run clean or a fresh format. Once you run a full surface write, recovery gets far harder.

When Replacement Makes More Sense

Flash memory wears out. If a stick throws new errors daily, overheats, or keeps disconnecting under light writes, replacement is the smart move. No set of commands can restore worn cells. Buy a known brand, keep backups of anything that matters, and rotate drives used for portable work so one stick doesn’t carry all your write cycles.

Reference Commands You Can Copy

Here’s a compact cheat sheet you can paste into an admin shell. Replace the letters and numbers for your setup.

Tool Or Command When To Use Sample
CHKDSK Fix file-system errors and map weak sectors chkdsk X: /f /r /x
DiskPart clear Remove read-only flags attributes disk clear readonly
DiskPart clean Wipe partitions and start fresh clean && create partition primary
Format CLI Bypass the GUI format X: /fs:exfat /q

Method Notes And Limits

This playbook favors built-in tools first. CHKDSK targets file-system health and remaps weak areas; DiskPart edits partitions and flags without extra drivers. If you switch from exFAT to NTFS for long video files, remember that older TVs and cameras may not write to NTFS. FAT32 helps with legacy gear, but the 4 GB single-file limit blocks large footage and archives. For cross-platform use with big files, exFAT is the safe pick.