This article explains how to remove write protection from a USB drive, SD card, or individual files. Instructions apply to Windows 10, Windows 8, and Windows 7.
How do I remove write protection from a USB drive in Windows?
If your computer tells you that the media is write-protected, check to see if there is a write-protect switch (also called a lock switch) on the USB or SD card. If the media has this switch, make sure the switch is set to write, not read-only.
If you want to modify a single file but can't, the file may be write-protected. Here's how to grant write permissions by clearing the read-only attribute:
Insert the USB drive or SD card into the appropriate port on your computer.