Disclaimer: MashTips is supported by its audience. When you purchase through links on our site, we may earn an affiliate commission at no extra cost to you.

Home Computer Windows How to Remove Write Protection & Format Write Protected USB Drive

How to Remove Write Protection & Format Write Protected USB Drive

USB Drives are a widely used way to transfer data between different devices. They do tend to run into errors or problems though, although this is rare. When you’re trying to copy or move some files onto a USB drive, sometimes you just get something like “disk is write protected” instead. When that happens, the only way to make the USB Drive work again is to format the write protected USB Drive or somehow remove the write protection.

The only problem is, the drive won’t even allow you to reformat it. There’s no switch, most of the times at least, to enable or disable write protection either. You can actually format it though, hopefully, just not in the traditional way. But before you do that, you will need to remove write protection first.

Remove Write Protection of USB

Not many people know about it, and even fewer use it, but Windows has a built-in disk partition management tool called Diskpart. It’s a command-line utility. But before we get there, insert your write protected USB drive into your computer.

  1. Press Windows + R on your keyboard.
  2. Type cmd and hit Enter.
    • Hit the Windows key, type cmd and hit Enter if you’re using Windows 10.
  3. Click Yes, if a User Access Control prompt appears asking you to confirm your action.
  4. In the command prompt, enter
    diskpart
  5. Enter the command below.
    list disk
    • You’ll be able to see a list of all the disks/drives attached to your computer.
  6. Your connected write protected USB drive will have a number 1 or higher.
    • The disk with the number 0 is your system’s internal disk/drive.list disk
  7. Select the correct disk drive with the select disk command followed by the number of the disk. For instance, in my case, the write protected drive is Disk 1, so the command will be
    select disk 1
  8. When the disk is selected, enter the command below.
    attributes disk

    (This will return you some information about the disk. If the disk is write protected, the first line there will be Current Read-only State: Yes.)remove write protection from a write protected USB

  9. To remove write protection from the write-protected disk, enter this command.
    attributes disk clear

Format Write Protected USB

Now that the write protection has been removed, you can format the USB Drive if you want to.

  1. Select the disk again.
    select disk #

    (Replace # with the correct disk number).

  2. Format it using the clean command.
    clean
  3. The command above actually deletes the entire workable partition of the USB Drive. (now you’ll have to create a new partition, which you can do using the command below).
    create partition primary
  4. Next, format it to your desired file system. (For instance, if you want your USB drive to have the NTFS file system, use the command below).
    format fs=ntfs

The formatting takes quite a lot of time depending on the size of your USB drive so sit patiently. Once it is done, you should have a write protection free USB drive.

Related: i7 Best USB Type C Flash Drives for MacBooks, iPads & Android

Format Write Protected USB With SD Card Formatter

If you don’t feel very comfortable with the command line, you can try a third-party USB utility called SD Card Formatter. It can be used in addition to or instead of Diskpart. It’s obviously easier to use and lets you perform multiple operations at once. Even though, as the name suggests, this was designed for SD cards, it works just as well for USB flash drives. The two are, after all, only different in their form factor but technically are the same things. Before you start, for Windows users, download and install SD Card Formatter.

  1. Launch SD Card Formatter. select USB drive on SD Card formatter
  2. Select your write protected USB drive from the drop-down menu at the top.
  3. Select Overwrite under Formatting options. remove write protection
  4. Click Format. Fix disk is write protected using SD card formatter

Overwrite format takes time but it makes sure everything about your USB drive gets reset and removes write protection in the process as well.

Related: How to Protect USB Drives with Password?

Still Can’t Format A Write Protected USB?

The two methods mentioned above also work in the case of SD cards or micro SD cards or any other kind of expandable storage. Diskpart too works with all kinds of expandable storage options, including external HDDs, SSDs, NVME Drives. Although, SD Card Formatter may or may not work with external HDDs or SSDs.

While the methods mentioned above will usually work, there are certain cases when they don’t. There isn’t a lot, in general, that can be done about the situation but it’s always worth checking out the support pages and forums on the manufacturer’s website. There could yet be other reasons for the “disk is write protected” error to appear too.

It is possible that the issue is not with your drive at all but with your computer’s USB port. This should be easy to figure out though, by simply inserting the drive in another USB port. It is also possible that your drive got corrupted. In which case, formatting it using Diskpart could work, depending upon the reason your drive got corrupted. If it’s a simple case of file or drive corruption, formatting it with “diskpart” should solve it.

In the odd chance that the partition tables are involved, things are a bit too messy. If the above-mentioned steps don’t work and you can’t find anything on the internet, it is very likely that the USB drive is simply defective. In that case, you might want to explore your options with the manufacturer if your drive is still under warranty. Many USB drive manufacturers also offer long warranties so you might be able to get a free repair.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Free Newsletter

Read More...

How to Attach An Email In Gmail

If you're a professional who deals with a lot of emails, you must've been in a situation where you've needed to send an email...

Audials One 2019: Lets you Legally Download Music, Movies, Shows & More

Audials One 2019 is the modern version of home-made VCR tapes. It lets you record music from various online sources including Spotify, the largest...

How to Search Images on Chrome with Google Lens

Google Lens supports direct image search with Google Chrome. Google Integrates the Lens with Google Chrome browser and you can do any image search...

How to Schedule Automatic Dark Theme on Android 11

Dark mode has been all the rage in software design ever since Apple first released one with macOS Mojave. Dark themes have...

10 Best Text Editors for Windows, Linux and Mac

Have you ever used a specific programming language to create a file from scratch, like HTML or CSS file? Are you familiar with building...

How to Take Screenshots on Windows with Screen Sketch

With the Windows 10 Anniversary update, Microsoft is introducing the Windows Ink work space tools which are helpful in hand writing inputs that mainly...