Ok, you need to do a repair install. That alone would most likely address the activation issue.
To perform a repair installation of Windows 11 using the Windows Media Creation Tool:
The following steps should be done on a working Windows computer:
Download the Windows Media Creation Tool from Microsoft's official website. https://www.microsoft.com/software-download/windows11 click on the "download now" button under "Create Windows 11 Installation Media"
Run the tool and select "Create installation media for another PC."
Choose "USB flash drive" as the media to use for the installation and select "Next."
Connect a USB flash drive with at least 8 GB of free space to your computer.
Select the USB flash drive you want to use, and then select "Next."
The tool will then download the required files and create the installation media.
=====================================================
Now these steps will be done on your problematic computer:
Go to the USB drive via File Explorer, locate and run the Setup.exe file. Ideally, you should disconnect all USB and Bluetooth devices other than mouse and keyboard. Disable any 3rd party antivirus program. Disconnect the internet.
Once you run the Setup.exe file, choose the Install option, and the choose the option that keeps your files and apps.