How to find repaired files by reading CBS.LOG

I ran sfc /scannow

Get the message

Windows Resource Protection found corrupt files and successfully repaired them. For online repairs, details are included in the CBS log file located at windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline repairs, details are included in the log file provided by the /OFFLOGFILE flag.

Looking at the log file generated I couldn't really see anything that jumped out at me as a corrupt file. But then again...the file is quit large 15,425 KB.

What keyword exist that I can search on to find what files were corrupt?

1 Answer

Microsoft has published instructions for this:

Open a elevated command prompt and run this command:

findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"

That creates the sfcdetails.txt on the desktop with the informationen.

If the information is no longer available in the current CBS log file, you must adapt the command to the previous log file that is in the specified folder.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like