Windows 10: What is CBS.log? How to read CBS.log file in Windows 10

Discus and support What is CBS.log? How to read CBS.log file in Windows 10 in Windows 10 News to solve the problem; You may stumble upon an error in Windows 10 when Windows Update or System File Checker fails Such errors are stored, inter alia, in the CBS.log file.... Discussion in 'Windows 10 News' started by WinClub, May 21, 2021.

  1. WinClub New Member

    What is CBS.log? How to read CBS.log file in Windows 10


    You may stumble upon an error in Windows 10 when Windows Update or System File Checker fails Such errors are stored, inter alia, in the CBS.log file. In this article, we are going to see what is CBS.log, its location, and how to view a CBS.log file in Windows 10.

    What is CBS.log


    What is CBS.log? How to read CBS.log file in Windows 10 CBS-file.jpg

    CBS or Component-Based Servicing is a file that has logs about the installed and uninstalled Windows Update component. So, information of your Windows Update is stored in these log files, even the System File Checker (SFC) writes to CBS.log.

    CBS.log file location


    CBS.log file will always be present on your Windows computer. If you are curious and want to check the file, launch File Explorer (Win + E), and navigate to the following location.

    What is CBS.log? How to read CBS.log file in Windows 10 CBS-log-File-Explorer.jpg

    C:\Windows\Logs\CBS

    There you will see a file name, CBS.log. This is the very file that contains the information about your Windows Update component.

    How to read CBS.log file


    What is CBS.log? How to read CBS.log file in Windows 10 SFClogs.jpg

    To read log files, you can just go to the following location and read the log file.

    C:\Windows\Logs\CBS

    However, if you just want to read the SFC file, it is not the best option.

    For that, launch Command Prompt as an administrator, type the following command and hit Enter.

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

    This will create a file, sfclogs.txt, on your desktop. Double-click on it to open the file with Notepad and read the file. You will see “SR” written in front of every transaction. This means all the programs shown here are of SFC.exe.

    Can I delete CBS.log file?


    CBS.log file is essential to your computer as every time you install a new Windows Update, it writes to the CBS.log file. However, if you think it is eating a huge chunk out of your Hard Drive, you can delete it as it won’t have an adverse effect on your computer.

    Before doing that, make sure to disable the Windows Update service from Services (that you can launch from the Start Menu).

    Now, you can delete the CBS.log file and you won’t receive any error message.

    Corrupt files logged in CBS.log


    Some Windows may see an error saying as following


    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.

    To fix this issue, you may need to Run DISM.

    Read Next: SFC not working, will not run or could not repair the corrupt file.

    What is CBS.log? How to read CBS.log file in Windows 10 CBS-log-File-Explorer.jpg
    This article What is CBS.log? How to read CBS.log file in Windows 10 first appeared on TheWindowsClub.com.

    read more...
     
    WinClub, May 21, 2021
    #1
  2. davidhk Win User

    Need help reading CBS log Entrys


    Here is another way to obtain your cbs log.......................

    Go to File Explorer > click This PC > click open C :drive > open Windows > open Logs > open CBS > cbs log should be at the top of the list. > open it and the log is in Notepad.
     
    davidhk, May 21, 2021
    #2
  3. phrab Win User
    Understanding the CBS log & repairing corrupt files

    I've been getting some event errors lately, in particular 2 errors.

    Date: 10/21/2019 8:54:17 AM
    Type: ErrorEvent: 1020Source: Microsoft-Windows-Perflib

    The required buffer size is greater than the buffer size passed to the Collect function of the "C:\Windows\System32\perfts.dll" Extensible Counter DLL for the "LSM" service. The given buffer size was 34008 and the required size was 45368.

    Date: 10/21/2019 2:07:45 PM
    Type: WarningEvent: 1008Source: Microsoft-Windows-Perflib

    The Open procedure for service ".NETFramework" in DLL "C:\WINDOWS\system32\mscoree.dll" failed with error code The system cannot find the file specified.. Performance data for this service will not be available.

    So I went to https://support.microsoft.com/en-us/...rrupted-system and ran

    sfc /scannow

    I got the message:
    Windows Resource Protection found corrupt files but was unable to fix some of them.For online repairs, details are included in the CBS log file located at windir\Logs\CBS\CBS.log.

    I tried to follow the rest of the steps listed on the support page, but got lost in the details.

    1. When I used an elevated Powershell & ran the suggested command, I got:

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

    out-file : Could not find a part of the path 'C:\%userprofile%\Desktop\sfcdetails.txt'.At line:1 char:1+ findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\s ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OpenError: What is CBS.log? How to read CBS.log file in Windows 10 :)) [Out-File], DirectoryNotFoundException + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.OutFileCommand

    2. I manually went to C:\Windows\Logs\CBS & opened CBS.log.There was so much detail that I couldn't follow what was corrupt. I've attached the log.

    I would appreciate anyone telling me what files are corrupt & how to replace them. Thank you in advance!
     
    phrab, May 21, 2021
    #3
  4. What is CBS.log? How to read CBS.log file in Windows 10

    C:\Windows\Logs\CBS Log\CBS folder is missing in W10

    If I take your path as-it-is you wrote with the last CBS not being a typo, the path is incorrect sir.

    The path is C:/Windows/logs and there should be a file named CBS.log there.

    Share that on onedrive and drop a link here.
     
    Sumit Dhiman2, May 21, 2021
    #4
Thema:

What is CBS.log? How to read CBS.log file in Windows 10

Loading...
  1. What is CBS.log? How to read CBS.log file in Windows 10 - Similar Threads - CBS log read

  2. help with cbs log

    in Windows 10 Software and Apps
    help with cbs log: hi, i recently encountered windows memory diagnostics error so decided to clean install windows again but ran into cbs error logs in sfc scannow.can anyone advise what issue and solution to the further problems....
  3. CBS LOG

    in Windows 10 Gaming
    CBS LOG: windows resource protection found corrupt files but was unable to fix some of them. how to fix this? https://answers.microsoft.com/en-us/windows/forum/all/cbs-log/f84b7065-caf7-4c54-93f4-9badf1ae5e62
  4. CBS LOG

    in Windows 10 Software and Apps
    CBS LOG: windows resource protection found corrupt files but was unable to fix some of them. how to fix this? https://answers.microsoft.com/en-us/windows/forum/all/cbs-log/f84b7065-caf7-4c54-93f4-9badf1ae5e62
  5. CBS log error

    in Windows 10 Gaming
    CBS log error: HiWhere do i find and how do i read itThank youTIMMY 2 TOES https://answers.microsoft.com/en-us/windows/forum/all/cbs-log-error/dbff8182-75b3-452a-814d-89de21bbcb05
  6. CBS Log question

    in Windows 10 Gaming
    CBS Log question: Hello, I have a question regarding some text in my recent CBS Log file.I have recently reset my computer due to corruption issues. After resetting the computer I ran the sfc /scannow command and it came up with, "Windows Resource Protection found corrupt files but was unable...
  7. CBS Log question

    in Windows 10 Software and Apps
    CBS Log question: Hello, I have a question regarding some text in my recent CBS Log file.I have recently reset my computer due to corruption issues. After resetting the computer I ran the sfc /scannow command and it came up with, "Windows Resource Protection found corrupt files but was unable...
  8. CBS/DISM log

    in Windows 10 Ask Insider
    CBS/DISM log: Hi, Having stopcode errors for Memory management. Event viewer talks about harddisk0 but I am unable to get further than that as my SFC scan refuses to fix, and my chkdsk fixes issues but new ones pop up. Both DISM log and CBS log are saved to my desktop, I have no way of...
  9. CBS log file translation

    in Windows 10 Performance & Maintenance
    CBS log file translation: I am having issues with some log files that was created after i performed a sfc /scannow. It gave me an error stating that I had some corrupted files. I then performed Deployment Imaging Service Management scan (DISM /online /cleanup-image /RestoreHealth) which ran 100%...
  10. Errors is CBS logs

    in Windows 10 Performance & Maintenance
    Errors is CBS logs: Have eventually got 10 activated and it is a bit buggy freezing on certain pages and I ran the sfc and got back there are some errors - see pic - and I am wondering just what these errors are and what to do about them. Any advice please. Edit I went looking for them but...