What is Write-Protection?

Write Protection is a feature available in some of the USB/SD devices which makes sure the files are not accidentally deleted or modified. That way, any original file on the drive remains safe and nobody else is also able to delete the files.

Remove Media is Write Protected message in Windows 11/10

Follow these suggestions to disable USB Write-Protection: You will need an admin user account and a clear understanding of the Disk Part and BitLocker tool which we have suggested using.

1] Turn off the hardware switch

Some media devices come with a small notch or write protection switch which when pulled up, enables the write protection. They are marked clearly but could be too small to be noticed. While they are sturdy enough to be accidentally enabled, It is possible you have flicked the switch. Turn it off, and it will be able to remove write protection on a USB or SD card. Post this, you should be able to write on the disk. Read: How do you remove the Write Protection on a Disk.

2] Use Diskpart to remove read-only state

If it’s not a hardware lock, it is possible that the disk is in a read-only state. You can remove this by using the Diskpart tool to remove the read-only attribute. Follow the steps to remove the read-only state.

Press Windows + R keys to open the Run prompt.Type cmd, and use Shift + Enter to open it with admin privilegesType diskpart and press Enter keyType list disk, and press Enter. It will reveal all disks on Windows PC.Select disk x and press the Enter key.  The letter x is the number of your SD cardType attr disk clear readonly.

Try deleting a file, and you will know if the issue was resolved.

3] Turn off BitLocker

Bitlocker is a brilliant feature in Windows if you want to protect files and encrypt them. It is possible that you have enabled Bitlocker for the media or SD card, and forgotten about it. Any drive which has Bitlocker enabled will display a lock when viewed on File Explorer. If that’s the case, right-click on it and choose to Turn off Bitlocker. Done that, you can not modify the files. Depending on the storage size, decryption will take time. So wait it out, and then try to upset some files inside it. Remember Bitlocker is not a Write protection removal tool, it only works if the files have been encrypted earlier using Bitlocker. Also, check out our detailed guide on how you can use Registry or Group Policy to enable disable the use of BitLocker on USB Drives.

4] Disable Write protection using Registry

Registry editing can be tricky. I strongly recommend you to take a backup or create a System Restore before using this method. If something goes wrong, you can always get back to the state where everything was working as expected. Follow these steps: Use Win + R to open the Run prompt. Type Regedit and press Enter. If prompted by UAC, click yes. Once the Registry Editor is open, navigate to the following path. Double-click on the WriteProtect DWORD and change the value from “1” to “0” to remove the read-only state.

In case, you cannot find the StorageDevicePolicies folder, you will need to create it.

Right-click on the Control folder, select New, and then KeyName the folder StorageDevicePoliciesRight-click on the StorageDevicePolicies folder, and select New > DWORDName it WriteProtect and press the Enter key.Double click the WriteProtect DWORD, and set the value as 0

5] Disable Write Protection using Group Policy

You can use this directly on Windows 10 Pro and Enterprise, and on Windows 10 Home by enabling the Group Policy. Use Win + R to open the Run prompt, and type gpedit.msc, and press the Enter key. This will open Group Policy Editor. In the editor, navigate to the following path Depending on which media device i.e. USB, CD, or Tape, you can change the Write access to disabled. Close the group policy editor, and you should be able to make the modifications without a problem. That’s about how you can remove Media is Write Protected message in Windows 11/10. This will make sure you can write and modify files within it. Read: How to remove The Disk Is Write-Protected error for Removable Disks.

Remove Media is Write Protected message in Windows 11 10 - 90Remove Media is Write Protected message in Windows 11 10 - 92Remove Media is Write Protected message in Windows 11 10 - 75Remove Media is Write Protected message in Windows 11 10 - 66Remove Media is Write Protected message in Windows 11 10 - 23