If it was a prebuilt system it's probably an OEM Windows version. NOT transferrable to the new PC. THe license is tied to the original motherboard. And if it is a retail version of Windows and you sell the PC or give it away then the cd goes with that PC as well.
You will have to buy a new OS