If your USB flash drive, SD card or hard drive is write-protected, you can easily remove write protection. You can try running a virus scan, checking and ensuring the device isn’t full, disabling read-only status for a file, using diskpart, editing Windows Registry and formatting the device.
How do I remove write protection from a disk?
To remove write protection from your SD card, follow the quick guide below:
- Run Command Prompt as administrator.
- Type diskpart.exe.
- Type list disk.
- Type select disk + number.
- Type attributes disk clear readonly.
Why is my disc write protected?
Some USB flash drives and SD cards have physical switches on the side to protect data. If the USB drive or SD card switch is locked, the device could become write-protected on all PC or devices. You can get out of this problem by turning off the switch.
How can I unlock a protected disk?
Type select disk N (where N is the number of the disk that corresponds to the flash drive) and press Enter. Type attributes disk clear readonly and press Enter. This will unlock the device for writing.
How do I remove write protection on Windows 10?
Look for a lock switch on the USB drive or SD card and turn it to the off position. Alternatively, use the diskpart command, or change the WriteProtect value in the Windows Registry Editor to 0. For individual files, go to the file’s Properties and clear the Read-only check box.
How do I Unwrite protect my USB?
Take the USB stick you’ve tried to write to and look for that switch, usually located on the side, and it might also be labeled as “Lock” or “Write Protection.” Switch it to the other position, reinsert it, and then transfer data to the memory stick again.
How do I fix Diskpart failed to clear disk attributes?
How to Fix Diskpart Failed to Clear Disk Attributes Issue [8 Methods]
- #1. Turn Off Device Physical Lock Switch.
- #2. Run Diskpart as Administrator.
- #3. Check and Fix Disk Error.
- #4. Format Target Drive.
- #5. Remove Write protection Using Regedit.exe.
- #6. Use Regedit.exe Alternative.
- #7. Run Diskpart Clean Command.