You can use the Wipe All command in DiskPart to write over all data on a drive. Start DiskPart with administrator rights. Show available disks and select the USB stick Wipe all data Create partition and format the disk
Tag: format
Format Windows HDD With Command Line Using Diskpart
Start DISKPART via the command prompt with administrator rights Show disks Select a disk Show partitions if necessary Clean the HDD, erasing data and partitions Create a new partition Format the drive