![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://programming.dev/pictrs/image/d5ef12c0-0188-4724-bb65-589ab41818d6.png)
4·
23 days agoOkay, when you’re having issues with an SD card not formatting, I always try the following steps first. Open powershell or cmd prompt in admin mode then try:
diskpart
list disk
select disk <YOUR SD CARD NUMBER>
clean
create partition primary
format quick
Then give it another go. This will often resurrect dead drives/cards/USB sticks or reset them back to their old capacity when it displays wrong.
There may be using a card/drive manufacturers utility but I’m not sure beyond that. I’ll usually abandon a drive or card if this doesn’t work. With that said, someone smarter than me may have some other suggestions (linux-based?) using gparted or another tool.