If it’s a new drive, the simplest thing is to format them before you install Windows. Good practice to do this anyways when you setup Windows.
This “malware” is almost certainly in one of the chips on the drive rather than on the disk. Take it back.