How Do I Delete Write Protection on a USB With CMD

I am looking for a complete and right method to delete the write protection on my USB with cmd. Is there anyone know how to do that? Can anyone help me? Thanks.

According to your question, I would like to share my methods with you. Based on my experience, there are some methods to help you delete write protection on a USB. Now, I will show you the first method you mentioned above.

The first method can help you remove the write protection from your USB. In addition, it also works for SD cards, internal drives, and external drives.

You can find out how you use the cmd to fix your issue:

Step 1. Press Windows + R, and type cmd in the box that opens. As a result, it will start Command Prompt.

Step 2. Type diskpart in the Command Prompt, and choose Enter.

Step 3. Type list disk, and click Enter to view the available disks.

Step 4. Type select disk 2 and click Enter. Replace 0 with the write-protected device number.

Step 5. Type attributes disk clear readonly, and then click Enter.

Step 6. After finishing writing protection removal, you can type exit to quit Diskpart.

After this, restart your computer and check if you can edit or delete the saved data on your USB.

However, the first method is a little complicated to operate for inexperienced users. Therefore, if you do not have relevant computer knowledge and hope to delete the write protection from your USB easily and simply, it is suggested that you can consider the second method: EaseUS Partition Master. It is a famous third-party software that can help you delete write protection for your USB quickly and operably.

You can try this software, and here are some steps for you as follows:

Step 1. Download the EaseUS Partition Master, and install it.

Step 2. Enter the Toolkit section, and click "Write Protection."

Step 3. Select your write-protected USB, and click "Disable."

Besides, the EaseUS Partition Master can also offer some other functions for users. Therefore, you can learn about them if you need to use them in the future.

In a word, the EaseUS Partition Master can not only help users remove write protection for USB but also can help users remove write protection on SD cards. It is a good option for you to choose. Now you can try to delete write protection on your USB.