Hello,
I need more info.
During the repair, did the motherboard change?
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?