By Emily / Last Updated October 28, 2019

Scenario

“Hi, when I format my USB any time, the error message that "The disk is write protected" will pop out. While formatting is complete 100% again messaging that "The operation did not complete because the media is write protected". How can I format my USB? Or is there any write protected USB format tool available? Please help me I know here are lots of experts.”

How to format write protected USB successfully in Windows 10/8/7?

From the Scenario part, we can know that you cannot format write-protected USB drive in the way of formatting normal disks. Instead, you need to first remove the write protection attribute, then you will be able to format it successfully.

As for the write protection issue, it might result from virus attack, file system errors, accidently being set into read only mode in Diskpart, wrong value of Windows Registry Key, corrupted file system, etc. Besides running anti-virus software to clear the possible virus which leads to write protection issue, you can refer to the following 4 methods to disable write protection and then format write protected USB drive in Windows 10/8/7.

Warning: all data on the USB drive will be wiped out once the formatting operation is done, so please back up data via a USB backup software before proceeding.

Method 1. Scan the drive for file system error

If the USB drive is write-protected by file system error, you can open “File Explorer”, right click the write-protected USB drive and go to “Properties”. In the pop-out Properties window, click “Tools” and then “Check”, which will scan the drive for file system error, if errors are found, you can decide to fix them.


Check File System Error

Method 2. Clear read only by Diskpart

If your USB is set into read only mode by accident in Diskpart, you can launch Diskpart service to remove it.

Click on “Start” button and type “cmd” into the “Search” field, right click on Command Prompt and select “Run as administrator” to launch the program, then type the following commands and hit on “Enter” after each one.

  • Diskpart

  • list disk: all disks on your computer will be listed along with a number to identify.

  • select disk # (ex: Disk 1): to select the USB drive that is write protected.

  • attributes disk clear readonly: to remove write protection from USB drive.

Now the disk is on longer write-protected. To format it, you will have to type the below commands.

  • clean

  • create partition primary

  • format fs=ntfs quick: you can input format fs=fat32 quick, or format fs=exfat quick instead based on your needs.

  • exit

Format Disk CMD

Method 3. Disable write protection in Registry Editor

To remove write protection attribute triggered by wrong value of Windows Registry Key, do as follow:

Step 1. Press “Win + R” at the same time to open the “Run” dialogue. Type “regedit” and click “OK” to open the Registry Editor.

Step 2. In the Registry Editor window, expand the entries on the left-hand pane to navigate to the following path:

“Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies”

Step 3. Double click “WriteProtect’ and change the value data from 1 to 0. Then, click OK to save the changes.

Change Value Data Registry Editor

Now, the USB is back to normal status and can be read and written again, then you can enter File Explorer or Disk Management, right click the USB drive, choose “Format…” option and follow the prompts to format itsuccessfully.

Method 4. Try write protected USB format tool

If it is the corrupted file system that makes the USB write protected, you can try AOMEI Partition Assistant Standard to format the USB drive. This is a free but powerful disk formatting tool for Windows 10/8/7/XP/Vista computer, and it is able to format RAW USB drive as well. Now follow the below steps to format write protected USB drive in Windows 10/8/7.

Write-Protected USB Format Tool | AOMEI Partition Assistant

Format write-protected USB drive within 3 steps. Support most of USB brands, such as Kingston, Patriot, HP, SanDisk etc.

Download Freeware

Win 10/8.1/8/7/XP

20,000,000 people have downloaded it

Step 1. Download, install and launch the freeware. Right click the write-protected USB drive and choose “Format Partition”.

Format FAT32 Partition

Step 2. In this window, you can choose a proper file system based on your requirements, then click “OK” to continue.

Choose NTFS

Step 3. In the main interface, click “Apply” and then “Proceed” to execute the pending formatting operation.

Proceed

In fact, AOMEI Partition Assistant is far more than a write protected USB format tool, it is also an SD card repair tool, hard drive eraser tool, MBR repair tool.

If you upgrade to Professional edition, you can use it as an SSD optimization tool to significantly optimize the reading and writing performance of SSD drives.