


In the command, replace C:\PATH\TO\FILE with the actual path to the file that you are trying to fix. Type the following command to take ownership of the corrupted files and press Enter: takeown /f C:\PATH\TO\FILE.To repair damaged system files on Windows 10 manually, use these steps: If you do not know the location of the damaged file, you may need to perform an online search with the information in the SFC log file. You may be able to get good working files to replace your installation from another computer running the exact edition and version of Windows 10.

While in the file, you can use the find option (Ctrl + F) in the text editor and look for the term: "Cannot repair member file" to identify the corrupted files that need replacing. Double-click the sfclogs.txt file to open it with the default text editor app.Īfter you complete the steps, the log file will reveal all the scanned system files and information for files that could not be repaired.Under the "Devices and drives" section, open the Local Disk (the "C" drive).Type the following command and press Enter: findstr /c:"" %windir%\Logs\CBS\CBS.log > C:\sfclogs.txt".Search for Command Prompt, right-click the top result, and select the Run as administrator option.To view the details stored in the CBS.Log file from an SFC scan, use these steps: If you find problems running the tool, use this guide to use the Deployment Image Servicing and Management (DISM) tool to repair the local Windows 10 image files to allow SFC to complete successfully. When the tool detects an issue, it is recommended to run the command around three times to ensure that all the problems have been corrected properly. Once you complete the steps, the SFC command-line tool will scan, detect, and fix Windows 10 system file problems. Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log – this indicates you may need to repair the corrupted files manually. Windows Resource Protection found corrupt files but was unable to fix some of them.Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log – this indicates that the tool detected problems and was able to fix them. Windows Resource Protection found corrupt files and successfully repaired them.

