Why USB flash drives “write protected”

After many years of using USB flash drives I’ve managed to use one until it’s official end of life.

Normally drives would be lost long before this point – but this drive, a 4 GB Toshiba branded USB drive, managed to get so much use that it stopped working and went into “write protect” mode.

Why does this happen?

As the name implies, USB flash drives use “flash memory”.

This type of memory has a limited amount of times it can be written to – meaning every time you’re saving data to the drive you’re chipping away at its life span.

Depending on the type of memory (multi-level cell or single-level cell) in the drive, they can handle 3,000-10,000 write cycles.

Fortunately, the same doesn’t happen for read cycles – which is why the drive goes into “write protect” mode – allowing you to access the data on the drive. So all is not lost when this happens.

What can you do to fix it?

If you’ve found your drive no longer writes – no matter which computer you try using it on – it’s most likely reached its write cycle limit.

There is nothing you can do to “fix” the drive – the memory has been exhausted and the controller has been set to write protect the drive.

There is one thing you can do – make a copy of the data.

Not convinced it’s dead?

If you’re not convinced that the drive is dead you can try reformatting the drive using the diskpart command line tool. This tool is available in the Windows operating system only. You will need local administrator access to use the tool.

IMPORTANT: these instructions will erase the USB drive – it’s important that you have a copy of the data, should it work, and that you select the correct drive to format.

  1. In the Windows search box, type ‘cmd’
  2. When ‘Command Prompt’ appears – right-click on it and click ‘Run as Administrator’
  3. Click ‘Yes’ if prompted by the User Access Control
  4. Type diskpart and press enter on your keyboard
  5. Type list disk and hit enter
  6. You will need to identify your drive by size, in this case I can see it is disk 1
  7. Type select disk 1 (where 1 is the number from the previous step)
  8. The command prompt will respond by saying “Disk 1 is now the selected disk”
  9. Type attributes disk clear readonly and hit enter
  10. The command prompt will now respond by saying “Disk attributes cleared successfully.”
  11. Now type clean and hit enter
  12. If the drive is dead the command prompt will respond by saying “DiskPart has encountered an error: The request could not be performed because of an I/O device error.
    See the System Event Log for more information.”

Was this article helpful?

Related Articles