Sunday , 21 January 2018
Home » How To » How to Remove Write Protection from USB Drive or Memory card

How to Remove Write Protection from USB Drive or Memory card

We experience many times that some USB drives or SD cards get enabled with write protection and don’t allow to write data. Some USB drives and memory cards have physical switch which could turn ON and OFF the write protection. But sometimes it happens that USB drive or SD card refuse to format or write any data even though there is no switch on it or the switch is set correctly to let the device to be written to.

You can remove the write protection from USB Flash drive or SD card by using one of these two methods:

Method 1: DiskPart (Command Prompt)

  1. Open Command Prompt: Start -> Search Bar -> Type CMD and Press Enter
  2. Type diskpart (Another Command Prompt Window will open)Disk Part
  1. Type List Disk (It will show the disks attached with the computer)
  2. Type Select Disk # (In my case, 1 is the number of USB Drive 14GB attached with my computer)
  3. Type Attributes Disk (It shows the disk attribute. You can see Read-only: Yes)
  4. Type Attributes Disk Clear Readonly (It will disable the read-only mode)
  5. Type Exit and press Enter to exit the diskpart.

 Method 2: Registry Editor

  1. Open Run, type regedit and press Enter, it will open the registry editor.

Open Registry Editor

  1. Navigate to the following path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies

Note: If you can’t find the key StorageDevicePolicies, please go to step 5.

  1. Double click the key Write Protect in the right pane and set the value to 0 in the Value Data Box and click OK button.
  2. Exit Registry Editor and reboot the computer.

PS: If you couldn’t find the key StorageDevicePolicies in Step 2, create it manually by following these steps.

  1. Right Click on HKEY_LOCAL_MACHINE\SYSTEM\CurrrentControlSet\Control and select New -> Key.

Create New Key in Registry Editor

  1. Enter the name StorageDevicePolicies.
  2. In the left pane, select new registry key StorageDevicePolicies and on the right pane right click on the blank area, select New -> DWORD and name it WriteProtect.

Create New DWORD

  1. Double click on it (WriteProtect) and set its value to 0.
  2. Exit Registry Editor and restart the computer.

If you like this tutorial, please comment below and share with others.

Free WordPress Themes - Download High-quality Templates