Did you make a recovery media usb flashdrive or disk set?
What was the operating system it was delivered with?
You are going to need to use an Ubuntu live flash drive to delete the partitions on the hard disk and return them to RAW or FAT32 type. Ubuntu uses ext4 and Linux swap files that are not recognized by Windows installers.
Best regards,
erico