etcher: Couldn't clean the drive, Command Failed: diskpart /s --- WIn 8.1
-
Etcher version: 1.1.2
-
Operating system and architecture: WIn 8.1 on bootcamp using no-name external reader
-
Image flashed: Beagle bone black Ubuntu image
-
Note, in Windows Explorer, the drive icon & lebel “boot (e:)” on left appeared and disappeared several times before error message. Also Viper anti-virus scanned with each cycle.
-
Note, Attempted several times, including as admin with same results. Also tried with anti-virus turned off with no success. Also tried in unsafe mode with no success
-
Do you see any meaningful error information in the DevTools?
Couldn’t clean the drive, Command Failed: diskpart

About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 55 (19 by maintainers)
I found a solution that worked for me. I had same problem. Same error message. SD micro card was plugged in to a USB adapter when it was formatted by SD formatter. Even when I moved it to SD card adapter for regular SD size it still failed. But after I reformatted in the SD adapter, I was able to install the image successfully with Etcher. Something about formatting in a USB adapter?
Win 10 64. Etcher 1.4.4 SD_CardFormatter0500
Yeah, as it turned out it’s a bit more involved than initially thought, and didn’t cover enough cases of disk formats / states in order to reliable “clean” them. This should be re-closed again soon-ish though 😃
I had to close the error before the console came up 😃