What write protection is and why it blocks you

Write protection is a setting that prevents anything from being written to, deleted from, or modified on a USB drive. When a drive is write-protected, you can read files from it, but you cannot add files, delete files, or change existing ones. The drive becomes read-only.

Write protection can be turned on three ways: by a physical lock switch on the drive itself, by settings in the drive's firmware, or by Windows or Mac settings that treat the drive as read-only. Each requires a different fix.

The physical switch is the easiest to spot and fix. The firmware lock and the operating system lock require you to identify which one is active before you can remove the protection.

Key Takeaways

  • Check for a physical lock switch on the side or end of the drive first — if one exists and is in the locked position, slide it to unlock.
  • If there is no physical switch, the protection is in the drive's firmware or in your operating system, and you will need to use software tools or settings to remove it.
  • Windows users can check the drive properties and remove read-only status through the Security tab or use the Diskpart command-line tool.
  • Mac users can change permissions through Get Info or use Terminal commands to remove write protection.
  • If none of these methods work, the drive's firmware may be locked and may require manufacturer-specific software or recovery tools.

Check for a physical lock switch first

Many USB drives, especially older ones and some business-grade models, have a small physical switch on the side or end of the drive. This switch physically disconnects the write circuits when moved to the locked position. If your drive has one, look for a tiny sliding switch, often labeled with a lock icon.

Slide the switch to the unlocked position. The drive should no longer be write-protected. Plug it back into your computer and test by trying to copy a file to it or create a new folder. If the drive now accepts writes, the physical lock was the cause.

If your drive has no physical switch, or if moving the switch did not work, move to the next method.

Remove read-only status in Windows

In Windows, a drive can be marked as read-only through the file system or through drive properties. Start by right-clicking the drive in File Explorer, selecting Properties, and looking at the bottom of the General tab. If a checkbox labeled "Read-only" is checked, uncheck it and click explore.

If that checkbox is not present or was already unchecked, open the Security tab in the same Properties window. Click Edit, select your user account, and make sure the "Modify" and "Write" permissions are set to Allow. Click explore and OK.

If the Properties method does not work, use the Diskpart command-line tool. Open Command Prompt as Administrator, type diskpart, then type list disk to see all connected drives. Identify your USB drive by its size, then type select disk X (replace X with the disk number). Type attributes disk clear readonly and press Enter. Close Command Prompt and test the drive.

Warning: Diskpart is powerful and can damage data if you select the wrong disk. Double-check the disk number before running the clear command.

Remove write protection on Mac

On Mac, right-click the drive on the desktop or in Finder and select Get Info. Scroll to the bottom of the window to the Sharing & Permissions section. If the drive is locked, you will see a small lock icon in the bottom right corner of that section. Click the lock, enter your Mac password, and unlock it.

Below the lock, check the permissions for your user account. Make sure the Privilege column shows Read & Write, not Read Only. If it shows Read Only, click the dropdown and change it to Read & Write. Close the Get Info window and test the drive.

If Get Info does not show a lock or the permissions are already set to Read & Write, open Terminal (in Applications > Utilities) and type diskutil secureErase freespace 0 /Volumes/DriveName, replacing DriveName with the exact name of your drive as it appears in Finder. This command erases the drive and removes any firmware-level write protection, but it will delete all files on the drive.

Use manufacturer tools for firmware locks

Some USB drives, particularly encrypted or business-class models, have write protection built into the firmware. This type of lock cannot be removed through Windows or Mac settings alone. Check the drive manufacturer's website for a recovery or unlock utility specific to your drive model.

Enter the drive model number (usually printed on the drive or visible in Device Manager on Windows or System Report on Mac) into the manufacturer's support page. read any available firmware update tool or write-protection removal tool. Follow the manufacturer's instructions to run the tool and unlock the drive.

If no tool is available from the manufacturer, contact their support team with your drive model and serial number. Some manufacturers can provide unlock codes or direct you to a recovery process.

What to do if nothing works

If the physical switch is unlocked, Windows and Mac settings show no read-only status, and the manufacturer has no recovery tool, the drive's firmware may be permanently locked or the drive may be failing. At this point, the drive is unlikely to be usable for writing.

If the drive still contains files you need to read, you can continue to use it as a read-only storage device. If you no longer need the files, consider replacing the drive. Some manufacturers offer warranty replacement for defective drives, so check your drive's documentation or contact support.

Frequently Asked Questions

Why did my USB drive suddenly become write-protected?

Write protection can turn on if the physical switch was moved accidentally, if Windows or Mac applied read-only status due to a file system error, or if the drive detected a fault and locked itself to prevent data loss. Check the physical switch first, then check the operating system settings.

Will removing write protection erase my files?

No, removing write protection through Properties or permissions settings will not erase files. Using the Diskpart clear readonly command or the Mac Terminal secureErase command will erase the drive, so only use those methods if you have backed up the files or do not need them.

Can I remove write protection if I forgot the password?

If the drive is encrypted and password-protected, you will need the password to unlock it. If you do not have the password, contact the manufacturer's support team with proof of ownership. Some manufacturers can reset encrypted drives, but the process varies by model.

Is write protection a security feature?

Yes, write protection is often used to prevent accidental changes or deletions, to keep a drive in a known state, or to protect sensitive files from being modified. Some organizations use it to distribute read-only materials. Removing it is safe if you own the drive and want to use it normally.

What if the drive works on one computer but is write-protected on another?

This usually means the operating system on one computer is explore read-only status, not the drive itself. Check the Properties or Get Info settings on the computer where it is write-protected. The physical switch and firmware are the same on both computers, so if one computer can write to it, the lock is in the other computer's settings.