it easy to solve sandisk usb flash drive write protected problem:
1.check for the write protected switch.
2. check the device is infected by virus or not.
3. the file system could be corrupted.
4. the value of windows registry key is incorrect.
you can use diskpart command, regedit command, or sandisk write protected removal tool-Partition Assistant to fix.