How to Remove Write Protection on USB
Do you receive a “the disk is write-protected” error when attempting to format a removable disk (such as a USB stick, SD card, CD, etc.)?
When this appears in Windows 10 it stops the formatting operation and data writing, i.e. avoid copying and pasting files to the storage device.
It is essential to remove the write-protection from the device. Here’s how to do it step by step.
How to remove write protection on USB, SD memory card, CD disc?
Surely if we frequently use external storage devices, many may have encountered at least once the problem of the disk, especially the “disk is write-protected”.
When Windows starts writing-protecting your disk, such as a SanDisk 4GB USB flash drive, you will no longer be able to use it until you remove the write-protection from it, to remove the usb write-protection in Windows 10/8/7, see the following methods.
Method 1. command Diskpart
Open the Administrative Command Prompt.
Step 2. Type these commands one by one and press Enter after each command:
select disk # (# is the number of USB drive that is receiving write-protect error and must be connected to PC, see screenshot below)
attributes disk clear readonly
Step 3. Now you can close the command prompt and reconnect the USB stick and see if the problem has been solved by dragging a file onto it or attempting to format it by Windows Disk Management or by using the EaseUS Partition Master disk management software.
Method 2. Regedit.exe
Insert the USB stick to the PC, press the combination of Windows + R keys, type regedit in the dialog box and press Enter to open the Registry Editor.
Step 2. The Record Editor window appears, navigate to this location: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlStorageDevicePolicies.
Note: If you cannot locate StorageDevicePolicies then you have to create this folder. To do this right click on Control > New > Key, name StorageDevicePolicies. Right-click the new folder you just created called StorageDevicePolicies, select New > DWORD Value.
Name this WriteProtect in the right pane.
Double-click WriteProtect and set the value to 0 > OK
Close the Registry Editor, restart your PC and re-insert the USB memory stick.
How to format write-protected USB?
Having removed the write protection from USB under Windows 10/8/7, it now operates in a normal state and will not cause any “disk is write-protected” error during the formatting process.
To format a write-protected USB memory stick in an easy way, we recommend using the partition management software – EaseUS Partition Master, which is a powerful but easy-to-use alternative to Windows 10/8/7 disk management.
Guide: Format USB write-protected with EaseUS Partition Master
Insert the USB stick to the PC with windows (Windows 10/8/7/XP/ Vista) and run EaseUS Partition Master. Right click on it and select Format.
Step 2. A window will appear in which you can edit the partition label and choose a file system (FAT/FAT32, NTFS, EXT2/EXT3).
If the USB is larger than 4 GB, you can only choose FAT32, NTFS or EXT2 / EXT3, and if the partition is smaller than 4 GB, you can choose FAT, FAT32, NTFS and EXT2 / EXT3. Then choose the cluster size (512 bytes, 1, 2, 4 … 64KB) in the list and click “OK” to start the formatting operation.
Note: A smaller cluster size results in less disk space wasted. The smaller the cluster size, the larger the file allocation table (FAT). And the greater the FAT, the more lens the operating system will run with the disk.
Step 3. Click “Run” to confirm formatting of the write-protected USB memory stick or other removable storage devices.