@itsfoss My favourite ways to remove Windows:

HDD
hdparm --user-master u --security-set-pass Password /dev/X

time hdparm --user-master u --security-erase Password /dev/X

NVMe
nvme format /dev/nvmeX -s 2 -n 0xffffffff