Using CheckSUR to repair Windows file corruption

Microsoft has developed a System Update Readiness tool which can identify and repair Windows system file corruption that could prevent other updates from being installed. The tool is available for all editions of Windows since Vista/Server 2008 and is published under KB947821. The utility installs as a MSU package on older platforms, and is baked in for Windows 8 and Server 2012 with the DISM utility. This utility is often referred to as CheckSUR – short for Check System Update Readiness.

Once installed, a log is generated under %windir%\Logs\CBS\CheckSUR.log. If CheckSUR is able to automatically repair files, it will do so and report this in the log file. For any corruption which cannot be automatically repaired, we can still use this utility to manually fix these items. You will find the KB article number of files that cannot be repaired in the CheckSUR log file:

=================================
Checking System Update Readiness.
Binary Version 6.1.7601.21645
Package Version 15.0
2012-07-06 13:57

Checking Windows Servicing Packages

Checking Package Manifests and Catalogs
(f)    CBS MUM Corrupt    0x00000000    servicing\Packages\Package_2_for_KB2685939~31bf3856ad364e35~amd64~~6.1.1.2.mum        Expected file name Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.1.7600.16385.mum does not match the actual file name

Checking Package Watchlist
Checking Component Watchlist
Checking Packages
Checking Component Store

Summary:
Seconds executed: 109
Found 1 errors
CBS MUM Corrupt Total count: 1

Unavailable repair files:    servicing\packages\Package_2_for_KB2685939~31bf3856ad364e35~amd64~~6.1.1.2.mum   servicing\packages\Package_2_for_KB2685939~31bf3856ad364e35~amd64~~6.1.1.2.cat

From this log, we can see the corrupt files are part of KB2685939. To repair, you can follow these instructions.

1. Download the appropriate update package for KB2685939 for the target system from the Microsoft Download Center.

2. Expand the package using the expand command (this assumes the package was downloaded to C:\temp and that we’re expanding to C:\temp\KB2685939):

expand C:\temp\Windows6.1-KB2685939-x64.msu /f:* C:\temp\KB2685939

3. Expand the cab files to the same directory:

expand C:\temp\Windows6.1-KB2685939-x64.cab /f:* C:\temp\KB2685939

4. Copy the expanded *.mum and *.cat files to %windir%\Temp\CheckSUR\servicing\packages:

copy C:\temp\KB2685939\*.mum %windir%\Temp\CheckSUR\servicing\packages\
copy C:\temp\KB2685939\*.cat %windir%\Temp\CheckSUR\servicing\packages\

5. Re-run the System Update Readiness tool which will use the files in the %windir%\Temp\CheckSUR\servicing\packages folder to repair the corrupt or missing files.

5 thoughts on “Using CheckSUR to repair Windows file corruption

  1. What to do if the corrupt files do not mention an KB code?
    I found 4 corrupted .mum files in my system, who can I replace these?

    Thanks for any feedback

    Found 5 errors
    CSI Unable to Query Store Version Total count: 1
    CBS MUM Corrupt Total count: 4

    Unavailable repair files:
    servicing\packages\Microsoft-Windows-IE-Hyphenation-Parent-Package-Dutch~31bf3856ad364e35~~~10.2.9200.16437.mum
    servicing\packages\Microsoft-Windows-IE-Hyphenation-Parent-Package-English~31bf3856ad364e35~~~10.2.9200.16437.mum
    servicing\packages\Microsoft-Windows-IE-Spelling-Parent-Package-Dutch~31bf3856ad364e35~~~10.2.9200.16437.mum
    servicing\packages\Microsoft-Windows-IE-Spelling-Parent-Package-English~31bf3856ad364e35~~~10.2.9200.16437.mum
    servicing\packages\Microsoft-Windows-IE-Hyphenation-Parent-Package-Dutch~31bf3856ad364e35~~~10.2.9200.16437.cat
    servicing\packages\Microsoft-Windows-IE-Hyphenation-Parent-Package-English~31bf3856ad364e35~~~10.2.9200.16437.cat
    servicing\packages\Microsoft-Windows-IE-Spelling-Parent-Package-Dutch~31bf3856ad364e35~~~10.2.9200.16437.cat
    servicing\packages\Microsoft-Windows-IE-Spelling-Parent-Package-English~31bf3856ad364e35~~~10.2.9200.16437.cat

  2. Pingback: Notes of SFC and Windows Servicing (Component Based Servicing) « rakhesh.com

  3. I am trying to upgrade to windows 10, and I’m getting the message:

    SFCFix version 3.0.2.1 by niemiro.
    Start time: 2020-04-09 15:46:09.155
    Microsoft Windows 7 Service Pack 1 – amd64
    Not using a script file.

    AutoAnalysis::
    SUMMARY: Some corruptions could not be fixed automatically. Seek advice from helper or sysnative.com.
    CBS & SFC total detected corruption count: 0
    CBS & SFC total unimportant corruption count: 0
    CBS & SFC total fixed corruption count: 0
    SURT total detected corruption count: 28
    SURT total unimportant corruption count: 0
    SURT total fixed corruption count: 0
    AutoAnalysis:: directive completed successfully.

    Successfully processed all directives.
    SFCFix version 3.0.2.1 by niemiro has completed.
    Currently storing 0 datablocks.
    Finish time: 2020-04-09 15:48:45.527
    ———————-EOF———————–

    the checkSUR.log shows

    =================================
    Checking System Update Readiness.
    Binary Version 6.1.7601.22471
    Package Version 26.0
    2020-04-09 15:56

    Checking Windows Servicing Packages

    Checking Package Manifests and Catalogs
    (f) CBS MUM Corrupt 0x80070026 servicing\Packages\Package_for_KB3140245~31bf3856ad364e35~amd64~~6.1.1.0.mum Line 1: X

    Checking Package Watchlist

    Checking Component Watchlist

    Checking Packages

    Checking Component Store
    (f) CSI Manifest Missing 0x00000002 amd64_6f902e1f26c1d885023f2728be29b310_31bf3856ad364e35_6.1.7601.23375_none_4011a397f4e0c754.manifest amd64_6f902e1f26c1d885023f2728be29b310_31bf3856ad364e35_6.1.7601.23375_none_4011a397f4e0c754
    (f) CSI Payload File Missing 0x00000000 desktop.ini amd64_microsoft-windows-ehome-samplemedia_31bf3856ad364e35_6.1.7600.16385_none_b6b9b223710b3802
    (f) CSI Payload File Missing 0x00000000 win7_scenic-demoshort_raw.wtv amd64_microsoft-windows-ehome-samplemedia_31bf3856ad364e35_6.1.7600.16385_none_b6b9b223710b3802
    (f) CSI Payload File Missing 0x00000000 Koala.jpg amd64_microsoft-windows-photosamples_31bf3856ad364e35_6.1.7600.16385_none_f36e0e659b8042be
    (f) CSI Payload File Missing 0x00000000 Jellyfish.jpg amd64_microsoft-windows-photosamples_31bf3856ad364e35_6.1.7600.16385_none_f36e0e659b8042be
    (f) CSI Payload File Missing 0x00000000 SampleRes.dll amd64_microsoft-windows-photosamples_31bf3856ad364e35_6.1.7600.16385_none_f36e0e659b8042be
    (f) CSI Payload File Missing 0x00000000 desktop.ini amd64_microsoft-windows-photosamples_31bf3856ad364e35_6.1.7600.16385_none_f36e0e659b8042be
    (f) CSI Payload File Missing 0x00000000 Desert.jpg amd64_microsoft-windows-photosamples_31bf3856ad364e35_6.1.7600.16385_none_f36e0e659b8042be
    (f) CSI Payload File Missing 0x00000000 Lighthouse.jpg amd64_microsoft-windows-photosamples_31bf3856ad364e35_6.1.7600.16385_none_f36e0e659b8042be
    (f) CSI Payload File Missing 0x00000000 Tulips.jpg amd64_microsoft-windows-photosamples_31bf3856ad364e35_6.1.7600.16385_none_f36e0e659b8042be
    (f) CSI Payload File Missing 0x00000000 Chrysanthemum.jpg amd64_microsoft-windows-photosamples_31bf3856ad364e35_6.1.7600.16385_none_f36e0e659b8042be
    (f) CSI Payload File Missing 0x00000000 Hydrangeas.jpg amd64_microsoft-windows-photosamples_31bf3856ad364e35_6.1.7600.16385_none_f36e0e659b8042be
    (f) CSI Payload File Missing 0x00000000 Penguins.jpg amd64_microsoft-windows-photosamples_31bf3856ad364e35_6.1.7600.16385_none_f36e0e659b8042be
    (f) CSI Payload File Missing 0x00000000 Clip_1080_5sec_VC1_15mbps.wmv amd64_microsoft-windows-winsatmediasamples_31bf3856ad364e35_6.1.7600.16385_none_0b34d0642122c1c4
    (f) CSI Payload File Missing 0x00000000 Clip_480_5sec_6mbps_h264.mp4 amd64_microsoft-windows-winsatmediasamples_31bf3856ad364e35_6.1.7600.16385_none_0b34d0642122c1c4
    (f) CSI Payload File Missing 0x00000000 winsat.wmv amd64_microsoft-windows-winsatmediasamples_31bf3856ad364e35_6.1.7600.16385_none_0b34d0642122c1c4
    (f) CSI Payload File Missing 0x00000000 Clip_1080_5sec_MPEG2_HD_15mbps.mpg amd64_microsoft-windows-winsatmediasamples_31bf3856ad364e35_6.1.7600.16385_none_0b34d0642122c1c4
    (f) CSI Payload File Missing 0x00000000 Clip_1080_5sec_10mbps_h264.mp4 amd64_microsoft-windows-winsatmediasamples_31bf3856ad364e35_6.1.7600.16385_none_0b34d0642122c1c4
    (f) CSI Payload File Missing 0x00000000 winsatencode.wmv amd64_microsoft-windows-winsatmediasamples_31bf3856ad364e35_6.1.7600.16385_none_0b34d0642122c1c4
    (f) CSI Payload File Missing 0x00000000 Clip_480i_5sec_6mbps_new.mpg amd64_microsoft-windows-winsatmediasamples_31bf3856ad364e35_6.1.7600.16385_none_0b34d0642122c1c4
    (f) CSI Payload File Missing 0x00000000 Clip_480p_5sec_6mbps_new.mpg amd64_microsoft-windows-winsatmediasamples_31bf3856ad364e35_6.1.7600.16385_none_0b34d0642122c1c4
    (f) CSI Payload File Missing 0x00000000 desktop.ini amd64_microsoft-windows-videosamples_31bf3856ad364e35_6.1.7600.16385_none_51a21f033003affd
    (f) CSI Payload File Missing 0x00000000 Wildlife.wmv amd64_microsoft-windows-videosamples_31bf3856ad364e35_6.1.7600.16385_none_51a21f033003affd
    (f) CSI Payload File Missing 0x00000000 Kalimba.mp3 amd64_microsoft-windows-musicsamples_31bf3856ad364e35_6.1.7600.16385_none_06495209cbd8e93b
    (f) CSI Payload File Missing 0x00000000 desktop.ini amd64_microsoft-windows-musicsamples_31bf3856ad364e35_6.1.7600.16385_none_06495209cbd8e93b
    (f) CSI Payload File Missing 0x00000000 Maid with the Flaxen Hair.mp3 amd64_microsoft-windows-musicsamples_31bf3856ad364e35_6.1.7600.16385_none_06495209cbd8e93b
    (f) CSI Payload File Missing 0x00000000 Sleep Away.mp3 amd64_microsoft-windows-musicsamples_31bf3856ad364e35_6.1.7600.16385_none_06495209cbd8e93b

    Summary:
    Seconds executed: 1060
    Found 28 errors
    CSI Manifest Missing Total count: 1
    CSI Payload File Missing Total count: 26
    CBS MUM Corrupt Total count: 1

    Unavailable repair files:
    winsxs\manifests\amd64_6f902e1f26c1d885023f2728be29b310_31bf3856ad364e35_6.1.7601.23375_none_4011a397f4e0c754.manifest
    servicing\packages\Package_for_KB3140245~31bf3856ad364e35~amd64~~6.1.1.0.mum
    servicing\packages\Package_for_KB3140245~31bf3856ad364e35~amd64~~6.1.1.0.cat

    How can I restore the payload file? I reinstalled KB314025, it is “installed”, although I can’t find it.

    Can I uninstall it?

    thanks!

    how can I

Leave a Reply

Your email address will not be published. Required fields are marked *