Hi, I am Van. I'll be glad to assist you today.
May I request additional information regarding your license key? Did you purchase the license key separately, or was it preinstalled on your previous device?
If you purchase the license separately, do you have a copy of the product key, or is the license linked to your Microsoft account? If you have a copy of the product key, you can reactivate Windows by going to Windows settings > System > Activation > Change product key option. If you have a digital license linked to your account, kindly use the Activation troubleshooter to reactivate the operating system.
If Windows is preinstalled and activated on your previous device. It is commonly activated using an OEM license. You cannot remove or transfer this license to another device because it is embedded on the motherboard once it is used.
If you need anything else or have further questions, please don’t hesitate to let me know. I'll be glad to help.