Thumb Drive Write Protected Won't Format – Fix

Hardware – Hard Drives Intermediate 👁 9 views 📅 Jun 20, 2026

Your thumb drive says it's write protected and won't format. Try these fixes from quick to full reset.

The Quick Fix – Check the Physical Lock (30 seconds)

Most thumb drives have a tiny physical switch on the side. Look at your drive. You'll see a small slider that says Lock or shows a lock icon. Push it to the other position. That's it.

What should happen next? When you plug the drive back in, you'll see a notification popup saying "USB Drive detected." Try to copy a file to it. If it works, you're done. If not, move to the next fix.

I've seen people miss this switch between the plastic edge. It's tiny. Use a fingernail to slide it. No switch? Then the lock is in software. Go to the moderate fix.

The Moderate Fix – Use DiskPart to Clear Write Protection (5 minutes)

This method uses Windows built-in tool called DiskPart. It can remove software write protection that got stuck after a bad eject or a corrupted partition.

Warning: This will wipe all data on the drive. Back up anything you need first.

Step-by-step:

  1. Plug the thumb drive directly into a USB port on your computer (not a hub).
  2. Open Command Prompt as administrator. Click the Start button, type cmd, right-click Command Prompt in the results, and choose Run as administrator. Click Yes on the User Account Control popup.
  3. In the black Command Prompt window, type diskpart and press Enter. Wait a few seconds. You'll see a new prompt that says DISKPART>.
  4. Type list disk and press Enter. You'll see a table of all disks on your system. Find your thumb drive. It's usually Disk 1 or Disk 2. Look at the size column – your drive will be smaller than your main hard drive. For example, a 16GB drive shows as 14 GB (space used by the file system).
  5. Type select disk X (replace X with the disk number you found, like select disk 1) and press Enter. You should see a message: Disk X is now the selected disk.
  6. Type attributes disk clear readonly and press Enter. Wait for the message: Disk attributes cleared successfully.
  7. Type clean and press Enter. This erases the entire drive. Wait until you see DiskPart succeeded in cleaning the disk.
  8. Type create partition primary and press Enter. Wait for DiskPart succeeded in creating the specified partition.
  9. Type format fs=fat32 quick and press Enter. If your drive is larger than 32GB, use format fs=exfat quick instead. FAT32 won't work on big drives. Wait for DiskPart successfully formatted the volume.
  10. Type assign and press Enter. This gives your drive a letter.
  11. Type exit and press Enter. Close the Command Prompt.

What should happen? Open This PC. You'll see your thumb drive with a new letter and no write protection. Copy a file to it. If it works, you're done. If you still see "write protected" after this, move to the advanced fix.

The Advanced Fix – Low-Level Format with SD Formatter (15+ minutes)

This fix is for drives that still refuse after DiskPart. The real cause is usually a corrupted controller chip that locked the drive. A low-level format can force it back to life.

What you need: A free tool called SD Memory Card Formatter from the SD Association website. Download the Windows version. It works on thumb drives even though it's made for SD cards.

Steps:

  1. Download and install the SD Memory Card Formatter. The installer is small.
  2. Plug in your thumb drive.
  3. Open the tool. In the Select Card dropdown, pick your thumb drive. Double-check the drive letter.
  4. In Formatting options, choose Overwrite format. This does a full low-level format. It writes zeros to every sector. It takes 10-30 minutes depending on drive size.
  5. Click Format. A confirmation box pops up. Click Yes. The process starts.
  6. Wait until a green bar shows Format complete. Then close the tool.
  7. Eject the drive safely using the tray icon.
  8. Plug it back in. Open This PC. You'll see a formatted drive with no write protection.

What if this still fails? The drive's controller chip is physically dead. Throw it away and get a new one. Cheap thumb drives wear out after lots of writes. I recommend you buy from a known brand like Samsung, SanDisk, or Kingston. They have better chips.

Extra tip for old drives: Some older USB 2.0 drives have a hardware fault that mimics write protection. If you tried all three fixes and nothing works, the drive is at the end of its life. Don't waste more time – replace it.

Was this solution helpful?