: Type list disk and press Enter. Look at the list to identify your USB drive's number by its storage capacity.
: Type select disk X (replace X with your actual USB drive number) and press Enter.
Many USB flash drives and SD card adapters feature a manual locking mechanism. usb-llf-musbfixer-2-0-remove-write-protection-from-usb-drive
: Press the Windows Key + R to open the Run dialog. Type cmd and hit Enter to open the Command Prompt. Step 2 : Type diskpart and press Enter.
: Type attributes disk clear readonly and press Enter. Step 6 : Type exit to close Diskpart. 3. Disable Write Protection in the Windows Registry : Type list disk and press Enter
: Inspect the exterior of your USB drive. Look for a small sliding switch labeled Lock or Write Protect . Slide it to the Off or unlocked position. 2. Clear Read-Only Attributes via Diskpart
If the system still refuses to write to the drive, a specific Windows Registry key might be forcing global write protection on external storage devices. The Media is write protected - Microsoft Q&A Many USB flash drives and SD card adapters
If there is no physical switch, Windows might have flagged the drive as read-only in its system software. You can clear this using the native command-line tool, .