“When I format my USB any time, an error message "The disk is write protected" will pop out. I have already tried to insert the pendrive, go to the Disk Management, right click the removable disk, select Format option. But my USB is not Format. When Formatting is complete 100% again, message "The operation did not complete because the media is write protected" appears again. How can I format my write protect USB? Please help me!”
How do you format a drive that is write-protected?
When your disk is write-protected, you will not be able to modify files, add files to your drive or delete files from it because of the restrictions associated with permissions and sharing. What’s worse, the disk cannot be formatted with "The disk is write-protected" error. Here we will present how to format write-protect disk in Windows using the Registry Editor, Command Prompt, as well as a professional disk formatting tool. 3 methods are available for your choice.
★★★Before proceeding to the following methods, you can check out whether your disk (especially the USB drive) has a physical write-protection switch on its exterior, it might be in the wrong locked position. If this is the case, try toggling the switch to see if you can successfully format the drive then.
★★★Please note that following operations would case data loss, so recover data from the write-protected disk and back them up to another safe location.
3. Double click WriteProtect and Change the value data from 1 to 0. Then, click OK.
★ If there is no ”StorageDevicePolicies” under Control, you can right click "Control" and go to “New”->”Key”. Then name it with ”StorageDevicePolicies”.
★ Then, at the right-hand pane, right click white space and go to ”New”->”DWORD (32-bit) value” (If your computer is 64-bit version, choose QWORD (64-bit) Value). Name it with ”Write Protect”.
★ Finally, double-click the newly created DWORD and change its value from 1 to 0. Click ”OK" to apply the change.
★ Till now, the write protection attribute is removed from the disk, and then you can open File Explorer, right-click the disk, select “Format…”, and follow the hints to format it successfully.
Method 2. Format write-protected hard drive using CMD
When the hard drive is set into write protection mode manually in Command Prompt, you can use CMD to remove this attribution as well.
1. Click on “Start” and type “cmd.exe” into the search field. Double-click on Command Prompt to launch the program.
2. Type the following commands and press “enter” after each one.
select disk # (ex: Disk 1): to select the disk which is write protected.
attributes disk clear readonly: to change the disk’s properties so that it is no longer read-only.
Till now, the write protection attribution is removed from the disk. Next you need to input some other commands like below to format the disk.
create partition primary
Method 3. Format write-protected disk via free partition manager
1. Right-click the disk that is write-protected and select “Format Partition”.
2. Choose your desired file system (ex: NTFS), and you can also set your other disk format preferences, such as partition label and cluster size.
3. Back to the main interface, click “Apply”->”Proceed” to start formatting the disk.
With those 3 different methods for various situations, next time you will be sure to format write-protected disk successfully. In addition to formatting the hard drive, AOMEI Partition Assistant also comes with other great functions such as merging partitions, copying partition to another hard drive, migrating OS from MBR to MBR disk, merging partitions, converting file system between FAT32 and NTFS without formatting.
For more advanced functions, like allocating free space from one partition to another, splitting partition, recovering deleted partitions and so on, you can upgrade to AOMEI Partition Assistant Professional.