USB became write-protected after trying to install Windows on BOOTCAMP I tried to install windows using BootCamp, and it formatted my usb and loaded windows files and gave me an error that not enough space available, so I changed my mind and wanted to use my pen drive for other works, but bootcamp made it write-protected not able to format it or edit it, Tried using disk Utility and many more...
Partition or Erase the disk rather than the partition: in the Disk Utility sidebar, choose ‘Kingston DataTr…’ rather than ‘WinInstall’ and try your operation again.