Your cart is currently empty!
How to Remove Write Protection on Windows 10
Write protection can be frustrating. You try to copy, delete, or save files to your USB drive or SD card—and Windows hits you with “The disk is write-protected.” Don’t worry. Here’s how you can fix it fast.
What Is Write Protection?
Write protection prevents files from being changed or deleted. It’s useful for keeping important data safe, but if you need to modify your files, it gets in the way.
Common Causes
- Physical switch on the drive or SD card
- Corrupt file system
- Windows security settings
- Registry issues
Let’s get into how to turn it off.
1. Check for a Physical Lock
Some USB drives and SD cards have a small switch on the side. Make sure it’s set to “unlocked.” It’s basic, but a common fix.
2. Use Diskpart Command
If there’s no physical switch, you can use Windows’ built-in tool, Diskpart.
- Press
Windows + S
and type “cmd.” - Right-click “Command Prompt” and select “Run as administrator.”
- In the command window, type these commands one at a time, pressing Enter after each:
diskpart
list disk
select disk X
attributes disk clear readonly
exit
ReplaceX
with your drive’s number (you’ll see it in the list).
3. Edit the Registry
Warning: The Windows Registry is powerful—be careful. If you’re not comfortable editing it, skip this step.
- Press
Windows + R
, typeregedit
, and hit Enter. - Navigate to:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies
- On the right, look for “WriteProtect.” Double-click it.
- Set the value to
0
. - Restart your computer.
If you don’t see the StorageDevicePolicies folder:
- Right-click “Control,” select “New > Key,” and name it
StorageDevicePolicies
.- Inside that key, right-click, select “New > DWORD (32-bit) Value,” and name it
WriteProtect
. Set the value to0
.
4. Check Drive Properties
- Open File Explorer and right-click your drive.
- Select “Properties.”
- Go to the “Security” tab.
- Make sure you have full control over the drive. If not, click “Edit” and adjust permissions.
5. Scan for Malware
Sometimes malware locks drives. Run a full scan with Windows Defender or your antivirus software.
6. Format the Drive (Last Resort)
If nothing else works, you may need to format the drive. This will erase all data, so back up what you can.
- Right-click the drive in File Explorer.
- Select “Format.”
- Follow the prompts.
Related: Want to Enable Write Protection Instead?
If you want to keep your USB drives safe from being overwritten or deleted, check out this guide:
How to enable write protection for USB devices on Windows 10
Final Thoughts
Write protection is annoying, but in most cases, it’s easy to fix. Start simple, and work through these steps. If your drive still won’t cooperate, it might be failing—and it’s time to replace it.
Have questions? Drop them in the comments below!
Tech enthusiast and content creator passionate about making technology simple for everyone. I share practical tips, guides, and reviews on the latest in computers, software, and gadgets. Let’s explore the digital world together!