Error code

Windows ERROR_WRITE_PROTECT

WINDOWSERROR_WRITE_PROTECT
System Error Code· A POSIX/system errno returned when a system call fails.

What it means

The media is write protected..

How to fix it

  1. Slide the physical write-protect tab on the SD card or USB device to the unlocked position.
  2. clear the read-only attribute with diskpart 'attributes disk clear readonly'.
  3. check for a group policy or BitLocker setting blocking writes.
  4. try a different port or media if the device is faulty.

Not affiliated with Windows. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.