How to Resolve: The Disk Is Write Protected - Qiling  

How to Resolve: The Disk Is Write Protected


I received the 'The disk is write protected' error message while using both pen drives. I have tried using the registry editor following the instructions mentioned online, but it didn't work. Any help would be appreciated.

Write protection is a feature on a disk that prevents new information from being written or old information from being changed. If a disk is write-protected, data can only be read, and new information cannot be added or modified. If a pen drive is write-protected, the physical write-protection switch can be checked to resolve the issue.

  • Check if the switch is on the lock position, and ensure the switch is "OFF".

You can use Qiling Disk Master Free, a professional software with powerful features, to fix write protection on pen drives with a few clicks.

Here are the easy steps:

Step 1. Launch the Qiling Disk Master, and select "Disk management" section.

Step 2. Right-click the write-protected pen drives and click "Remove Disk Readonly".

If the above methods don't work, you can remove the write protection using the Dispart Command.

Here is how to do it:

Step 1. To open the Command Prompt, press the "Windows + R" keys, type "cmd" in the Run dialog box, and then press Enter to open it.

Step 2. Type each command line as follow in Windows, and hit "Enter" after each command.

  • diskpart
  • list disk
  • select disk #(Replace # with the write-protected device number.)
  • attributes disk clear readonly

Step 3. When you finish writing protection removal, type "exit" to close "Diskpart."

Related Article: To remove write protection from an SD card and format it successfully, start by checking if the card is locked with a physical switch or software. If it's locked, slide the switch to the unlock position.

Related Articles


Is this information helpful?     

What can we do to improve this information? (Optional)
Refresh Please enter the verification code!


QilingTech uses cookies to ensure you get the best experience on our website.  Learn more  Got it