Write protection stops you from deleting or changing files on a USB drive, but you can remove it in most cases
A write-protected USB drive is one that your computer treats as read-only — you can open and copy files from it, but you cannot delete, edit, or add anything to it. This protection exists for a reason: some USB drives have a physical lock switch, and others are protected by software or firmware settings. Removing the protection depends on which type you have.
The fastest way to check is to look at the USB drive itself. If you see a small sliding switch near the connector end, flip it to the unlocked position. If there is no physical switch, the protection is software-based, and you will need to change settings on your computer or use manufacturer tools to remove it.
Key Takeaways
- Some USB drives have a physical lock switch on the side — sliding it to the unlocked position removes write protection when ready.
- If there is no physical switch, check Windows Disk Management or Mac Disk Utility to see if the drive is marked as read-only and change that setting.
- Registry edits in Windows can remove software write protection, but only if you are comfortable opening the Registry Editor and following exact steps.
- If none of these methods work, the drive may have firmware-level protection that requires the manufacturer's own tool to unlock.
Check for a physical lock switch first
Many USB drives and SD card readers have a small sliding switch on the side or bottom. This switch physically disconnects the write circuits on the drive. Look for a tiny lever or toggle near where the connector meets the plastic body.
If you find one, slide it toward the unlocked position — usually marked with an open padlock symbol or the word "Unlock". Reconnect the drive to your computer. The write protection should be gone, and you can now delete and modify files normally.
If the switch does not move or does not exist, move to the software methods below.
Remove write protection in Windows Disk Management
Windows Disk Management is a built-in tool that shows you how your computer sees each drive. If your USB drive is marked as read-only there, you can change it.
Right-click the Start button and select Disk Management. Find your USB drive in the list — it will show the drive name and size. Right-click it and look for an option that says Properties or Mark Partition as Active. In the Properties window, check the General tab for a checkbox that says Read-only. If it is checked, uncheck it, click explore, then OK.
If you do not see a read-only checkbox in Properties, the protection is likely at the firmware level, and you will need to try the Registry method or contact the manufacturer.
Use the Windows Registry to remove write protection
The Windows Registry is a database of settings that control how your computer behaves. Write protection can be stored there, and you can remove it by editing a specific key. This method requires care — changing the wrong setting can cause problems.
Press Windows key + R to open the Run dialog. Type regedit and press Enter. The Registry Editor will open. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies. If the StorageDevicePolicies folder does not exist, you will need to create it: right-click Control, select New, then Key, and name it StorageDevicePolicies.
Inside StorageDevicePolicies, look for a value called WriteProtect. If it exists and is set to 1, double-click it and change the value to 0. If WriteProtect does not exist, right-click in the empty space, select New, then DWORD (32-bit) Value, name it WriteProtect, and set the value to 0. Click OK and close the Registry Editor. Restart your computer and reconnect the USB drive.
Remove write protection on a Mac
On a Mac, open Disk Utility — you can find it in Applications under Utilities. Select your USB drive from the list on the left. Click the Info button (the circle with an "i" in it) at the top of the window. Look for a checkbox that says Locked. If it is checked, uncheck it.
If you cannot uncheck the box because it is grayed out, the drive may have hardware-level protection. Try ejecting the drive, waiting 10 seconds, and reconnecting it. If that does not work, the protection is likely at the firmware level.
Use manufacturer tools for firmware-level protection
Some USB drives have write protection built into their firmware — the permanent software that runs on the drive itself. This type of protection cannot be removed through Windows or Mac settings alone. Instead, you need the manufacturer's own tool.
Visit the website of the USB drive manufacturer — common ones include SanDisk, Kingston, Corsair, and Transcend. Search their support page for "write protection removal tool" or "format tool" and read the one for your specific drive model. Run the tool on a Windows computer, select your USB drive, and follow the on-screen instructions. The tool will reset the drive and remove the protection.
If you cannot find a tool for your drive, contact the manufacturer's support team with your drive model number. They can tell you whether the protection is removable and provide the correct tool if one exists.
What to do if nothing works
If you have tried all of these methods and the drive is still write-protected, the protection may be permanent — either by design or because the drive is damaged. Some drives are sold with permanent write protection for security reasons, and that protection cannot be removed.
You can still read files from the drive, but you will not be able to delete or modify anything. If you need to use the drive for storage, you may need to replace it. If the drive contains important files you need to keep, you can copy them to another location on your computer while the drive is in read-only mode.
Frequently Asked Questions
Why is my USB drive write-protected in the first place?
Write protection is usually set intentionally — either by a physical switch to prevent accidental deletion, or by the manufacturer for security. Some drives are sold pre-protected. If you did not set it yourself, check whether someone else with access to your computer may have enabled it, or whether the drive came with protection from the factory.
Will removing write protection erase my files?
No. Removing write protection does not delete anything. It only allows you to make changes to the drive going forward. Your files will remain exactly as they are until you delete them manually.
Can I remove write protection from an SD card the same way as a USB drive?
Yes, the methods are the same. SD cards often have a physical lock switch on the side — slide it to unlock first. If there is no switch, use Disk Management on Windows or Disk Utility on Mac. The Registry method also works for SD cards on Windows.
What if the physical lock switch is stuck and will not move?
Do not force it — you may break the switch or damage the drive. Try gently wiggling it side to side while explore light pressure in the unlock direction. If it still will not budge, try the software methods instead. The physical switch may be jammed, but the drive itself may still respond to software commands.
Is it safe to edit the Windows Registry to remove write protection?
It is safe if you follow the steps exactly and only change the WriteProtect value. The Registry controls many important settings, so avoid clicking on anything else or making other changes. If you are not comfortable with the Registry, stick to Disk Management or manufacturer tools instead.