How to Remove Write Protection from USB Drive or Memory card

Some times, USB flash drives or memory cards get read only write protected error, i.e. you can’t copy data in to the USB drive. To solve this issue, here we are sharing some methods to remove the write protection from pen drive or memory card.


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

There are many reasons that cause this problem, let’s see solutions…

Method 1: Check for a Physical Switch

Some USB drives and Memory cards have a physical locking switch that allows you to lock drive and prevent any changes. Examine the USB drive or Memory card closely. If you can find the switch, switch it to the other side to turn the protection off.

Method 2: Scan with Updated Antivirus

The problem can also be caused by some virus activity, so just get it scanned by some updated good antivirus software which may solve your problem. If you don’t have an updated antivirus, Use free Kaspersky virus removal tool.

Also Read :  Top 5 free antivirus software’s for windows

Method 3: Check Security Permissions

  1. Right click the USB drive and select properties in the explorer windows.
  2. In the properties window, select the security tab.
  3. Select the ‘user’ under user name and click on ‘Edit’.
  4. Check if you have Write permissions. If you don’t, check the option “Full” for full permissions or “Write” for write permissions

Method 4: Using Registry Editor

  1. Open Start Menu
  2. Run, type regedit and press Enter, this will open the registry editor.
  3. Navigate to the following path:
    P.S. If you can’t find the key StorageDevicePolicies , go to step 6.
  4. 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
  5. Exit Registry and reboot your pc

    If you can’t find the key StorageDevicePolicies in step (3) you have to create it manually.
  6. Right-click HKEY_LOCAL_MACHINE\SYSTEM\CurrrentControlSet\Control\ and select New -> Key.
  7. Enter the name StorageDevicePolicies.
  8. Click on the new registry key StorageDevicePolicies and on the right pan right-click, select New > DWORD and give it the name WriteProtect.
  9. Double click on it and set its value to 0.
  10. Restart your system and check it.

Method 5: Using Diskpart (command prompt)

  1. Start > search bar -> CMD and press enter
  2. Type< diskpart
  3. Type< list disk
  4. Type< select disk # (# is the number of the USB DRIVE you’ve plugged in )
  5. Type< attributes disk clear readonly
  6. Type “exit” to exit the diskpart

Method 6:Format your USB Drive

If the above methods do not solve the problem and still the usb drive is write protected then you can execute a “low-level format” on the drive. Download  HDD Low Level Format Tool to perform the “low-level format” of your USB drive.  After completing the low level format you may have to create a partition in that disk drive.

For that :

  1. Run diskmgmt.msc in Run.
  2. In the disk management window, select the pen drive, right click on it and click on Format.
  3. Click OK. That’s all

Hope one of the solution may help you to remove Write Protection from your USB drive or memory card.

Posted by / | Filed Under: USB Drive, Windows


  1. hair loss solution says:

    Incredible! This blog looks just like my old one! It’s on a completely different subject but it has pretty much the same layout and design. Wonderful choice of colors!

  2. Navneet says:

    Excellent… I
    For me only Method 5 works whiic is “Method 5: Using Diskpart (command prompt)”
    I really appreciate the steps given.
    Now I can use my WD Passport Ultra 1TB without any problem.
    Thanks a lot for sharing this,.
    Great work!!!!

  3. ildi says:

    The only solution that worked for me was using USB flash drive utility provided by the USB brand.

  4. karuna says:

    oops.. my penrive have same problem. i try all of this step… 5th one is executed but still same problem.

    any other idea

  5. Arun says:

    Thank you very much, you saved my day……

  6. Adam Griff says:

    Attempting step 6) now, all others have failed in the past, will post the result!

  7. Shane says:

    Excellent post! We are linking to this particularly great article on our website.
    Keep up the great writing.

  8. fari says:

    none of the steps worked for me. i tried everything and yet the usb still lock and can not be format. any other suggestions?

  9. darshu says:

    But this not work my pc
    Plz help??

  10. santosh khade says:

    plz help
    all steps are work corectly but at last step disk management did no show pendrive..?
    So,how can i format the pendrive??

  11. Pedro Lucas says:


    I’ve tried all methods, but anyone worked. I bought a Lenovo pendrive and it came with write protection. Do you have any idea how to move it out?


    Pedro Lucas

  12. Ashley says:

    The registry edit worked like a charm! What a relief. Thank you!!

  13. husnain says:

    when i format mu usb “windows unable to format” i try to usb bootable plz help me

  14. tom'y says:

    THX I can fomat my USB successfully using method 4

  15. Koen says:

    I used Windows Error scanning tool. Do Properties on the drive. Select ‘Check Errors’.
    After it scanned the disk (and found some errors) windows set the USB drive to read-write mode. So I was able to delete and add files.

  16. vinayak says:

    still i have a problem with my pendrive .
    it is write protected 3

  17. pepe says:

    The seventh point is the trivial situation: A read-only status of hardware was set wrong. Thus he will remain forever.

  18. gopal says:

    the disk write procted

Leave a Comment