from another pc use an 8g usb stick and use microsoft media creation tool to make a new windows 10 bootable usb iso stick. when done plug it into the new pc and boot from it. clic kon advance mode and wipe the old partion off the hard drive. then let windows install itself on a clean empty drive. before you wipe the drive move any personal files off of it.