USB or disk becomes read-only and cannot be saved

If you have the “disk read-only” symptom, physical lock switches, file system errors, etc. can be considered as possible causes. Step 1: Check in order, starting with ‘Checking the write lock switch of the SD card or USB memory.’

First, check that this guide matches your problem

Do you have these symptoms?

  • Disk read-only
  • write protected
  • Can't delete files
  • Write-protected

Common causes

  • Physical lock switch
  • File system error
  • Drive protection status

How to fix

5 steps, 36 min–1 hr 16 min in total. The easiest checks come first, so stop as soon as the problem is fixed.

SD cards and some USB drives have a physical write-lock switch. If it is in the lock position, writing is blocked regardless of Windows settings.

  1. Check that the small switch on the side of the SD card is pushed up, away from LOCK. If you use a microSD card in an adapter, check the adapter's switch.
  2. A loose switch can slide when you insert the card into the reader, so compare with a different card reader or adapter too.
  3. Check whether the USB drive has a lock switch on its body.

What to check

If you can save after releasing the switch, the problem is solved. If there is no switch, or it is released but the drive is still write-protected, check the diskpart attributes.

Did this step fix it?

Cautions

If you suspect a storage device error, back up important data before recovery. If there are SMART warnings or repeated recognition failures, it is safer to not continue using it.

Frequently asked questions

Related problems

If the symptoms do not match exactly, please check the issue below.