Fix The Disk Is Write Protected Error For USB Drives In Windows 10

Getting Disk is write protected error while attach/open an external drive on Windows 10/8.1/7? Or cannot format the drive is write protected while formatting the USB drive? This mostly occurs when windows registry entry is corrupt, your system administrator has placed limitations or the device itself is corrupt. Let’s discuss How to remove write protection from USB drives and memory cards.

The disk is write protected. Remove the write-protection or use another disk

Remove write protection from USB drives

When you get Disk is write protected error on a USB flash drive, SD card, CD or pen drive, this makes the device useless. The disk is write protected error in Windows 10/8/7 stops the operation of formatting, and writing data, i.e. copy & paste files to the generic USB stick. If you are also having a problem like this device is write-protected, here apply the solutions below to Remove write protection from USB drives.

First, check The device with a different USB port or on a different PC.

- Advertisement -

Some external devices such as pen drives carry a hardware lock in the form of switch. You need to see if the device has a switch and if it is pushed to protect the device from accidental writing.
Also, scan the device for Virus/malware infection, To make sure any virus, or spyware not causing the issue.

After checking basic things still getting Disk is write protected error. Let’s perform advanced troubleshooting such as Tweak Windows registry, DiskPart Command Prompt Utility etc. Before this, we recommend to Backup your important data.

Check Security Permissions

  • First, open this PC / My computer, Then Right-click the USB drive and select properties.
  • In the properties window, select the Security tab.
  • Select the ‘user’ under the username and click on ‘Edit’.
  • Check if you have Write permissions. If you don’t, check the option “Full” for full permissions or “Write” for write permissions

Tweak Windows registry to Remove write protection

In this step we are going to modify the Windows registry, so before making any modifications we recommend to back up your registry database.

Press the Windows + R key, type regedit and hit the enter key to open the Windows registry editor. Then navigate to the following path :


- Advertisement -

If you didn’t find the key StorageDevicePolicies, Then right-click on the control and select new -> key. Name the newly created key as StorageDevicePolicies.

create StorageDevicePolicies key

Now Click on the new registry key StorageDevicePolicies and on the right pan right-click, select New > DWORD and give it the name WriteProtect.

create WriteProtect DWORD value

Then Double click the key Write Protect in the right pane and set the value to 0 In the Value Data Box and press OK button. Exit Registry and reboot your pc to effect the changes. Now check this time your removable drive working properly without write protection error.

registry tweak to Remove write protection

Remove Write protection on the registry editor

If the above registry tweak failed to fix then again open the Windows registry editor and navigate to:

In the right pane of {53f5630d-b6bf-11d0-94f2-00a0c91efb8b} key, look for the registry DWORD (REG_DWORD) named Deny_Write. Double-click on it and change its value to 0.

Remove Write protection on registry editor

If you didn’t find the key then right-click on Windows -> key and name it RemovableStorageDevices. Again click on RemovableStorageDevices -> key name it {53f5630d-b6bf-11d0-94f2-00a0c91efb8b}. Next select {53f5630d-b6bf-11d0-94f2-00a0c91efb8b} on the middle pane right-click new Dowrd and name it Deny_Write. Double-click on it and change its value 0. 

DiskPart Command Prompt Utility to Remove write protection

If the above registry tweak is unable to fix the problem still getting disk is a write protected error.  then try the Disk part utility to remove the write protection error. To do this open command prompt as administrator.

To do this click on the start menu search type cmd, form search results right-click on the command prompt and select run as administrator. Now, at the prompt, type the following and press Enter after each command:

list disk
select disk x (where x is the number of your non-working drive – use the capacity to work out which one it is. For me its disk 1)

attributes disk clear readonly (To clear any remaining read-only file attributes from the USB drive.)

Remove write protection using DiskPart Command Utility

create partition primary
format fs=fat32  (you can swap fat32 for NTFS if you only need to use the drive with Windows computers)

That’s it. Your drive should now work as normal in File Explorer. If it doesn’t, then the final option try to format the USB drive.

Format the USB Drive

Warning: Make sure that you back up all the files and information from your USB drive to your computer. All data will be lost once the USB drive is formatted.

Open Windows Explorer, and browse to My PC. This gives you an overview of all drives connected to your system. Right-click your USB drive and select Format. The Format window contains several customizable options, such as the aforementioned File system, the Allocation unit size, the Volume Label, and the Quick Format option.

Format the USB Drive

As we are dealing with a potential hardware issue, uncheck the Quick Format box. That will force the format to do more than just erase files. When you are ready click on the start button to completely format the drive. Now remove the external drive, restart Windows and insert the device again to check it’s working.

I hope to apply these steps to remove the write protection error from your external drive. Still, have any queries, suggestions or any new way to fix Disk is write protected error for external devices feel free to comment below.

Also, read

More from this stream