Hi, if your Windows 11 licence is based on a previous Windows 8 licence, that is causing the activation errors, Microsoft changed the licensing rules a while ago and after they changed the rules, they have blocked a Windows 7 and 8 product key form activating Windows 10 or 11 on new hardware.
If you have not changed your motherboard or PC, this forum is just a user to user forum, you will need to contact Microsoft Support directly to ask them to reactivate your Windows licence.