On Windows 10, you can use the DISM command tool to repair the local image, which you can use with the System File Checker ...
Learn how to use DISM and SFC commands offline to repair Windows 11 and fix common issues, even without an internet connection.
If you've installed the big Windows 11 update that Microsoft pushed out in August (which also includes the new Black Screen of Death), you'll notice a brand new entry in Settings: Quick Machine ...