How to Remove Write Protection from USB on Windows 10

menu_default hide_default

The process of formatting a USB device using your system is very easy. The best part is that this is one exercise that can enable you to store more files. It can also help to remove malware or virus from a USB device once done correctly. However, there are times such may not be easy given that you may receive a message saying that Windows can’t format USB device due to write-protection.

The major aim of this post will be to show you how to remove the write protection from USB on Windows 10. You will be amazed at how easy this process can actually be.

1How to Remove Write Protection from USB on Windows 10

1Move the Physical Switch

In order to ensure data security, manufacturers would take that extra step in adding a switch to a USB drive. Once such switch is locked, formatting the device on any system will not be possible. Check the body of your USB flash drive in order to find out whether there is a switch. Once there is, have it turned off to format such device.

This is one of the easiest ways to solve any problem about how to get removed the Write Protection on your USB Windows 10.

2Using Diskpart

One of the most effective and easy ways to get removed the write protection on your USB flash drive is the use of diskpart. All that is required of you is to understand the process properly.

Step 1: Get connected your USB drive to your system.

Step 2: Windows key and X should be pressed.

Step 3: Run should be selected.

Step 4: “Diskpart” should be entered after which you will then press OK.

Step 5: “List disk” should be entered next to “Diskpart>”. Enter should be pressed after that.

Step 6: Locate your USB drive amongst the various mounted disks and take note of its disk number.

Step 7: “Select disk disk_number” command should be entered after which you will then press on the Enter key. Your disk number noted in step 7 should be used in replacing the “number”. For instance, it could be select disk 2 once the drive number is 2.

remove write only protection with diskpart

Step 8: Once the disk has been selected, a message will be displayed in diskpart showing the disk has been selected.

Step 9: "attributes disk clear readonly” command should be entered. After that, Enter should be pressed.

After the removing of write protection successfully, a message will be shown. Your drive can now be formatted.

3Remove Write Protection from USB on Windows 10 with Regedit

Another method that you can use in removing write-protection on your USB drive is Windows Registry. This is a very effective method that can enable you to format your drive once again. Below are steps to use it.

Step 1: Get the drive inserted into your system.

Step 2: Windows key and X should be pressed.

Step 3: Have Run selected.

Step 4: Regedit should be entered after which you will select OK.

Step 5: Inside the Editor of Registry, go to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control and finally click on StorageDevicePolicies.

navigate to storage device policy

Step 6: WriteProtect should be double clicked on for Edit Dword to be opened.

Step 7: Inside the text box (value data), zero should be used to change the number.

edit dword value

Step 8: OK should be selected.

Step 9: Regedit should be closed.

Step 10: Have your system restarted and you can now format such USB drive.

2How to Recover Data from USB after Removing Write Protection

Once you’ve succeeded in formatting your USB drive as shown above, files will be gone. The problem is that you could lose important files along with those that aren’t important. This is where you will need a data recovery tool such as AnyRecover. This tool will help to ensure that the process of recovering lost files from your USB drive is easy.

AnyRecover has got some really advanced features that will help you recover every file which you must have lost. This is one of the reasons why it tends to be getting very popular since it can meet the needs of users.


1,000,000 + Downloads

Features of iMyFone AnyRecover:        

It made easy to get recover any kind of data loss. The data loss could be happened due to virus/malware attack, hard drive formatting, system crash, lost partitions, accidentally deleted files and more.

Any device is supported like USB drive, SD card, hard drives, camcorder, digital camera, smartphones and more.

Data recovery is safe and fast.

Over 1000 files are supported like photos, documents, videos, audios and more.

Try It FreeTry It Free

Steps to Recover Data with AnyRecover

Using AnyRecover is a very easy and straightforward process. Below are some of the steps to follow.

Step 1. After getting AnyRecover downloaded and launched, the mode will say that “Deleted Files Recovery” should be selected.

deleted files recovery

Step 2. Select the location you want to recover data from. If it is your USB drive, click on it and hit the “Next” button below.

deleted files recovery select path

Step 3. Choose the file type which you need to recover. It could be video, audio, document, or photos. After selecting the type of file, click on “Scan” to commence the process.

deleted files recovery select file type

Step 4. Once the scanning process is complete, all the files found will be listed by AnyRecover. You can get of their preview before you click on the “Recover” button.

deleted files recovery scan

deleted files recovery preview

3All You Need to Know about Write Protection

Write protection is a situation where you can’t modify or delete files that have been stored on your USB drive. It is a feature that is enabled when you don’t want your old files to be changed by accident in your USB drive. It can also be used in preventing the deleting of files accidentally from a USB drive.

How Comes Write Protection USB

There are some possible causes for this problem. Some of them will be highlighted below:

When your USB drive has been attacked by virus.

When the write-protection switch has been turned on. In this case, you only need to have it turned off.

When your USB drive storage space is full.


Based on the above, it is obvious that the problem of how to remove the write protection from USB Windows 10 can be resolved through various methods. Just choose one method that will be comfortable for you. However, don’t forget that you may lose some data when such USB drive has been formatted which makes iMyFone AnyRecover useful.

Try It FreeTry It Free


By Alva Doris , to Deleted Files Recovery

Updated: Apr 21, 2021

Related Articles: