Windows 10: Need help reading CBS log Entrys

  1.    16 Apr 2016 #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 ComputerSystem Spec

  2.    16 Apr 2016 #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 ComputerSystem Spec

  3.    17 Apr 2016 #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 ComputerSystem Spec

  4. davidhk's Avatar
    Posts : 5,227
    windows 10 Home threshold2
       17 Apr 2016 #4

    xpac5896 said: View Post
    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 ComputerSystem Spec

  5.    17 Apr 2016 #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 ComputerSystem Spec

  6.    17 Apr 2016 #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 ComputerSystem Spec

  7.    17 Apr 2016 #7

    Thanx for that. This will help tremendously.
      My ComputerSystem Spec

  8.    23 Oct 2016 #8

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


    xpac5896 said: View Post
    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 ComputerSystem Spec


 

Related Threads
CD/DVD Drive not reading discs in Drivers and Hardware
Hello! Since upgrading to Windows 10 my PC has been unable to read any CD/DVD disc I put in. I hear it spinning so I doubt there's any problem with the CD/DVD Drive itself. 35925 I was thinking it could be a driver issue, but there...
Fun Geek Reading in Chillout Room
I was just browsing through MSDN, after looking at something I was linked to, and I found MSDN magazine(I have never heard of it or knew it existed), and found a Blog/article Don't Get Me Started from David Platt. He writes witty, but with a point....
copying reading list to another pc in Browsers and Email
Anyone know how to copy a Edge reading list from one pc to another? I know I could use One note, copy paste the page address, or use a similar program, however is there a more efficient way something like google saving passwords. Cheers Raz
Solved Win 10, not reading DVD in Installation and Upgrade
My DVD driver is not reading that a DVD is present. Windows Media Player says the drive is empty when it has a DVD inside. I have uninstalled and reinstalled the driver (E) but nothing has changed. I'd like to watch movies again. Any...
Read more: A closer look at Spartans new reading mode and reading list
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 20:16.
Find Us