# I can't formate my usb after flash

**URL:** <https://forums.balena.io/t/i-cant-formate-my-usb-after-flash/79051>\
**Category:** balenaEtcher\
**Created:** [March 14, 2020, 11:57pm UTC](https://forums.balena.io/t/i-cant-formate-my-usb-after-flash/79051 "2020-03-14T23:57:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fasegame](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/fasegame/32/3310_2.png) [@fasegame](https://forums.balena.io/u/fasegame)\
**Post date:** [March 14, 2020, 11:57pm UTC](https://forums.balena.io/t/i-cant-formate-my-usb-after-flash/79051/1 "2020-03-14T23:57:02Z")

</div>

hello , after flashing my usb , I plugged the key on my pc , the usb boot is good but the install was crash , so I return on my windows for formate my usb , but when I want to formate my usb I have an error. !

"  
DISKPART\> select disk 2

Le disque 2 est maintenant le disque sélectionné.

DISKPART\> clean

Diskpart a rencontré une erreur : Accès refusé.  
Pour plus d’informations, voir le journal d’événements système.

DISKPART\> clean

Diskpart a rencontré une erreur : Accès refusé.  
Pour plus d’informations, voir le journal d’événements système.

DISKPART\> create partition primary

DiskPart a réussi à créer la partition spécifiée.

DISKPART\> format fs=fat32 quick

Diskpart a rencontré une erreur : Le fichier spécifié est introuvable.  
Pour plus d’informations, voir le journal d’événements système.

DISKPART\>  
"

---

<div class="post-metadata">

**Author:** ![nghiant2710](https://avatars.discourse-cdn.com/v4/letter/n/90db22/32.png) [@nghiant2710](https://forums.balena.io/u/nghiant2710)\
**Post date:** [March 16, 2020, 10:20am UTC](https://forums.balena.io/t/i-cant-formate-my-usb-after-flash/79051/2 "2020-03-16T10:20:35Z")

</div>

Hi,

Since you had access denied when performing DISKPART clean/format, It means that the storage device is considered to be blocked, write-protected or unauthorized and in this case, DISKPART clean or format command cannot be properly completed.

Can you please check again if your device is not locked?

---

<div class="post-metadata">

**Author:** ![fuadbundu](https://avatars.discourse-cdn.com/v4/letter/f/c0e974/32.png) [@fuadbundu](https://forums.balena.io/u/fuadbundu)\
**Post date:** [September 4, 2021, 1:52pm UTC](https://forums.balena.io/t/i-cant-formate-my-usb-after-flash/79051/5 "2021-09-04T13:52:09Z")

</div>

it seem like a big problem with is tool just after failed flash your device is gone. In Poweriso when you encounter a such a problem, there is away to restore back your device to its previous state. You have to find a way to solve this issue.

---

<div class="post-metadata">

**Author:** ![vctqs1](https://avatars.discourse-cdn.com/v4/letter/v/ad7895/32.png) [@vctqs1](https://forums.balena.io/u/vctqs1)\
**Post date:** [September 15, 2021, 5:43am UTC](https://forums.balena.io/t/i-cant-formate-my-usb-after-flash/79051/6 "2021-09-15T05:43:44Z")

</div>

I have exactly issue in Ubuntu 20.04, How we can format this USB?  
I 'm trying to find a way format USB 2 days ☹

---

<div class="post-metadata">

**Author:** ![cmfcruz](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/cmfcruz/32/6878_2.png) [@cmfcruz](https://forums.balena.io/u/cmfcruz)\
**Post date:** [October 21, 2021, 1:44pm UTC](https://forums.balena.io/t/i-cant-formate-my-usb-after-flash/79051/8 "2021-10-21T13:44:51Z")

</div>

Hi @fasegame,

Are you able to run `diskpart.exe`using administrator privileges? Admin privileges are required to write onto the disk. You may follow the guide on how to run diskpart with admin privileges using this guide: [Etcher broke my USB stick … or did it?](https://www.balena.io/blog/did-etcher-break-my-usb-sd-card/#:~:text=or%20SD%20Card-,Using%20Windows,-The%20method%20you)

You may also run the command `detail disk` from within diskpart after selecting the disk to see if the disk’s `read-only` property is set to `Yes`. If it is, you may try running the command `attributes disk clear readonly` in diskpart to reset that property. Reboot your computer then try reformatting your USB again.

Regards,  
Carlo

---

<div class="post-metadata">

**Author:** ![cmfcruz](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/cmfcruz/32/6878_2.png) [@cmfcruz](https://forums.balena.io/u/cmfcruz)\
**Post date:** [October 21, 2021, 1:45pm UTC](https://forums.balena.io/t/i-cant-formate-my-usb-after-flash/79051/9 "2021-10-21T13:45:48Z")

</div>

Hi @vstqs1, you may want to try following this guide to reformat your USB using Linux: [Etcher broke my USB stick … or did it?](https://www.balena.io/blog/did-etcher-break-my-usb-sd-card/#:~:text=to%20use%20again.-,Using%20Linux,-Make%20sure%20the)
