the "clean" command is enough ( and it takes few seconds) .
I think I know what happens : every SD card and every cf-express card , come formatted by the factory.
Reformatting them is not enough : the partition table is kept.
Most probably the partition table (the first sectors of a disk or Usb card) are prepared by the factory in a way not always accepted by windows.
The diskpart "clean" command simply remove all partition information, so that when you format the card again, a new partition table is created, compatible with windows.