Hello,
I assume the motherboard changed too?
How did you obtain your license initially?
Did it come with the device preinstalled, or did you purchase it?
If you purchased it, did you purchase from Microsoft, or from third party?
Is it originally a Win7/8 key?