If you are having issues with Windows files, sometimes you need to repair windows files & sometimes you may need to perform a fresh install of windows.
The Instructions are worded for Windows 10 but also apply for Windows 11
Try to repair Windows
Reset Windows SFC DISM by following the steps explained here:
If you are still having issues it may be necessary to take your windows installation back to defaults
Follow the following steps to return your windows installation to factory defaults