Write Protection Issue Overview
Write Protection is a physical mechanism that prevents modification or erasure of valuable data on a device. That is means that you can’t edit the data on Micro SD card, USB flash drive/Pen drive or a hard drive if the device is write-protected. Why the write protection problem appears? Its causes may be the virus attack, file system corruption, write protection switch open, and other unknown reasons.
If you fall across these errors, it could be the write protection problem:
The disk is write-protected.
Windows was unable to complete the format.
Thus, how to format a write protected Micro SD card, USB flash drive, or hard disk in Windows 7/8/10 when you really have to modify the data on that drive? Please backup the data first before removing the write protection.
How to Remove Write Protection with CMD?
You can try the two ways to format write protected SD card/USB flash drive/hard disk with Command Prompt. Diskpart and Regedit command. Follow the instructions:
Using DiskPart to fix write protected problem
Insert the write protected SD card into your computer.
Press Windows+R key combination to open Windows dialog box.
Input diskpartand hit enter.
Then type list disk to display all the storage devices, including the write protected SD card.
Input select disk n to choose the SD card.
Type attributes disk clear readonly to remove the write protection for Micro SD card.
Then re-plug the Micro SD card into the computer to see if the write protection is removed. Or you can try Regedit command to repair write protected issue.
Using Regedit to remove write protection for SD card
Input regedit in Windows search box and hit enter.
Locate the path in Registry:
Double click the WriteProtect under StorageDevicePolicies, change its value from 1 to 0, press OK.
Tips: If the WriteProtect not exists, create it manually.
How to Format Write Protected SD Card/USB/Pen Drive in Windows 7/8/10?
In addition to Windows built-in tools, the write protected SD card format software can help you out. How to format a write protected Micro SD card/USB/hard disk with the best write protected SD card format software-AOMEI Partition Assistant Professional. The detailed steps are listed below:
Free download the write protected SD card format software. Connect the write protected SD card to your computer:
Install and run the write protected SD card format tool, right click the write protected SD card and select Format Partition at drop down list.
Choose the FAT32/NTFS/FAT in File System section for the write protected SD card. Click OK.
Preview the Pending Operations, Press Apply to remove write protection and format the Micro SD card.
After these operations, the write protected SD card format software will remove write protection for SD card successfully. In addition, AOMEI Partition Assistant Professional also provides the service to migrate OS to SSD, fix SD card not showing full capacity, repair USB drive not recognized by Windows, format USB drive from exFAT to NTFS/FAT32, allocate free space, convert dynamic disk to basic and vice versa, etc. In addition, this software has a free edition with basic functions that you can try. For server users, you could enjoy all of the advanced functions with AOMEI Partition Assistant Server, which is easy to use in Windows Servers.