Repair missing or corrupted system files Using the System File Checker tool
System File Checker is a Windows utility that allows users to search for corruptions in Windows system files and restore corrupted files. This article describes how to run the System File Checker tool (SFC.exe) to scan your system files and repair missing or damaged system files. If a Windows Resource Protection (WRP) file is missing or damaged, Windows may not behave as expected. For example, some Windows functions may not work or Windows may crash.
Run the System File Checker tool (SFC.exe)
To do this, follow these steps;
📌Open an elevated command prompt and Run as administrator
📌At the command prompt, type the following command, and then press ENTER:
sfc / scannow
📌The sfc / scannow command scans all protected system files and replaces corrupted files with a cached copy that is in a compressed folder at% WinDir% System32 dllcache.
The% WinDir% placeholder represents the Windows operating system folder. For example, C: Windows.
note Do not close this command prompt window until the check is 100% complete. The results of the analysis will be displayed once this process is complete.
Once the process is complete, you may receive one of the following messages:
✔️Windows Resource Protection found no violation of integrity.
This means that you have no missing or damaged system files.
✔️Windows Resource Protection was unable to perform the requested operation.
To resolve this issue, scan the system file checker in safe mode and make sure that PendingDeletes and PendingRenames folders exist under% WinDir% WinSxS Temp.
✔️Windows Resource Protection found corrupted files and repaired them successfully. The details are included in CBS.Log% WinDir% Logs CBS CBS.log.
✔Windows Resource Protection found corrupted files but could not resolve some of them. The details are included in CBS.Log% WinDir% Logs CBS CBS.log.