How to format with write-protected USB drive

Suppose if you are trying to store data on a USB drive, but on the screen, you get an error message saying that the USB drive is write-protected (write-protected). The following article will guide you on how to format and format a write-protected USB drive (Write Protected) to fix errors.

Unlike regular USB drives, write-protected USB drives do not allow users to format or reformat, and there is no option to enable or disable write protection.

Is The USB Drive Write-Proof or Faulty?

Before diving into the steps of formatting a USB drive, we need to find out if the USB drive is write-protected or faulty, damaged. May:

  1. The USB port on the computer is faulty or damaged. Try plugging in another USB port to see if the error persists.
  2. The USB drive is faulty, damaged. Try using, connect another USB drive to see if the error occurs or not.

How To Format, Format A Write-Protected USB Drive (Write Protected) With Diskpart

Before you begin, plug your USB drive into a USB port on your computer.

Windows has a built-in hard drive partition management tool called Diskpart. To open Diskpart, press Windows + R to open the Run window, then type cmd in it and press Enter to open the Command Prompt.

A User Access Control (UAC) window will appear on the screen asking you to confirm. Click Yes to continue.

At this point, the Command Prompt window will appear on the screen. Enter the command below:

1. Diskpart

A new command line window with the DISKPART command prompt will appear on the screen. Enter the command below to see which hard drive is connected to your computer:

2. List Disk

The above command will list all available devices. Where Disk 0 is the system drive on the computer. This is the Windows installation drive. If there are multiple partitions, they will be numbered consecutively in order. Note the size shown for each drive.

The USB drive connected to your computer is Disk 1, or maybe Disk 2, … . This USB drive is quite small in size and capacity.

As you can see in the image above, Disk 0 is 119GB and Disk 1 is 931GB (2 partitions of the same hard drive), Disk 2 is 16GB. So Disk 2 is the USB drive.

However, sometimes the USB drive capacity can be up to 1TB. So make sure you have selected the correct USB drive to format, format and perform the next steps.

Next step, select your USB drive, in this tutorial the USB drive is disk 2, so we will enter the command below:

3. Select Disk 2

The above command to confirm disk 2 is the selected drive. Next step run the command below to request the attribute:

4. Attributes Disk

Various information will be displayed on the screen. Your task is to check that the first line is Current Read-only State. If the USB drive cannot be written to or reformatted, the Current Read-only State is set to Yes.

To remove the write protected attribute on the USB drive, run the command below:

5. Attributes Disk Clear Readonly

If the command executes successfully, the message “Disk attributes cleared successfully” will be displayed on the screen.

To format a USB drive using diskpart’s Clean command, first make sure the USB drive is selected:

6. Select Disk 2


Use the command below to create and format the partition:

7. Create Partition Primary

format fs=ntfs

Wait until the process is finished, your USB drive has been formatted. Try copying and storing files and data in the USB drive to see if the error is still there or not.

Some Formatting Utilities, Format USB Drives

Here are some free tools and utilities to Format USB properly, format your USB drive in case if Write Protect error occurs.

1. SD Formatter

Although designed specifically for SD memory cards, the SD Formatter tool is also compatible with USB drives. Simply connect the device, select your USB drive and select the Format option.

2. Kingston Format Utility

Kingston Format Utility is the ideal solution for formatting USB devices on older Windows operating systems (Windows XP to Windows 7).

After downloading the tool, run the EXE file and click Browse to select the location (on the desktop or the Documents folder). Click Unzip , then browse to the new location and double-click the Kingston Format Utility.exe file .

Do the above to run the application, then all you need to do is select the device and file system from the menu. Click Format to format the device.

Download Kingston Format Utility to your computer and install it here.

If the above methods are not available, visit the manufacturer’s homepage for support.

The above article has just shown you how to format and format a write-protected USB drive (Write Protected). In addition, if you have any questions or questions that need to be answered, readers can leave their comments in the comment section below the article.

You learn more how to format your computer’s hard drive safely and without affecting it Regarding data, the article on Taimienphi introduces you to  how to format the standard hard drive and how to format the hard drive quickly, you can choose any way.


Leave a Comment