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 ...
Some users reported getting an error message saying “Diskpart has encountered an error, The media is write protected” after using the clean or clean all commands ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results