Hard disk write protected USB external adapter

Command Prompt -> run as administrator

Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.


Microsoft DiskPart version 10.0.10240

Copyright (C) 1999-2013 Microsoft Corporation.
On computer: JACQUESWERK

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online         1863 GB      0 B
  Disk 1    Online         1863 GB   497 GB
  Disk 2    Online           59 GB      0 B
  Disk 3    Online         1863 GB      0 B

DISKPART> select disk 3

Disk 3 is now the selected disk.

DISKPART> attributes disk clear readonly

Disk attributes cleared successfully.


Leaving DiskPart...


How to fix USB flash, SD memory card, CD disc & Pen drive write-protected error?

We use removable storage devices a lot on a Windows computer, and some of you should at least once 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. And the fix methods 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)
  • attributes disk clear readonly

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.