How to remove write protection from usb flash-drive?

there is no fix. If it is showing write protected the drive locked it that way to prevent any possible data loss. Back up the data and contact sandisk support for a warranty replacement. if you have sensitive data on the drive let them know. they have a return process for that as well.