Computer Maintenance Drive Format Meta: HAIL Troubleshooting USB Drive Windows

How to Format a Write Protected USB Flash Drive

You’re trying to save data on your USB flash storage, but there’s a problem. Any attempt to save displays the message that the drive is “write protected”. How can this be?

The drive won’t even allow you to reformat it, and there’s no apparent switch for enabling or disabling write protection. Puzzled? Here’s how to format your write protected USB flash drive and start using it again.

Is the USB Drive Write Protected or Corrupted?

Before proceeding, take the time to make sure that the drive is genuinely write protected. A couple of other issues could be coming into play here.

  1. Your PC’s USB port is defective or blown entirely. Fixing a damaged USB port

    Dead USB Port? Here’s How to Diagnose and Fix It

    Dead USB Port? Here’s How to Diagnose and Fix It

    Sometimes devices connected to a USB port don’t work. Here’s how to diagnose and fix a suspect USB port on a Windows computer.
    Read More

    can be tricky but not impossible.
  2. The flash drive is corrupt. Whether you’re using a full USB flash stick or USB SD card adapter, problems with the device can occur. These steps will help you fix a corrupted flash drive

    How to Fix Write Protection Errors on a USB Stick

    How to Fix Write Protection Errors on a USB Stick

    Is your USB drive throwing up a Write Protection error? In this article, we explain what that is and how you can fix it.
    Read More


Confident the problem is just write protection on your USB flash stick? Let’s move on.

How to Remove USB Write Protection With Diskpart

Before starting, insert your USB flash drive into your computer’s USB port.

Windows has a built-in disk partition management tool called Diskpart. You can open this by hitting Windows key + R, entering cmd, then hitting Enter.

User Access Control will prompt you to confirm the action. Click Yes to continue.

You should now see CMD, the command line tool. At the prompt, enter


A new command line window will open, with a new DISKPART prompt. It’s time to see which disks are attached to your computer:

list disk

The resulting table will list the currently available devices. But which is your USB drive?

Disk 0 will be your computer’s system drive. This is the one that Windows is installed on. If you have multiple partitions, these will be sequentially numbered. Note that the size is displayed for each disk.

With a USB flash device connected, (which will be Disk 1 or higher) you should be able to identify it by its comparatively low capacity.

Find a list of disks connected to your system

In the image above, while Disk 0 is 119GB and Disk 1 931GB (two partitions of the same drive), Disk 2 is 16GB.

Therefore, Disk 2 is the USB flash drive. You should be able to check the capacity on the device itself, as this is usually printed on a drive’s casing. If not, you’ll be able to confirm it in Windows Explorer.

Select the Right Disk!

Before proceeding further, be absolutely certain that you have identified the USB flash drive. Note also that USB flash drives can be as high as 1TB in capacity (like the PNY Pro Elite) at the time of writing, which could be larger than your computer’s HDD. Making the effort to be totally certain at this stage is vital to the integrity of the data on your computer!

PNY Pro Elite 1TB USB Flash Drive

PNY Pro Elite 1TB USB Flash Drive

Buy Now On Amazon

Once you’re certain, it’s time to select the disk. In our example, that means entering

select disk 2

This will be confirmed with the message that disk 2 is now the selected disk. Next, request attributes:

attributes disk

Various information will be displayed. Check the first line. This is the Current Read-only State. If you’re unable to write to the disk or reformat it, then Current Read-only State will be set to Yes.

You can easily remove the write protection on your USB flash drive with the command

attributes disk clear readonly

If successful confirmation of the step will be displayed with the message “Disk attributes cleared successfully.”

Make a USB flash drive readable

Happy to lose the data on the USB flash drive? You can format the drive using diskpart’s clean command. First, ensure the disk is selected:

select disk 2

You can then create and format a partition:

create partition primary
format fs=ntfs

Wait for this to complete—you should now have a fully working and formatted USB flash drive!

Check the write-only status of the drive by copying a small file.

Didn’t Work? USB Formatting Utilities to Try

Below are two free tools for formatting your USB drive in the event of a write protect error. These can be used in addition to, or instead of, Diskpart. Useful if you don’t like getting your hands dirty with the command line!

1. SD Formatter

SD Formatter tool

Number one on your list should be the SD Formatter tool from the SD Association. Although clearly intended for SD cards, the tool is compatible with USB flash sticks. After all, A USB flash stick is basically an SD card wired to a USB interface.

Simply connect the device, select the drive and a formatting option, and click Format.

Download: SDFormatter (Free)

2. Kingston Format Utility

Intended for older Windows systems (Windows XP to Windows 7), the Kingston Format Utility is ideal for USB flash devices from Kingston.

Note that this has a slightly archaic method of installation. After downloading, run the EXE file and hit Browse to select a location (such as the Desktop, or Documents). Click Unzip, then browse to the new location, and double-click Kingston Format Utility.exe.

This will run the app; all you need to do now is select the Device and File system from the drop-down menus. Click Format when you’re ready, then wait.

Download: Kingston Format Utility (Free)

Can’t Reformat Your USB Flash Drive?

If none of the suggestions you’ve tried so far have been successful, don’t give up hope. It’s worth checking the support pages and forums on the drive manufacturer’s website to find links to tools that have been confirmed to work with the device.

Note that most flash storage manufacturer’s offer a long guarantee on their devices. If you have registered the drive, you’ll probably be able to get it repaired or replaced.

Your Write-Protected USB Flash Drive, Formatted

By now you should have unlocked the write protection on your USB flash drive and reformatted it. This may have been done using Diskpart on Windows, or a specialist third-party utility.

Ultimately, you should have a USB drive that now works. If it doesn’t, then there’s a strong likelihood that it is defective. So, if the drive is still in warranty, explore your options regarding a manufacturer replacement.

Struggling with a write protection issue on an SD card? Here’s how to remove write protection from an SD card

3 Ways to Remove Write Protection on SD Cards

3 Ways to Remove Write Protection on SD Cards

Seeing write protection errors on your SD card in Windows? Here are three quick ways to fix that problem.
Read More


Explore more about: Computer Maintenance, Drive Format, Troubleshooting, USB Drive.

Source link