Check your USB drive or SD card for a lock switch, and ensure it's set to write. Clear the read-only box in a file's properties to remove write protection from individual files. Use the diskpart ...
Bad sectors in the hard drive are associated with the partition. The partition might be hidden. For external drives, a physical write-protection switch might be enabled. The external drive might be in ...