How To Remove Write Protection From A USB

USB memory sticks and similar transferable data storage devices are convenient if you want to have your photos, media, installations, or work files ready to go. It’s been quite some time since these storage devices became the most prevalent method for storing digital data. However, sometimes it might happen that you can’t transfer your files onto a USB stick because write protection is activated.

USB sticks and storage are not considered fixed drives, so they are mounted as removable media.

Regardless, failed writing attempts can be inconvenient on a USB stick. Luckily, there are quick and easy methods to solve the write protection issue, whether you’re on a Windows PC or a Mac. There’s even a solution if you’re working on a Chromebook.

Note: Some SanDisk USB sticks (flash drives) and possibly other brands have an internal protection mechanism. According to SanDisk, if the USB drive experiences a power fluctuation or other potentially damaging error, it shuts off write access, and there is no way to get it back. They expect you to copy the data to another drive and replace it.

Check for a Write Protection Switch First

Before we go into details about write protection removal in different operating systems, there’s one thing to check first. Some data storage units have a physical switch for turning write protection on or off.
How To Remove Write Protection From A USB
Take the USB stick you’ve tried to write to and look for that switch, usually located on the side, and it might also be labeled as “Lock” or “Write Protection.” Switch it to the other position, reinsert it, and then attempt to transfer data to the memory stick again.

If that works, your problem is solved, and all you need to do is ensure the switch doesn’t accidentally get moved in the wrong position again. If there’s no switch (most common), or you still can’t write to the USB, you’ll need to employ other methods. Let’s get started!

Removing USB Write Protection using Windows

There are several ways to remove write protection from a USB stick if you have a Windows PC. Let’s take a look at some of them now.

Turn Bitlocker Off to Disable USB Write Protection

BitLocker was integrated into Windows 7/Vista (Enterprise and Ultimate) and Windows 8 and 10 (Pro and Ultimate) editions to protect your data with encryption. The software is primarily used for internal drives, but it can also encrypt USB sticks/drives.

Other versions of Windows, such as Home editions, require a separate download to decrypt the data. This scenario also applies when using macOS. Yes, Windows has a Bitlocker decryption tool for Macs too. Regardless, Bitlocker is off by default, but you may have activated it before and forgotten about it, or someone else did it for you.

To turn off BitLocker on a USB stick, you must have the password or recovery key. You’ll have to reformat the drive if you don’t have either option. If you have the key or password to BitLocker, follow the steps below.

  1. Open File Explorer and look for the storage device you have in mind. If the icon has a padlock, BitLocker is enabled for the device.
  2. Right-click on the icon and go to Manage BitLocker. This step takes you to the BitLocker Drive Encryption window, where a list of all storage units and their encryption status appears.
  3. All you need to do now is click on the protected USB drive and select Turn Off BitLocker. Enter the password or select other options, then choose to enter the recovery key. The status shows that the device is getting decrypted, and BitLocker gets turned off upon completion.

After you’ve disabled BitLocker, try to copy something on the USB stick again and see if the problem disappears.

Use Diskpart to Disable USB Write Protection

Diskpart is a command line tool that lets you manage all storage units detected by the computer. To remove write protection using Diskpart, follow these steps:

  1. Check and write down the storage capacity of the USB device. This comes in handy later. After you’ve confirmed the space limit, plug the USB stick into the computer port.
    How To Remove Write Protection From A USB
  2. Launch Command Prompt. You can do this either by pressing Windows key+R and typing cmd or searching for Command Prompt from the Start Menu. If you see the “Access is denied” message, right-click on Command Prompt and choose Run as Administrator.
    How To Remove Write Protection From A USB
  3. In Command Prompt, type diskpart and press enter.
    How To Remove Write Protection From A USB
  4. Next, type list disk and press enter again.
  5. You’ll see a list of all storage drives, named Disk 0, Disk 1, and so on. Use the storage capacity you jotted down in “Step 1” to identify your USB device. Compare it to the Size column, and you’ll find the disk number.
    How To Remove Write Protection From A USB
  6. Type select disk # where “#” is the disk number. For example, if your USB was “Disk 1,” type “select disk 1” without quotes, then press enter.
    How To Remove Write Protection From A USB
  7. Type Attributes disk clear readonly and press enter. Yes, “attributes” has an “s,” and “readonly” is one word.
    How To Remove Write Protection From A USB
  8. Finally, wait for the write protection removal to finish, type Exit, then press enter/return to close the command prompt window.
    How To Remove Write Protection From A USB
  9. Restart your PC and try writing on the USB stick again after the system reboots.
    How To Remove Write Protection From A USB

Use the Windows Registry to Disable USB Write Protect

Going into the Windows Registry is not recommended for inexperienced users. The wrong input could seriously affect your system performance or render it unresponsive. Don’t worry, though. Even if you’re not familiar with the under-the-hood features, you’ll be able to remove the write protection if you follow our method very carefully. Just ensure not to take any action other than the specified steps below.

  1. Connect the removable storage device to your PC, type regedit in the Cortana Search Bar, then select the Registry Editor app and click on Open.
    How To Remove Write Protection From A USB
  2. Click on the right-facing chevron (angle bracket) symbol next to HKEY_LOCAL_MACHINE in the left sidebar to expand the directory structure of that folder.
    How To Remove Write Protection From A USB
  3. Repeat “Step 1” procedures for the SYSTEM folder to expand it, then do the same for CurrentControlSet. The complete path so far should be HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet.
    How To Remove Write Protection From A USB
  4. Repeat “Step 1” procedures again to expand the Control folder, then confirm if StorageDevicePolicies is present. If not, continue to Step 5 to create it yourself. Otherwise, skip to Step 7.
    How To Remove Write Protection From A USB
  5. Right-click the Control folder. Select New and choose Key. This step will create a new subfolder under Control.
    How To Remove Write Protection From A USB
  6. Rename the newly created folder to StorageDevicePolicies.
    How To Remove Write Protection From A USB
  7. Now, right-click on StorageDevicePolicies, choose New, then select DWORD (32-bit) Value. Name the new entry WriteProtect without spaces.
    How To Remove Write Protection From A USB
  8. Double-click on WriteProtect and change Value Data to 0 and Base to Hexadecimal.
    How To Remove Write Protection From A USB
  9. Click on OK, exit the Registry, and restart your computer.
    How To Remove Write Protection From A USB

After the reboot, check if the USB is now operating as it should. This method disables the write protection on all your drives, so it should make your USB writable again. Beware that editing the Windows Registry on your own can mess up your computer, so after you’ve followed our instructions, it’s best not to revisit it.

If none of the above options removed file protection from your USB stick, try searching for a third-party application.

Removing USB Write Protection on a Mac

There’s much less flexibility when resolving the write protection issue on Mac versus Windows. You only have two options available—one is for storage units that can’t be written to due to a fault with the device, while the other involves formatting the drive.

Repair the Permissions

The permissions for your USB drive might be faulty, causing it to become write-protected. If that’s the case, you should try fixing the error using “Disk Utility.” To do so, follow these simple steps:

  1. After plugging in the USB device, open Utilities and select Disk Utility.
    How To Remove Write Protection From A USB
  2. Find the drive you’d like to repair in the left sidebar and select it.
    How To Remove Write Protection From A USB
  3. Click on the First Aid tab, wait for any scans to finish, then select Repair Disk Permissions.How To Remove Write Protection From A USB

If the fault was in the permission settings, the steps above should remove the USB’s write protection.

Format the Drive

One foolproof way to remove the write protection on macOS is to format the drive. Beware that this process erases all data on the USB device, so ensure you copy any important files to another location before proceeding.

  1. To format the USB, launch Disk Utility, find the drive, then click on it.
  2. Go to the Erase tab, select format, rename the USB drive if you want to, then click on Erase.
  3. Confirm the action in the pop-up window to start the formatting process.

Once the drive gets formatted, the write protection should disappear. When choosing a format, note that some options are Mac-exclusive, while others, like “exFat,” can be universally used with Mac and Windows computers.

Removing USB Write Protection on a Chromebook

If you’re using a USB with your Chromebook and suspect it’s write-protected, formatting the drive is your only option. Follow the steps below to reformat your locked USB drive/stick on your Chromebook.

  1. Go to Apps and click Files. Alternatively, press Alt+Shift+M on the keyboard.
    How To Remove Write Protection From A USB
  2. Right-click on the drive and choose Format Device.
    How To Remove Write Protection From A USB
  3. Confirm the action by clicking OK in the pop-up prompt, then wait for the process to finish.
    How To Remove Write Protection From A USB

Unfortunately, this is the only reliable method to remove write protection from a USB on a Chromebook. As previously stated, formatting the drive will erase all data, so back it up beforehand.

Removing Write Protection From a USB on Linux

If you are a Linux user, this process unlocks the write protection on your USB drive or stick.

  1. First, launch the Applications Menu (How To Remove Write Protection From A USB), then look for and click on Terminal or type “term” in the search bar at the top to find it and launch it. On some Linux distros, Shift + Ctrl + T or Ctrl + Alt + T launch the terminal as well.
    How To Remove Write Protection From A USB
  2. Next, type lsblk and press enter to get a list of all attached devices. How To Remove Write Protection From A USB
  3. Type sudo hdparm -r0 /dev/sdb without quotes and press enter. In this example, Linux mounted the USB at “/dev/sdb.” Adjust accordingly (sdb, sda, etc.) The “-r0” turns the read-only permission off. You might need to unmount/remount the USB drive via the terminal once read-only gets disabled.
    How To Remove Write Protection From A USB

In the example/procedures above, you identify the drive, change its read-only permissions to off, then unmount and remount it via the terminal, not by ejecting it.

In closing, write protection can be a nuisance, especially when you don’t know how it happened on your storage device. Luckily, you’ve learned how to remove write protection from a USB stick or device on Windows, Mac, Linux, and Chromebook computers. The issue should no longer catch you off-guard, but there are no guarantees. With all the methods explained here, at least one should allow you to edit, copy, move, or delete files on your USB or SD card in no time!

Sign up and earn $1000 a day ⋙

Driver Booster 12 Free: Keep 9.5M+ Drivers Up-to-Date in 1-Click

Driver Booster 12 Free: Keep 9.5M+ Drivers Up-to-Date in 1-Click

Driver Booster 12 Free is an effective tool that will keep your computers drivers up to date, which will make the system run faster and more reliably. This driver updater from IObit keeps your PC running at its best by checking for lost, out-of-date, or broken drivers immediately.

Advanced SystemCare 17 Free Review 2024 - Your Best PC Optimizer

Advanced SystemCare 17 Free Review 2024 - Your Best PC Optimizer

In an era where digital efficiency is paramount, Advanced SystemCare 17 Free emerges as a beacon for those seeking to enhance their PC's performance.

Summary of Movies & TV application shortcuts on Windows 10

Summary of Movies & TV application shortcuts on Windows 10

Summary of Movies & TV application shortcuts on Windows 10, Summary of Movies & TV application shortcuts on Windows 10 to bring you a great experience. Maybe

How to fix Messages Failed to Load error on Discord for Windows

How to fix Messages Failed to Load error on Discord for Windows

How to fix Messages Failed to Load error on Discord for Windows, Discord isn't fun if you can't read what other people write. Here's how to fix Messages error

How to display the This PC icon on the Windows 11 desktop

How to display the This PC icon on the Windows 11 desktop

How to display the This PC icon on the Windows 11 desktop, During the process of using Windows 11, many users need to access This PC (management).

How to find information in the Windows Registry quickly

How to find information in the Windows Registry quickly

How to find information in the Windows Registry quickly, Do you find it difficult to find information in the Windows Registry? So below are quick ways to find the registry

How to limit the number of failed login attempts on Windows 10

How to limit the number of failed login attempts on Windows 10

How to limit the number of failed login attempts on Windows 10. Limiting the number of failed password login attempts on Windows 10 helps increase computer security. Here's how

How to create fake error messages in Windows

How to create fake error messages in Windows

How to create fake error messages in Windows, Windows can come up with some pretty creative error messages but why don't you try creating your own content for them to make fun of?

Ways to open Windows Tools in Windows 11

Ways to open Windows Tools in Windows 11

Ways to open Windows Tools in Windows 11, Windows Administrative Tools or Windows Tools are still useful on Windows 11. Here's how to find Windows Tools in Windows 11.

How to fix Windows Quick Assist not working error

How to fix Windows Quick Assist not working error

How to fix Windows Quick Assist not working error, Windows Quick Assist helps you connect to a remote PC easily. However, sometimes it also generates errors. But,

How to pin Word, Excel and PowerPoint files to the corresponding app icon on the Windows 11 taskbar

How to pin Word, Excel and PowerPoint files to the corresponding app icon on the Windows 11 taskbar

How to pin Word, Excel and PowerPoint files to the corresponding app icon on the Windows 11 taskbar, How to pin Office files to the taskbar icon on Windows 11? Invite

How to fix the error of not being able to install software on Windows

How to fix the error of not being able to install software on Windows

How to fix the error of not being able to install software on Windows, Why can't you install apps or software on Windows 10/11? Here's everything you need to know about how to fix it

Instructions for deleting or changing PIN on Windows 11

Instructions for deleting or changing PIN on Windows 11

Instructions for deleting or changing the PIN code on Windows 11, In Windows 11, the PIN code is a very useful and convenient security tool for users. However some people

How to fix There Are Currently No Power Options Available error in Windows 10

How to fix There Are Currently No Power Options Available error in Windows 10

How to fix There Are Currently No Power Options Available error in Windows 10, Can't select power mode in Windows 10, what should I do? Here's how to fix the error

The simplest way to fix Photos application errors on Windows 10

The simplest way to fix Photos application errors on Windows 10

The simplest way to fix Photos app errors on Windows 10, what should I do if Microsoft Photos doesn't work? Don't worry about ways to fix Photos app errors on Windows

Instructions for installing keyboard shortcuts to switch input languages ​​on Windows 11

Instructions for installing keyboard shortcuts to switch input languages ​​on Windows 11

Instructions for installing shortcuts to switch input languages ​​on Windows 11. During the process of using Windows, users will often have to switch between methods.

How to check supported power status on Windows 11

How to check supported power status on Windows 11

How to check power status is supported on Windows 11, Windows 11 can handle many different power states. Here's how to check the power status

How to switch from 2.4GHz to 5GHz in Windows 10

How to switch from 2.4GHz to 5GHz in Windows 10

How to switch from 2.4GHz to 5GHz in Windows 10, If you want to find a quick and simple way to speed up the Internet, changing the WiFi band from 2.4GHz to 5GHz may help.

How to fix Not Enough Memory to Run Microsoft Excel error on Windows

How to fix Not Enough Memory to Run Microsoft Excel error on Windows

How to fix Not Enough Memory to Run Microsoft Excel error on Windows, Are you having an error of not enough memory to run Microsoft Excel? So, how to fix Not Enough Memory error

Ways to find all video files on Windows

Ways to find all video files on Windows

Ways to find all video files on Windows, Can't find recorded and saved videos on PC. Below are ways to help you find all clips on Windows.