Hi,
If it is a purchased license—originally for Windows 10 or 11—can you try activating it after a hardware change?
https://support.microsoft.com/en-us/windows/activation/reactivating-windows-after-a-hardware-change
Or
Is it a physical 25-digit license?
Thanks.