Just want to make sure, this is after the troubleshooter is already run, right?
Go to Settings > System > Activation, run the troubleshooter, choose the hardware change option. When it asks you where it is installed on right now, you should choose the old device name. Then click on Activate button. And on the next screen when it asks you where to transfer it to, choose your new device name.
=======
If so, please perform a repair install, then run the troubleshooter again.
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.