There are a few options here:
If you just swapped your old drive into the new computer without re-installing windows then be aware that you will have to. Problem solved.
If you did a re-install, then take comfort that your new hardware is good because you are getting to windows (though there is a possibility of bad ram, but I find this doubtful). There is a possibility that you just need a new HDD, and you will be fine.