Hi there,
I’m Cherrelyn, and I’m here to help.
Since you changed your motherboard and CPU, Windows sees it as a new device. This is why activation fails your digital license was linked to the old hardware. Please sign in with the same Microsoft account used to purchase Windows, then go to Settings > System > Activation > Troubleshoot, and select "I changed hardware on this device recently." Follow the prompts to reactivate. If that doesn’t work, you may need to contact Microsoft Support to manually reactivate your license.
I hope this helps, and if you have any questions, feel free to reply to this post.
Warm regards,
Cherrelyn