If that doesn't work then a repair install using the latest ISO image file from Download Windows 11 (microsoft.com)
Download the ISO image and save it. Open File Explorer and locate the ISO image, mount it with either a right click > Mount or double click.
This will open a new drive letter in File Explorer. Double click setup.exe in the right hand pane and follow the instructions. You should have the option to keep all files, apps, programs and settings. This will reinstall windows.