Umm, yes
All manufacturers (including HP) have made their restore CDs only to be used on that specific system they were originally made for
Changing Motherboard and or, CPU
Will cause the Restore CD not to work any longer
You will need an original Windows Setup CD, now
Try newegg.com website for Windows CDs