Write protected means your operating system is blocking all changes to the disk, so you cannot save, delete, rename, or format files on it. You can still open and read what is already there. This is either intentional, such as a physical lock switch or a read-only setting, or a warning sign, such as a set read-only attribute, a security policy, or a failing drive that has switched itself into read-only mode.
Why this happens
- A physical lock switch. Most full-size SD cards and a few USB sticks have a small slider on the side. When it is in the locked position, the hardware itself reports the card as read-only.
- A read-only attribute or flag. Windows can mark a whole drive as read-only through the diskpart tool, and individual files can be set to read-only in their properties.
- A registry or group policy setting. Windows has a StorageDevicePolicies WriteProtect value that can block writes to all removable drives.
- Filesystem problems. A corrupted or unclean filesystem may be mounted read-only to protect the data that is still on it.
- A worn-out SSD or flash drive. When flash memory nears the end of its life, the controller can lock the drive into permanent read-only mode so you can still copy data off it.
- Cross-platform formats. On a Mac, NTFS drives usually mount as read-only because macOS does not include NTFS write support by default.
Is this normal?
Yes, in many cases. A locked SD card, or an NTFS drive being read-only on a Mac, is expected behavior. It is only a concern when a drive that used to work suddenly refuses all writes with no obvious reason, which can point to corruption or hardware wear.
Does it cause any problems?
Write protection itself does not damage your data, and your existing files stay safe and readable. The issue is purely practical: you cannot add, change, or remove anything until the protection is cleared. If the cause is a dying drive, copy your data off right away, because a forced read-only state can be the last stage before failure.
How to fix or check it
- Check for a physical switch first. On SD cards and some USB sticks, slide the lock toward the connector (unlocked) and reinsert the drive.
- Windows, clear the read-only attribute: open Command Prompt, type
diskpart, thenlist disk,select disk N(the correct number), andattributes disk clear readonly. - Windows, check the policy: open the Registry Editor and look at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies. If a WriteProtect value exists and is set to 1, change it to 0.
- Windows, repair the filesystem: run
chkdsk X: /f(replace X with the drive letter) to fix errors that can force read-only mode. - Mac, NTFS drives: to write to an NTFS drive you need third-party NTFS software, or you can reformat the drive to exFAT if you do not need the existing data.
- Mac, repair the disk: open Disk Utility, select the drive, and run First Aid.
- If nothing works, the drive may be permanently locked by a failing controller. Copy your files off while you still can, then replace it.
Frequently asked questions
Can I remove write protection from a broken SD card switch?
If the plastic slider is broken or missing, the card can read as locked permanently. Try holding the switch position with a small piece of tape, but if it still reports as protected, the switch mechanism or the card itself has failed.
Why is my USB drive write protected all of a sudden?
The most common reasons are a corrupted filesystem after improper removal, a Windows read-only attribute, or flash memory that has worn out. Run chkdsk or clear the read-only attribute first, and if it stays locked, assume the drive is near the end of its life.
Does formatting remove write protection?
Sometimes. Formatting can clear a software read-only flag or a corrupted filesystem, but it cannot override a physical lock switch or a hardware controller that has locked itself. It also erases everything, so copy your data off first.