> How to > Partition Manager > The Disk Is Write Protected in Windows 10/8/7

The Disk Is Write Protected in Windows 10/8/7

Updated on Dec 10, 2018 by Jean to Partition Manager

Summary:
How to format a write-protected USB drive or SD card when Windows 10 sends error: the disk is write-protected. Remove the write-protection or use another disk. Refer to the fixes here and make your storage drive workable again.

Receive error "the disk is write protected" when trying to format a removable disk (such as USB flash drive, SD card, CD, or pen drive)? The disk is write protected error in Windows 10/8/7 that stops operation of formatting, writing data, i.e. copy & paste files to the generic USB stick. It's imperative to remove write protection on the drive. Learn the how-to guide step by step to fix the "disk is write protected, remove the write-protection or use another disk, removable disk" now.

the disk is write protected

How to fix the write-protected error

We use removable storage devices a lot on a Windows computer, and some of you may encounter the issue of the disk malfunction, which is mostly about "the disk is write protected". When Windows starts to write protect your disk, for example, a SanDisk 4GB USB flash drive, you can no longer use it anymore until you remove the write protection. The fixes are as follows.

Method 1: Diskpart command

Step 1: Open administrative Command Prompt.

Step 2: Type these commands one by one and press Enter key after each:

  • diskpart
  • list disk
  • select disk # (# is the number of USB drive with which you're getting the write-protected error and is plugged in, see screenshot below)
  • attributes disk clear readonly

use diskpart to remove write-protection usb

Step 3: You may now close Command Prompt and re-plug the USB drive and check if the issue is resolved, by dragging a file to the drive or trying to format in Windows Disk Management or EaseUS Partition Master coming in the later part.

Method 2: Regedit.exe

Step 1: Press Windows Key + R keys simultaneously, type "regedit" in Run dialog box and hit Enter to open the Registry Editor.

use regedit.exe to remove write protection usb

Step 2: In the left pane, navigate here: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control

Step 3: In the left pane of this location, right click Control key and select New -> Key. Name the new sub-key so created as StorageDevicePolicies. Now come to the right pane of this sub-key i.e. StorageDevicePolicies, right click and select New -> DWORD Value. Name the newly created DWORD as WriteProtect. In some cases, you might find that this DWORD under the sub-key already exists and the DWORD has a Value set to 1. Double-click on the DWORD to modify its Value data.

set value data to remove write protection usb

Step 4: In the above-shown box, change the Value data to 0 from 1. Click OK. Close the Registry Editor and check if the issue is resolved by dragging a file to the drive or trying to format in Windows Disk Management or EaseUS Partition Master coming in the later part.

You can try those methods mentioned above and they may help you remove the Write Protected  error. Besides, if you have the need to  format a hard drive, memory card, sd card or external drive, we recommend you a reliable partition software -  EaseUS Partition  Master, which is a powerful yet user-friendly alternative for Windows 10/8/7 disk management program.

How to Use the "Format" Function to Format a Hard Drive with EaseUS Partition Master

Download Now

 Windows 10 is supported

 

Step 1: Run EaseUS Partition Master, right-click the hard drive partition you intend to format and choose "Format".

Format Hard Drive Partition - Step 1

Step 2: In the new window, set the Partition label, File system (NTFS/FAT32/EXT2/EXT3), and Cluster size for the partition to be formatted, then click "OK".

Format Hard Drive Partition - Step 2

Step 3: Then you will see a warning window, click "OK" in it to continue.

Format Hard Drive Partition - Step 3

Step 4: Click the "Execute Operation" button in the top-left corner to review the changes, then click "Apply" to start formatting the partition on your hard drive.

Format Hard Drive Partition - Step 4

The smaller cluster size makes less wasting of disk space. The smaller cluster size is, the bigger file allocation table (FAT) will be. The bigger the FAT is, the slower the operating system works with the disk.