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.

Best Answered by

Roxanne· Answered on Aug 09, 2023

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.

Free Download 

Windows 11/10/8/7100% Secure

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.

People Also Ask

Can't Delete Files or Format My SD Card, What Should I Do?

Why can't delete files or format my SD card? This article provides a detailed guide on this issue and introduces an efficient way to help format a write-protected SD card.


Aug 09, 2023

SD Card Write Protected When the Switch Is Unlocked, How to Fix

How to fix the SD card write-protected when the switch is locked? This post will share solid ways to help you tackle the problem and get the SD card reused.


Aug 09, 2023

Fix USB Drive Becoming Write Protected Error on Windows 7 Ultimate

Have you met a similar situation when you insert your USB drive into your computer, but your computer shows the error saying that the USB drive is in write protection? Do not worry; this article will help you to fix USB drive becoming write protected error on Windows 7 Ultimate.


Aug 09, 2023

How to Wipe Write-Protected SSD, Help

Are you finding some ways to help you wipe write-protected SSD? Do not worry; this passage will give you a detailed tutorial to wipe write-protected SSD. Now you can read this passage.


Aug 09, 2023

SD Card Suddenly Write Protected, How to Fix

Sometimes, you will face an 'SD card suddenly write protected' error, but don't worry. This article helps you remove this issue and helps you edit files on the SD card at will.


Aug 09, 2023

How to Remove Write Protection From SD Card Windows 7 [Fixed]

This article will teach you how to remove write protection from sd card Windows 7 by providing solutions with detailed steps attached.


Aug 09, 2023