Need help reading CBS log Entrys


  1. Posts : 101
    Windows 10
       #1

    Need help reading CBS log Entrys


    After installing Win 10, I decided to run sfc /scannow, funny thing is why do you end up with the message about it finding corrupt files after installing a fresh copy of Win 10? Anyway, I started to look at the CBS file that was created and found the following entries:

    Failed to internally open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]2016-04-15 12:43:21, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]
    2016-04-15 12:43:21, Info CBS Session: 30512949_3960126543 initialized by client WindowsUpdateAgent, external staging directory: (null)
    2016-04-15 12:43:21, Info CBS Failed to internally open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
    2016-04-15 12:43:21, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]

    I have no clue what this means, all I know is there is an invalid package somewhere and what package it is, no clue. This is posted a couple of times in the CBS file.

    Secondly. Is there a way to find the corrupt entry(s), other than the one I inserted here because this is rather obvious, in the log file without having to spend a day going through this thing and going boinkers reading it?.

    Any help would be greatly appreciated.
      My Computer


  2. Posts : 16,325
    W10Prox64
       #2

    Hi.
    There's a tutorial on running the System File checker here:
    SFC Command - Run in Windows 10 - Windows 10 Forums

    Once it's been run at least 3 times, with reboots in-between, there's a command you can run to put a text file on your desktop with the important stuff.

    Code:
    findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"
    Edit: Please also advise the version of W10 you're running. Type winver in the search box.
    Last edited by simrick; 16 Apr 2016 at 09:54. Reason: added winver
      My Computer


  3. Posts : 101
    Windows 10
    Thread Starter
       #3

    I've been seeing the fact that you have to run the sfc at least three times with a reboot each time, this I didn't know. I'll try it and see what happens. The syntax you posted is a great idea, however what goes into "[SR]". I don't use the command prompt that much.
      My Computer


  4. Posts : 5,452
    windows 10 Pro ver 21H2 build 19044.1348
       #4

    xpac5896 said:
    I've been seeing the fact that you have to run the sfc at least three times with a reboot each time, this I didn't know. I'll try it and see what happens. The syntax you posted is a great idea, however what goes into "[SR]". I don't use the command prompt that much.
    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.
      My Computer


  5. Posts : 101
    Windows 10
    Thread Starter
       #5

    That one I already know. I've been trying to figure out how to find the problem areas without having to go through the log line per line, the file is very large even though it's mainly text. The one problem I posted is rather easily found as it is much shorter in length than the rest of the other entries in the log.
    I've looked through the file, though not all of it, and am wondering how the error is worded. If I knew that then finding the problems would be much simpler. If you take the first message I posted:

    Failed to internally open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
    2016-04-15 12:36:59, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]
    2016-04-15 12:36:59, Info CBS Session: 30512949_138310421 initialized by client WindowsUpdateAgent, external staging directory: (null)
    2016-04-15 12:36:59, Info CBS Failed to internally open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
    2016-04-15 12:36:59, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]

    It failed to open a package, what package that is, have no clue. My limited understanding is that there is a STORE in Windows that houses the files. If there is a problem with a particular file, Windows goes to that store and uses the file to fix or replace the file that is bad. I'm guessing that is the use of the sfc /scannow command so that it can find the bad files and repair or replace them. this is my best guess as how this works. I know there is another command, which I can't remember that can be used in conjunction with sfc /scannow that can fix the STORE if there should be corrupt files in it. The funny thing is, how do you get corrupt files when you do a clean install? The only answer I can come up with is that they were corrupt in the first place.
      My Computer


  6. Posts : 4,142
    Windows 3.1 to Windows 11
       #6

    or use the
    SFC SCANNOW and DISM RESTOREHEALTH - Repair Corrupt Files
    link in my sig below
    Then select option 7 from Image-Health
      My Computer


  7. Posts : 101
    Windows 10
    Thread Starter
       #7

    Thanx for that. This will help tremendously.
      My Computer


  8. Posts : 2
    windows/10
       #8

    I have similar issue, did find a package - but unable to install


    xpac5896 said:
    Thanx for that. This will help tremendously.
    Situation exactly the same, running sfc after running DSIM and then using this command:
    findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"
    gave me several entries naming Power Shell as the culprit.
    Microsoft Downloads only have packages that I was able to find for Win 7 and Win 8.1, which would not install on Win/10. Can't even fake it out because the install does not allow emulation of an earlier release. Here's download:
    Microsoft PowerShell
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:29.
Find Us




Windows 10 Forums