Hello,
Have you attempted to update your system to the latest version? you can find the update list here:
https://support.microsoft.com/en-us/topic/windows-server-2022-update-history-e1caa597-00c5-4ab9-9f3e-8212fe80b2ee
And you can download update here:
https://catalog.update.microsoft.com/Home.aspx
These commnad will recover your file from the latest image, if the issue happens when you just upgrade your pc, this command won't help:
sfc /scannow
DISM /Online /Cleanup-image /RestoreHealth
If the Answer is helpful, please click "Accept Answer" and upvote it.