Hi!
Did your computer's license come pre-installed when you bought the computer? Or did you buy it yourself?
If you bought the license, did you purchase it from the Microsoft Store, a retailer, or a third-party website?
If your license is pre-installed, or you bought it from a third-party store, your license must be OEM. This type of license is non-transferable, and you cannot use it if you change your computer's motherboard.
But if you bought the license from Microsoft and it's linked to your email account, try reconnecting it to the computer.
- Open Windows Settings > Accounts > Your info > Under Microsoft account, click Sign in as a local account.
- Click Next > Enter your email or Windows login password.
- Enter your user information > Next > Sign out and finish.
- After unlinking your email account from Windows, restart your PC > When it starts, relink your email account.