Typically starting over again (presuming no hardware issues) will work
even if a partial install is on the HDD, but often it will create another install interleaved with the exsisting (non functioning one)
All the Windows files & folders will be there but it will create another set with a “2” appended to the folder names
This is “bad”
WHEN you resolve the underlaying hardware issue, most likely either a loose or dead memory module… be sure toyu choose to delete the exsisting partition on the drive and format it again, to remove all traces of the failed install.
If the windows install disc “sees” the HDD the fact that it is SATA or IDE is largely irrelevant to installing a functioning OS on the drive.
Though sometimes with installing windows with the drives jumpered incorrectly will
often actually work… but will frequently STOP working without warning…
With SATA that isn’t even a possible issue.