Windows 8 and 8.1 Forums


Corrupt files found but not fixed in SFC /Scannow

  1. #51


    Posts : 3
    Windows 8.0


    I guess I’m dusting off an old topic here. If there’s a more current posting on this topic, please redirect me. I have a few questions, and a suggestion.


    1. This thread started out dealing with corrupt files found by SFC/SCANNOW. I read this thread fairly thoroughly, but never found any advice for looking at the CBS.log file to determine which files were corrupt. I saw this topic discussed in a thread on the Windows7 forum (How do you fix corrupted files found by SFC /SCANNOW? - Windows 7 Help Forums), with a user named “Tom982” supposedly having some mythical powers to decode the lousy output from SFC and identify corrupted files. That thread went nowhere, and never gave any suggestions about how to ID which files were corrupted.


    Maybe it’s not necessary to actually ID these files, since the current thread suggests a brute-force fix with CHKDSK and DISM (in that order). Still, I’m left curious: is there information somewhere about decoding the cryptic CBS.log files and identifying which files SFC found to be “corrupt and not repairable” (or however they put it)?


    1. The issues with gathering log data from CHKDSK seem overly complicated (I’m not crazy about Event Viewer!) Being an old DOS guy, I decided to try “CHKDSK [switches]>check.txt”. I haven’t been able to test this extensively (because most actions in CHKDSK take so long), but quick testing shows that it works. Can anybody confirm/deny this?



    1. The usage of DISM seems deceptively simple:
      1. Is there ever a need to tell it where to find your “good” image? I’m guessing that it looks for a “RESTORE” partition on your hard disk – is that right?
      2. There was some discussion in this thread about specifying /offbootdir and /offwindir for SFC. I figured a similar thing might exist for DISM in some situations
      3. Accordingly, if/when I update to 8.1 (I’m still at 8.0, as provided by the manufacturer, HP), would I not have to point DISM to a different image somewhere? Do I have to worry about creating that image when I upgrade to 8.1 (and then to Windows 10…) <eyeroll>



    1. As noted in this thread, running CHKDSK can take a LOOOOOOOONNNNG time. There are some interesting switches to be found if you type “chkdsk/?” in a Command prompt. Following up on that a bit, I found this great tutorial on YouTube: https://www.youtube.com/watch?v=TbAfn4heGhE . The author discusses using the /scan and /spotfix switches to speed up the process enormously! I would also suggest throwing in the /perf switch in the right place in the command line; this will give the CHKDSK process top priority access to system resources. It will slow down everything else; but most people are not going to try to do any work on their PC while CHKDSK is running, anyway!


    Cheers,
    gb

      My System SpecsSystem Spec

  2. #52


    Harrisonburg, Va.
    Posts : 10,488
    Windows 8.1.1 Pro with Media Center


    Run---

    Dism /Online /Cleanup-Image /RestoreHealth

    then sfc.
      My System SpecsSystem Spec

  3. #53


    Posts : 3
    Windows 8.0


    Results of my testing:
    (1) Run CHKDSK /scan /perf. I would suggest doing this before DISM, because if DISM is trying to work on a disk with bad sectors, it might not be very successful. With these switches, CHKDSK runs very quickly; it checked my 1TB HD in less than five minutes. It found no problems on my disk.

    (2) Run DISM, as suggested.

    (3) Run SFC/SCANNOW again. This time, it executed perfectly, finding no corrupted files.

    I'm still interested in more detailed answers to my questions...
      My System SpecsSystem Spec

  4. #54


    Posts : 25
    Windows 8.1

    scannow, Dism failures


    My browser has been lagging/g much the last two days. I hadn't received anything from Avira so I ran sfc /scannow. I am using Norton now (free trial with safe search installed in my Chrome browser. I haven't had a notification from Norton yet.

    Now, file explorer freezes for 5 seconds whenever I select a folder.

    I have Win 8.1

    I have attached screenshots of the cmd prompt windows and the CBS log file.

    Most recently, I did a start of trusted installer before scannow but still failure.

    One screenshot has the error codes. I wasn't able to upload the entire CBS log, I pasted some of it here:

    2017-06-24 10:36:42, Info CBS Loaded Servicing Stack v6.3.9600.18384 with Core: C:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.3.9600.18384_none_fa1d93c39b41b41a\cbscore.dll
    2017-06-24 10:36:42, Info CSI 00000001@2017/6/24:15:36:42.799 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7ffc782e7fa9 @0x7ffc794f4924 @0x7ffc794f415b @0x7ff63d85d69a @0x7ff63d85df4f @0x7ffc8ba020f3)
    2017-06-24 10:36:42, Info CBS SQM: Initializing online with Windows opt-in: False
    2017-06-24 10:36:42, Info CBS SQM: Cleaning up report files older than 10 days.
    2017-06-24 10:36:42, Info CBS SQM: Requesting upload of all unsent reports.
    2017-06-24 10:36:42, Info CBS SQM: Failed to start upload with file pattern: C:\WINDOWS\servicing\sqm\*_std.sqm, flags: 0x2 [HRESULT = 0x80004005 - E_FAIL]
    2017-06-24 10:36:42, Info CBS SQM: Failed to start standard sample upload. [HRESULT = 0x80004005 - E_FAIL]
    2017-06-24 10:36:42, Info CBS SQM: Queued 0 file(s) for upload with pattern: C:\WINDOWS\servicing\sqm\*_all.sqm, flags: 0x6
    2017-06-24 10:36:42, Info CBS SQM: Warning: Failed to upload all unsent reports. [HRESULT = 0x80004005 - E_FAIL]
    2017-06-24 10:36:42, Info CBS NonStart: Set pending store consistency check.
    2017-06-24 10:36:42, Info CBS Session: 30600447_2920482624 initialized by client WindowsUpdateAgent.
    2017-06-24 10:36:45, Info CBS Session: 30600447_2945013919 initialized by client WindowsUpdateAgent.
    2017-06-24 10:36:46, Info CBS Session: 30600447_2956732689 initialized by client WindowsUpdateAgent.
    2017-06-24 10:36:46, Info CBS Failed to internally open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
    2017-06-24 10:36:46, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]
    2017-06-24 10:36:46, Info CBS Session: 30600447_2956888945 initialized by client WindowsUpdateAgent.
    2017-06-24 10:36:46, Info CBS Failed to internally open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
    2017-06-24 10:36:46, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]
    2017-06-24 10:36:46, Info CBS Session: 30600447_2956888946 initialized by client WindowsUpdateAgent.
    2017-06-24 10:36:46, Info CBS Failed to internally open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
    2017-06-24 10:36:46, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]
    2017-06-24 10:36:46, Info CBS Session: 30600447_2956888947 initialized by client WindowsUpdateAgent.
    2017-06-24 10:36:46, Info CBS Session: 30600447_2957911167 initialized by client WindowsUpdateAgent.
    2017-06-24 10:36:46, Info CBS Failed to internally open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
    2017-06-24 10:36:46, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]
    2017-06-24 10:36:46, Info CBS Session: 30600447_2958067424 initialized by client WindowsUpdateAgent.
    2017-06-24 10:36:46, Info CBS Failed to internally open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
    2017-06-24 10:36:46, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]Most of the log file had entries that included "Read out cached applicability from TiLight for package:" and slao had "ApplicableState: 0, CurrentState:0"

    I have researched a little but don't have time to fully check the logs myself

    Thank you.
    Attached Thumbnails Attached Thumbnails dism failed 1.png   Dism failed.png   dism.png   run if scnnow couldn't fix files.png  
      My System SpecsSystem Spec

Page 6 of 6 FirstFirst ... 456
Corrupt files found but not fixed in SFC /Scannow
Related Threads
Solved sfc /scannow can't fix corrupt files. in Performance & Maintenance
Hello! After running the sfc /scannow at command prompt, as administrator, here's what it says: Im at windows 8.1. CBS.log AND sfcdetails are attached to this post.
Corrupt files not fixed by SFC in General Support
My desktop (Dell Optiplex 755, W8.1 Pro 32-bit, 4GB RAM, Intel Core 2 Duo CPU E6550 2.33GHz) has been playing up over the weekend. 1) Have run restore point 30 June. 2) Sometines beeping (seems like 3-2-3) & not starting. Have removed the 3 RAM sticks, & replaced one at a time. All allowed...
Scannow reported Windows Resource Protection found found corrupt files unable to fix some of them' OS= Windows 8.1 Update 1 x64bit. I have the CBS.log and dism.log When I ran the DISM.exe command to RestoreHealth it reported an error that it could not download source files. sfcdetails: ...
Microsoft Windows (c) 2012 Microsoft Corporation. All rights reserved. C:\Windows\system32>sfc/scannow Beginning system scan. This process will take some time. Beginning verification phase of system scan.
Solved massive number of corrupt files - scannow in Performance & Maintenance
My sons computer just built 2 months ago. Runs fine for him except a problem with printing...spooler service stops every time just a few seconds after starting it again. Was trying some solutions from this forum and got to step run sfc/scannow. UGLY...seems like thousands of corrupt files that...
Sfc /scannow found corrupt files but was unable to fix some. The log does not say whats wrong just stops. Not really sure where to go from here. Help please.
Help : sfc found corrupt files in System Security
Hello, I have Dell xps 8500 and had some problems with the metro due to a virus. I have ran sfc and the result showed that I have corrupted files in my system and it's unable to to fix them. This is the log file : 2012-12-20 18:16:50, Info CBS TI: --- Initializing...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook