If you downloading the media creation tool from Dave's link, the button that says Download tool now, then you can select to make an installation for another computer on a usb stick or dvd (not 100% sure about the dvd.. I'm assuming).
When it sets it up on the usb/dvd device you should be able to change the boot order on the broke pc and it should install windows over the top correctly any problems in the process. I've had issues before with a broken windows installation and using the media creation tool helped.