SFC ( System File Checker)
One way to ensure you Windows files are not missing or corrupted is using a Microsoft tool called SFC ( System File Checker).
Simply open Command Prompt (run as administrator) then type the following command:
sfc /scannow
DISM (Deployment Image Servicing and Management)
DISM (Deployment Image Servicing and Management) is used for creating Windows images for deployment. Next you can use DISM to essentially check and repair Windows using Windows Update. It can also fix update failures. Simply run the this command next:
dism /online /cleanup-image /restorehealth
Links & References
- Use the System File Checker tool to repair missing or corrupted system files
https://support.microsoft.com/en-us/topic/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system-files-79aa86cb-ca52-166a-92a3-966e85d4094e - DISM Overview | Microsoft Docs
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/what-is-dism?view=windows-11 - Fix Windows Update errors via DISM or System Update Readiness tool – Windows Server | Microsoft Docs
https://docs.microsoft.com/en-us/troubleshoot/windows-server/deployment/fix-windows-update-errors - DISM.exe /Online /Cleanup-Image /Restorehealth Explained
https://www.itechguides.com/dism-exe-online-cleanup-image-restorehealth-what-it-is-and-how-to-use/