Why your USB drive is write-protected and how to unlock it
A USB drive becomes write-protected when you cannot copy files to it, delete files from it, or format it — the drive accepts reads but rejects writes. This happens for three reasons: a physical lock switch on the drive itself, a setting in your operating system, or firmware protection built into the drive by the manufacturer.
The fix depends on which of these three is causing the problem. Most USB drives have a small metal or plastic switch on the side or edge — if yours does, try toggling it first. If there is no switch, the protection is either in your system settings or in the drive's firmware, and the steps differ between Windows and Mac.
Key Takeaways
- Check for a physical lock switch on the side of your USB drive first — this is the fastest fix and works on many commercial drives.
- On Windows, right-click the drive in File Explorer, select Properties, and look for a Read-only checkbox under the General tab that you can uncheck.
- On Mac, select the drive in Finder, press Command+I to open Get Info, and uncheck "Locked" under the Sharing & Permissions section.
- If neither the switch nor the system settings work, the drive itself has firmware-level protection that usually requires the manufacturer's unlock tool.
- Some drives sold as read-only for security reasons cannot be unlocked without the manufacturer's proprietary software or hardware key.
Check for a physical lock switch first
Many USB drives, especially older ones or those sold for secure data storage, have a small sliding or toggle switch on the side or back of the drive. This switch physically disconnects the write circuits from the rest of the drive. If your drive has one, slide it to the unlocked position — the direction varies by manufacturer, but it is usually marked with a lock icon or the words "lock" and "unlock."
After you move the switch, wait a few seconds, then unplug and replug the drive into your computer. The drive should now accept write commands. If you are not sure which direction is unlocked, try both positions and test the drive after each change.
Remove write protection in Windows
If your drive has no physical switch, Windows may be treating it as read-only through a system setting. Open File Explorer, right-click the USB drive, and select Properties. Look at the General tab — if you see a checkbox labeled "Read-only" that is checked, uncheck it and click Apply, then OK.
If the Read-only checkbox is grayed out and you cannot uncheck it, the protection is at the firmware level, not the Windows level. Close this window and move to the firmware section below. If the checkbox was unchecked to begin with, Windows is not the source of the protection — check the physical switch again or try the firmware approach.
Remove write protection on Mac
On a Mac, select the USB drive in Finder and press Command+I to open the Get Info window. Scroll down to the Sharing & Permissions section at the bottom. If you see a checkbox labeled "Locked," uncheck it. You may need to click the lock icon in the bottom right corner of the window and enter your Mac password to make changes.
After unchecking Locked, close the Get Info window. The drive should now accept writes. If the Locked checkbox is not present or is grayed out, the protection is in the drive's firmware rather than macOS, and you will need to use the manufacturer's tool.
Unlock firmware-level write protection
If the physical switch does not exist, the system settings show no read-only flag, and the drive still will not accept writes, the protection is built into the drive's firmware. This is common on drives sold specifically for secure data storage or archival. You will need the manufacturer's unlock utility.
Find the brand and model number on the drive itself — it is usually printed on the label or the casing. Go to the manufacturer's website and search for "unlock tool," "write protection removal," or "format utility" along with your model number. Download the tool, run it on a computer where you have administrator access, and follow the on-screen steps. Some tools require you to connect the drive and click a button; others ask you to enter a password or security code that came with the drive.
If you cannot find an unlock tool for your model, contact the manufacturer's support team with your drive's serial number and model. They can tell you whether the drive can be unlocked and what tool or process to use.
What to do if the drive cannot be unlocked
Some USB drives are intentionally locked and cannot be unlocked without a physical security key or a password that only the original owner has. These are designed for secure data transfer or compliance with data protection rules. If you inherited or received such a drive and do not have the unlock code, the manufacturer cannot help you — the protection is by design.
In this case, you have two options: contact whoever gave you the drive and ask for the unlock code or key, or accept that the drive is read-only and use it only to read the files already on it. You cannot format it or add new files without the unlock mechanism.
Frequently Asked Questions
Can I unlock a write-protected USB drive without the manufacturer's tool?
If the drive has a physical switch, yes — toggle it. If the protection is in Windows or Mac settings, yes — use the steps above. If the protection is in the firmware and you do not have the manufacturer's tool, no — third-party tools rarely work because each manufacturer uses different firmware. Your best option is to contact the manufacturer with your model number.
Will removing write protection erase the files on the drive?
No. Removing write protection does not erase anything. It only allows you to write to the drive going forward. The files already on the drive stay in place whether the drive is protected or not.
What if I lost the unlock code that came with my drive?
Contact the manufacturer's support team with your drive's serial number and proof of purchase if you have it. Some manufacturers can reset the code or provide a replacement. If you cannot prove ownership, they may not be able to help — the security feature is designed to prevent unauthorized access.
Is it safe to remove write protection from a drive I found or inherited?
Technically yes, but legally it depends on the drive's contents and ownership. If you own the drive or have permission from the owner, removing protection is safe. If the drive belongs to someone else and is protected for security reasons, removing protection without permission may violate their privacy or security policies.