@auxiliary1
Is the new drive the same capacity as the old drive? If it is larger, that is OK, but if it is smaller, than can cause problems in the restore.
Also, the restore reformats the drive automatically, so there is no prep you have to do.
Have you tried doing a memory test? If not, press Esc repeatedly while rebooting, and once the HP utilities menu comes up, press F2 to run diagnostics.
Good Luck
I am a volunteer and I do not work for, nor represent, HP