How to Remove Write Protection from SD Card [Solved]

How to Remove Write Protection from SD Card : Many people have been asking me from a while about Removing write Protection from SD card so in my today’s tutorial I’ll be teaching you how you can remove write protection from sd card. Also check upon how to remove shortcut virus from pc. 

UPDATE (24th August, 2016): We have updated this article with completely new methods to Remove write protection error. Please VISIT HERE –> External Link

remove write protection


Well, sometimes it may happen that you’re just not able to format your device or SD card or memory card in your windows pc and I know it sucks. Its because of write protection error something similar to the image shown above. No its not your Micro SD card‘s fault its just a simple windows error which can be fixed by simple manipulation.

How to Remove Write Protection from SD Card ?

See there are 3 steps which are very simple and easy to do and even a 5th grade kid can do it so don’t panic and it isn’t a rocket science to sd card write protected issue.

How to Remove write protection from USB Pen drive ?

Removing write protection from pen drive and removing write protection from micro sd card is one an the same so you can use the same method to remove write protection from both.

Solution 1: Check if your Pen Drive have a lock

Sometimes it may happen that by default the pen drive have a lock so before formatting it please make sure that your pen drive don’t have any kind of security pin or lock and if it is there then make sure to remove it or use it while formatting your micro sd card or pen drive.

Solution 2: Scan your SD Card / Pen Drive via Anti Virus

Make sure your Micro SD card and your pen drive isn’t have any anti virus and if they do make sure to remove it using any anti virus and if you don’t have any anti virus in your computer then download a free anti virus such as AVG Anti virus and scan your SD card or Pen drive before using it and before formatting it in order to avoid getting write protection error.

You can get best prices for Anti-Virus if you buy from using these Ebay Coupons

Solution 3: Fix it with System Registry

The 3rd best way to solve this contagious issue is by fixing it via system registry and in order to do that you need to get inside the system registry. Just follow the below steps.

  • Click on Start
  • Run > type Regedit > click on Registry Editor
  • Now follow up this fath in Registry Editor
  • Now you’ll able to see write protection option just click on that.
  • And change the value data to “o”.
  • voila you’re done!

Update (7th February, 2016) Solution 4: Open Diskpart to remove write protection from Memory Card/USB Drive

As many people told me that the above solution 3 isn’t working I’ve come up with one more method in order to remove write protection error from Memory Card or USB Drive. Follow the steps as I’ve have mentioned below.

remove write protection error

  • Click on Start > search for CMD > Right click and Run as Administrator.
  • Now type “diskpart” in CMD without quotes and press the enter button.
  • Now after doing this type “list disk” (without quotes) and once again press enter button.
  • Now tyle “Select disk 1” in order to select your SD Card or USB drive and press enter button.
  • Now in order to remove write protection error type “attributes disk clear readonly” without quotes and press the enter button.
  • Now type exit to complete the process and you’re done!
  • Now just try to format your Micro SD Card or USB drive you won’t be seeing any write protection popup error.

Update (10th February, 2016): We’ve been getting lots of comments that you’re not able to fix the write protection error still. Do not worry, we are still trying to figure out another process which may work. Please bookmark this page for further updates.

This should fix and remove write protection from micro sd card now and you’ll be able to format your sd card or pendrive.

I’d hope you liked our How to Remove Write Protection from SD Card article. Let us know if you have any doubts or any questions regarding this issue in the comment section below. We’re here to help 🙂

freedom apk | Check out vidmate apk
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.



About the Author

Shaswat Shah is the Founder and Owner of the Hackerlint. He is very Passionate, Geek and Loves Technology. You can Follow him on Facebook

95 Comments on this article. Feel free to join this conversation.

  1. Rahul January 27, 2015 at 9:17 pm - Reply

    3rd method worked for me. I used it for one of my old micro SD card. Thanks for sharing.

    • Shaswat January 27, 2015 at 9:56 pm - Reply

      I’m glad the trick worked. Anyways your welcome 🙂

    • Dollar Robert January 18, 2016 at 2:31 pm - Reply

      The 3rd method using command prompt for clearing readonly worked very well though long and confusing to follow but have the procedure printed first thanks for that guide

    • Jerry March 3, 2016 at 5:56 pm - Reply

      Cant post new comments on here. No other choice but to hit reply. Your last update was feb 10. Are you still figuring out because i keep on refreshing the page but no updates yet. None of these steps worked same with the others.

  2. Clarissa January 28, 2015 at 8:57 am - Reply

    thank you! the Regedit worked 😀

    • Clarissa January 28, 2015 at 8:59 am - Reply

      by the way, the keyword for Run is “Regedit” not “Regdit”. Please correct this because I got a pop up saying “Cannot find Regdit ….”

      • Shaswat January 28, 2015 at 8:52 pm - Reply

        Thanks. Now it is fixed 🙂 it was typo error.

  3. Jaime Barrows January 29, 2015 at 1:49 am - Reply

    I am able to get to all the “links” so call it besides the StorageDevicePoi. The only option I have is storage and there is nothing under that.. I was very excited that this would work and I got stopped up please help!

    • Shaswat January 29, 2015 at 2:12 am - Reply

      Hey Jaime,

      How can I help you please tell me what problem you’re facing regarding removing write protection error ?

    • Jhon January 30, 2015 at 3:25 am - Reply

      I have the same problem. I dont have the StorageDevicePoi part.

      • Shaswat January 31, 2015 at 3:04 am - Reply

        Hi Jhon,

        I’ve updated the article with another new method to remove this write protection error. Please try the newest method it should work.

        • Bryan February 2, 2015 at 5:53 pm - Reply

          I have tried the regedit part but I can’t see StorageDevicepoi I only see “storage”.. so I’m stuck there, I tried the last method going into CMD but that didn’t work even after it stated it was cleared. When I tried to run the format thing again, it said disk write protected

  4. Kelly January 30, 2015 at 1:40 am - Reply

    I am able to get to all the “links” so call it besides the StorageDevicePoi. The only option I have is storage and there is nothing under that.. I was very excited that this would work and I got stopped up please help!
    Also can not find “storagedeivicepoi” only find HKEY_LOCAL_MACHINE/SYSTEM/CurrentConrolSet/Control/Storage…..default REG_SZ value not set

    • Shaswat January 31, 2015 at 3:08 am - Reply

      Hi Kelly,

      Actually in most of the Windows PC it is StorageDevicePoi is the normal value set but I see as in your case it isn’t. But don’t worry I’ve updated the article with another newer method in order to remove write protection error, so you can try the newest method and revert back if you find any more difficulty or problem.

    • Kelly February 2, 2015 at 1:46 am - Reply

      Mine did not work either fortunately its a leaxr with 5 yr warranty.

  5. samgaltab January 31, 2015 at 6:16 pm - Reply

    i tried every steps but my sd card is still write protected:(

    • jon February 2, 2015 at 12:22 am - Reply

      me too, very frustrating!

      • Shaswat February 5, 2015 at 12:00 am - Reply

        Can you tell me what error you guys are getting exactly ? So I can help you to fix the issue.

        • Nikhil January 2, 2016 at 11:37 am - Reply

          its on the same stage as it was before. even after going through cmd command and then diskpart and then clear readonly after selecting the disk…

        • Cazhou January 5, 2016 at 8:34 pm - Reply

          When trying to format the SD card the format command fails saying the disc is write protected, also when trying to delete files in windows it says the disc is write protected – tried all above solutions but still write protected.

  6. Bryan February 2, 2015 at 5:53 pm - Reply

    me three

  7. Chort February 5, 2015 at 10:57 pm - Reply

    Tried all methods. None worked. 3rd solution – no registry key found by the name: “storagedeivicepoi”.

    4th solution: seems like it’s going to work, but it goes back to being ‘write protected’. I tried to formt it before the message popped up, but I got the same message – “The disk is write protected.”

    • Shaswat February 6, 2015 at 4:28 pm - Reply

      Hi Chort,

      After you complete the 4th method you need to restart your computer or else it won’t work. So make sure you restart your computer to remove this write protected error.

      • Kristina February 13, 2015 at 10:57 pm - Reply

        None of the above have worked for me. I have a micro sd and it just says it is unable to complete the format when I try to format it through my computer. When I us a SD formatter I downloaded it states memory card is write protected still and to release the write protected switch.

  8. Praveen Gowda February 14, 2015 at 11:57 pm - Reply

    Hi, it is bit strange proble, I can format my SD card without any issues, but the main issue is if I remove and reinsert in to my laptop it will be same old SD card I can see all data agai :(. Please help me to get out of this problem

    • Pooreyes January 6, 2016 at 1:37 am - Reply

      I have the same problem.

  9. asif February 23, 2015 at 4:27 pm - Reply

    None of the all have worked for for me,,,,,,,,,,

  10. franman March 5, 2015 at 1:02 am - Reply

    Hi, I see that your last method has worked for others.. Any reason why it will not work for me? I’m using Windows 7. I restarted after the process. When I attempt to format the card it still says that it’s write protected. I also scanned with Virus Software.. Thanks for your help..

  11. Kelvin March 9, 2015 at 12:36 pm - Reply

    Mine too. it didnt work.. i also downloaded a program that can format my micro SD card. but still it says “write protected” even after those solution of yours. hope you could add more solutions only if you have time. btw, im using San Disk ultra micro SDXC… thank you

  12. sidi April 26, 2015 at 10:05 am - Reply

    Sir, it didn’t work for me. What happen? Error message still the same.

  13. James Leshko April 29, 2015 at 11:23 pm - Reply

    How about this easy method

  14. vipul May 4, 2015 at 10:13 pm - Reply

    I am having 16 GB micro SD card for my cell, whenever i connect it to my laptop using USB, it works But whenever i tried it to connect with lappy using adaotor, it always show THE DISK IS WRITE PROTECTED.
    i have checked- adaptor lock, using diskpart & also thru computers disk managment.. its not working..
    curntly i m using micromax yureka, is there any problem with the cell or ?????
    please help

  15. Chris May 8, 2015 at 10:46 am - Reply

    both method i also not success. what can i do?

  16. Abbie May 10, 2015 at 4:08 am - Reply

    I have tried all the above methods & even the tape method & still write protected! I’m gettin pretty frustrated! Someone please help!…I’m not an idiot I know about the lock, etc etc…there is literally no reason why i cant delete or add files to this card!

  17. Jim May 18, 2015 at 2:58 am - Reply

    The first three did not work for me but the Update Solution 4 did work AFTER I rebooted my system with the micro SD still in the slot. Don’t know if this made a difference or not. Anyway the SD is formatting now and I thank you.

    It has been a frustrating ordeal and I’d like to know whose idea it was to lock our files/drives without asking? Is Windows responsible with one of their many updates? Forget trying to change an individual file or folder as it only gets ignored. It appears to remove the write protection but does not.
    Thanks again for your help.

  18. sumit May 18, 2015 at 12:23 pm - Reply


  19. John May 25, 2015 at 6:03 am - Reply

    working so far….. I am now formatting drive (NOT quick format) but going slow so I’m off to bed and see if it is good in morning.

  20. John May 25, 2015 at 2:42 pm - Reply

    morning is here – and it still says ‘Windows could not complete the format’ oh, dear. That was a 64GB micro. I have 4, 8 and 16 cards and they work fine, but I can’t delete anything from the 64GB – I can only copy from it. what a waste. Thanks for the tip – it nearly worked. John

  21. fyah June 2, 2015 at 2:21 am - Reply

    Solution 4 is a Great, easy solution and avoids tampering with the registry. worked for me.
    Many thanks!

  22. whoopie June 17, 2015 at 4:15 pm - Reply

    I would never have expected this to work but it did!

    All of a sudden, I wasn’t able to write to microsd card on my samsung tablet… I thought my card has finally died…

    Blow into the microsd adapter or socket.. in my case it was the tablet sd socket… frickin worked!!

    No diskpart, format, purchase necessary!

    Credit goes to Instructables website… sounds crazy but please give it a try first before anything else!!

  23. JD Agrawal June 17, 2015 at 11:19 pm - Reply

    Hey man. I m still having problem in formatting my sd card.
    Still it is not formattable. Through inbuilt formatter in windows 7 it is written in error message that unable to complete foramt. And in HP Disk formatter an error message appears which says Cannot format disk. Write protected. What should i do next in a hope to use my 32gb sd card??

  24. komal vasa June 25, 2015 at 9:45 pm - Reply



    • Shaswat June 26, 2015 at 3:39 pm - Reply

      Your most welcome 🙂

  25. vince June 27, 2015 at 9:31 pm - Reply

    after half an hour of frustration i’ve finally formatted my sd card. thanks man!

    • Loki November 2, 2016 at 11:58 pm - Reply

      How did u do it plz help

  26. omkar July 7, 2015 at 7:15 pm - Reply

    hey…. all methods Did NOT WORKED !!!
    pls ghelp me

  27. Prem July 9, 2015 at 11:15 am - Reply

    Hey guys , we need to create a key at first & have to name it as storage device poli…. and then by highlighiting it we should you need to create a dword of 32bit & tat name should be WRITE PROTECT.

  28. vijay July 17, 2015 at 7:45 pm - Reply

    none of the above methods are working for me :/ …. please help me out

  29. phine July 20, 2015 at 8:23 am - Reply

    I don’t know what’s the problem…but it doesn’t work for me…please…need help thank you

  30. cueball July 20, 2015 at 7:31 pm - Reply

    all methods not working for me, still splash-screen still comes up with “unable to format, disk is write protected” using windows 7 if this has any bearing the card is 512Mb SD card full size used in my camera, it was working ok, then all of a sudden, this started happening

  31. Ahmad July 21, 2015 at 9:33 pm - Reply

    Tried all methods but none worked for me. Still like “Windows was unable to format this disk”. Can you help me out?

  32. pravin patel July 29, 2015 at 7:21 pm - Reply

    3rd method worked for me. I used it for one of my old micro SD card. Thanks for sharing.

  33. FORUM FOR U August 11, 2015 at 8:55 am - Reply

    Thanks for this useful tips.

  34. venky August 12, 2015 at 10:45 am - Reply

    Not worked..still it is showing….
    Same problem

  35. Anna Marie August 17, 2015 at 1:28 pm - Reply

    Please help me….i already used all of it and its still not working…ive been in a mess for whole day because of this….
    i feel like crying…i have 2 SD card adapters and all of them arent working….it always says write protected….so i follow the instructions…..the solution 3 is not working…because…i didnt see the write protected option….so i couldnt make in “o”..
    i tried….and manage to exit in solution 4…… but still… still pops up…….
    i dont know what to do in this anymore……

    • Shaswat August 17, 2015 at 4:35 pm - Reply

      while you apply any of the above mentioned methods trying turning of your anti-virus.. this may solve your problem..

  36. Ahamed August 21, 2015 at 1:32 pm - Reply

    nothing is worked for me

  37. I'm Ahmad August 21, 2015 at 8:18 pm - Reply

    Any of these methods is not working for me, uninstalled antivirus even.

    • Shaswat August 21, 2015 at 8:28 pm - Reply

      have you tried restarting or rebooting your system ? Sometimes all you need to do is just reboot your system to fix small errors and issues.

  38. ritesh August 25, 2015 at 11:41 am - Reply

    didnt worked for me.. 🙁 plz tell me sumthing which will help me to remove write protection and format sd card,.,.plz help

  39. jeeva August 26, 2015 at 12:46 pm - Reply

    guy can u help i had trascend 8gb memory card tis card is used in sonyxperia neo v model(m11i) i think so now i lost the mobile but memory card is locked when i insert into pc r mobile my memory card is not detected wat can i do pls hlp me

  40. franswa September 3, 2015 at 2:22 am - Reply

    3rd method works fine..TQQ..

  41. Motiur Rahman September 8, 2015 at 6:48 pm - Reply

    I have a Write protected problem of my SD card. Then I try to solve this. I use Click on Start > search for CMD > Right click and Run as Administrator.
    Now type “diskpart” in CMD without quotes and press the enter button.
    Now after doing this type “list disk” (without quotes) and once again press enter button.
    Now tyle “Select disk 1” in order to select your SD Card or USB drive and press enter button. But still have this Write Protected Problem, Please Please Please Help Me!!!!!

    • Shaswat September 8, 2015 at 8:58 pm - Reply

      try using write protection remover software it might help!

  42. Manoj September 9, 2015 at 10:19 pm - Reply

    it is simply card is working now.thanks dude for wonderful solution thanks a lot…………………:):):):)

  43. Rahul Yadav September 9, 2015 at 10:49 pm - Reply

    Thanks for sharing this amazing post dude it really help in removing write protection from sd card. Remove Write Protection From Usb

  44. ritesh September 10, 2015 at 8:49 am - Reply

    No single method from above is Working for me. Plz what can I do??

  45. Being Hassan September 20, 2015 at 2:17 am - Reply

    Hi..!! I have tried both solution 3rd & 4th. But unable to remove the write protection of my sandisk 64 GB sdxc memory card. While formating it is showing the same message “please release the write protection switch”. Kindly help.


  46. nile September 20, 2015 at 3:55 am - Reply

    I am trying to format my sd card but it is not being formated.
    it shows a message that ” Windows was unable to complete the format” .

    pls tell me what should i do.

  47. dreamdb9 September 26, 2015 at 10:41 am - Reply

    Try all tricks but not work. Still show write protected,when try to format.

  48. CHintan September 26, 2015 at 1:26 pm - Reply

    Hi i am having samsung 32 GB SD card which is write protected. i tried all 4 methods. after 4 method i reboot my system still its showing me the same error can you please help me what to do now…..

  49. Shailesh Patel September 29, 2015 at 4:25 pm - Reply

    I am trying to use Method 4. But when I type List Disk, it shows only the Hard Disk. Does not show the SD card in the list. Getting only Disk 0.

    I am using Windows XP.

    Please help.

  50. Milandeep Attri September 29, 2015 at 7:02 pm - Reply

    I cant format my sd card and. Cant delete anything from it … I used all of ur trick even then i didn’t get results plsss help me to format it ..

  51. Dharmendra October 4, 2015 at 3:22 pm - Reply

    In my laptop have window 7 OS.. In that displays HKEY_LOCAL_MACHINE/SYSTEM/CurrentConrolSet/Control/ and then display only Storage and it’s value is.. Name: Default.. Type:reg_sz.. Data: ( value not set).. Then how can I solve my problem. Please gives me guidance.

  52. Ashish Singh October 18, 2015 at 4:24 am - Reply

    Any methods of these is not working yaar…it jus shows tat windows cant format it….aalll the tricks wic u said I did as many times …but the results were use
    wat can I do for this???

  53. dark night October 19, 2015 at 7:35 am - Reply

    Solution worked for me perfect!!!!! rate: 10/10.

  54. dark night October 19, 2015 at 7:36 am - Reply

    solution 4 worked for me. 10/10

  55. Mickey October 31, 2015 at 3:35 am - Reply

    Hello, I’ve seen all of these steps on many sites but it hasn’t worked for me.
    StorageDevicePolicies in the registry doesn’t exist for me.
    There is no physical or logical lock on the USB pen I use as an adapter.
    I did do an antivirus scan, it found something but it wasn’t what I was looking for, it was still write-protected.
    And I did the diskpart thing in the command line, and it said that it successfully removed the write-protection but it didn’t work anyway.
    I’m getting so frustrated trying to format my SD card. Worst case scenario, I have to buy a new one.
    The two ways to format on windows (one through the computer window, where you access the disks, and the other through Computer Management, found through control panel) I’ve tried both, they just said that the formatting wasn’t successful, then I tried SD Formatter v4 and that software said that it was write-protected.
    Hopefully you got another fix.

  56. HErotrophyl November 7, 2015 at 12:05 pm - Reply

    the CMD is coming till the last step and it is showing leaving diskpart…
    nothing else is happening i tried

  57. AVINASH VERMA November 10, 2015 at 9:33 am - Reply

    Didnot able to format my sd card after applying all these methods

  58. Saurabh November 17, 2015 at 8:59 am - Reply

    I am still unable to format my sd cacd after done all these mthods. plz help me for free from write protection.

  59. ROHIT November 21, 2015 at 10:59 am - Reply

    i use all the ways to remove the write protected but no one access please provide me the new access

  60. ROHIT November 21, 2015 at 11:00 am - Reply

    i use all the ways to remove the write protected but no one access please provide me the new access

  61. Planiry Bred December 9, 2015 at 7:29 am - Reply

    I got this websijte from my friend who informed mme about this and this article did solved my problem for write protection error. thanks a ton!

  62. Charmin December 9, 2015 at 2:44 pm - Reply

    3rd method worked great.

  63. Geoff January 4, 2016 at 10:13 pm - Reply

    None of these worked for me. Diskpart seemed to work, at first, but even after rebooting, disk is still shown as write-protected.

    • Chris January 25, 2016 at 11:18 pm - Reply

      Same problem here. With diskpart it displayed first, the write-protection was removed, but when I tried to format the SD with SD formatter, it said again the SD’s write-protected.

      Also I can “delete” the files on the SD card over Windows Explorer (no error msg because protection or anything like that), but when I’m checking the SD card again, all the before “deleted” files are back again.

      I’m using Win10Pro…

      • Geoff January 26, 2016 at 7:15 pm - Reply

        I gave up and sent the card back to Transcend for a replacement

  64. hero1952 January 10, 2016 at 12:03 am - Reply

    None of these worked for me either – but – when I put my SanDisk SD card into my 2008 Macbook (takes a USB card reader though) and used the Mac disk utility program to format the SD card (DOS FAT) the write protection was gone. After putting it back into my Windows 10 PC it worked just fine there too.

    I have no idea why this worked but I thought I let you know.

    • Ashish January 28, 2016 at 6:00 am - Reply

      I wanna to know.. How to remove write protection from micro sd card.. I just used diskpart, regedit.. But I failed..
      So plz help me…

  65. Yng Shiang, Tan January 26, 2016 at 4:02 pm - Reply

    2nd Nov 2015 solution works for me ! I am very happy to finally got rid of this unwanted write-protection. Thank you very much for your solution !!

  66. KRITHIKA January 27, 2016 at 3:26 pm - Reply

    Its worked. Excellent

  67. dich vu du lich January 27, 2016 at 7:27 pm - Reply

    Awesome! Its actually amazing article, I have got much
    clear idea on the topic of from this article.

  68. Penelope February 18, 2016 at 1:38 am - Reply

    WOW just what I was searching for. Came here by searching for Fitbit Coupon

  69. Anjali February 22, 2016 at 12:44 pm - Reply

    I tried the regedit method bt it isn’t workin for me. It shows that 0 (and not o) is already set for the value… bt even after that its nt working… i had my marshmallow update a few weeks back and they said that aftr updating my sd card wouldn’t b used as a storage device as usual as before… so what does that mean in my case?

Leave A Response