The only free programs I know to do that right off come with the hard drive. if you didn't buy retail, the software's probably on the manufacturer's website.
But, as PC eye said, if you changed more than just the HD, you're probably going to have some problems. Windows XP doesn't like major hardware changes and typcialyl won't boot after such changes are made.