Make Write Protection USB/SDCARD

Write Protection USB or SDCARD
DISKPART> list disk
/* Displays the list of disk available */
DISKPART> select disk 1 
/* Select your desired Drive */
DISKPART> attributes disk set readonly
/* Set Read only permission, Disk is write protected */
DISKPART> attributes disk clear readonly
                       /* Clear Read only permission, Disk can be write */