Please share the following setup log file on OneDrive (or any other host) and post the link here:
C:$WINDOWS.~BT\Sources\Panther\setupact.log
(How-To: Share OneDrive files and folders - Microsoft Support)
Note: The "C:$WINDOWS.~BT" folder is a hidden folder. To access the folder, press Win + R, type "C:$WINDOWS.~BT" and click OK.
:: OneDrive sharing options - screenshot ::
https://imgur.com/a/vZyxpY9
(or)
If you don't want to troubleshoot this, you can do a Reset (with the "Keep My Files" option). Your apps and settings will be lost, though.
How to reset Windows 11 keeping files:
https://pureinfotech.com/reset-pc-keeping-personal-files-windows-11/
(Choose the Windows RE option).