I am using Win32DiskImager to clone my SD card on Windows (Windows 10, 1809 before, 1903 recently).
The source SD card has Raspbian installed + some custom software (Python and some scripts to play Tetris on WS2812 LEDs). The disk imager can create the IMG file and verify it successfully:
Writing the image onto a new SD card of same size is also successful:
However, verification fails:
I tried this several times with different cards and images. The sector number is always quite low, i.e. it takes less than 2 seconds for the verification process to determine that something is wrong.
It seems the problem is known as issue #50, reported in 2017 already. One of the statements of Tobin Davis (the developer) is:
[…] My dev system is running Windows 7. […] Windows 10 is making a filesystem change after we release the drive from writing.
And indeed, I cannot recall problems cloning cards on Windows 7.
However, the problem has not been fixed yet. If it’s really Windows breaking the SD card, the fix might not even be implemented in Win32DiskImager.
I have already tried:
- SD cards of a different manufacturer (SanDisk instead of Intenso)
- an external USB SD card reader instead of the built-in one
- disabling the virus Scanner (ESET Endpoint Antivirus 7.1)
- using Etcher to write and verify the disk image instead of Win32DiskImager
- I’ve seen the question Issues cloning an SD card, but a) the question is for Mac and b) the suggested solution uses Win32DiskImager, since I can’t use DD or ApplePi-Baker
- I’ve also seen Win32 Disk Imager creates a corrupt file of my SD card, but the answer there is more a rant on Win32DiskImager, which I have used for 3 or 4 years without problems until today.
- It’s not a problem that the SD image won’t fit on the SD card. I have that problem as well with some cards, but Win32DiskImager warns you very well.
How do I successfully clone SD cards on Windows 10?
Please do not suggest Linux solutions here. I know that I can possibly boot Ubuntu from a Live USB stick and then use
dd for cloning.