The “write-protected” error on your SanDisk USB drive could be caused by a physical write protection switch on the USB (some models have a small switch) or by software settings. Here’s how you can resolve it:
- Check for Write Protection Switch: If your USB has a physical switch, make sure it’s set to the “unlocked” position.
- Use Diskpart:
- Open Command Prompt as Administrator.
- Type
diskpartand press Enter. - Type
list diskand find your USB drive number. - Type
select disk X(replace X with your USB number). - Type
attributes disk clear readonlyand press Enter to remove write protection.
- Format the USB: If the above steps don’t work, try formatting the USB in Disk Management (note: this will erase all data).