SFC /Scannow finds corruption but cannot repair it

John Lenz 1,736 Reputation points
2022-10-04T20:36:29.397+00:00

Hyper_V server2012R2 std
WSUS role

I run SFC /Scannow and get the following:

247528-sfc-run-error.jpg

I just applied latest servicing stack update to this server. Attached is the CBS log. What is wrong and how do I fix it?

247581-cbs.log

I tyried SFC /Scannow on another Hyper-V server and it completed.

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. TekkieBoy 591 Reputation points Volunteer Moderator
    2022-10-05T05:31:20.66+00:00

    Hello,

    If you want, you can use my Fix:

    Download SFCFix.exe from there:

    https://www.sysnative.com/niemiro/apps/SFCFix.exe

    and save this to your Desktop.

    Download the file SFCFix.zip and save this to your Desktop too:

    https://workupload.com/file/ydQunZ27mTT

    Drag the file SFCFix.zip onto the file SFCFix.exe and release it.

    Example Gif: https://imgur.com/5usZLPK

    Answer this question with n for no:

    https://i.imgur.com/AknfQ7X.png

    SFCFix will now process the script.

    Upon completion, a file should be created on your Desktop: SFCFix.txt.

    Share the SFCFix.txt file.

    Greetings


2 additional answers

Sort by: Most helpful
  1. Docs 16,226 Reputation points
    2022-10-04T21:49:31.997+00:00

    Please run administrative command prompt:

    dism /online /cleanup-image /restorehealth
    sfc /scannow

    C:\Program Files\Update Services\WebServices\ClientWebService"[l:20{10}]"Web.config"; source file in store is also corrupted

    .
    .
    .
    .
    .

    Please remember to vote and to mark the replies as answers if they help.

    On the bottom of each post there is:

    Propose as answer = answered the question

    On the left side of each post there is /\ with a number: click = a helpful post
    .
    .
    .
    .
    .


  2. Docs 16,226 Reputation points
    2022-10-05T04:15:10.94+00:00

    One option that may fix the corruption is an in place upgrade repair.

    https://learn.microsoft.com/en-us/windows-server/get-started/perform-in-place-upgrade
    https://learn.microsoft.com/en-us/windows-server/get-started/install-upgrade-migrate
    https://learn.microsoft.com/en-us/troubleshoot/windows-server/deployment/repair-or-in-place-upgrade

    https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2
    https://www.windowsservercatalog.com/

    https://www.tenforums.com/tutorials/16397-repair-install-windows-10-place-upgrade.html
    https://www.elevenforum.com/t/repair-install-windows-11-with-an-in-place-upgrade.418/

    @Anonymous often prefers other methods than an in place upgrade and may be available for comments.
    ""Better to stand up a new one, patch fully and migrate roles or applications over.""

    Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x800f0906)
    Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x800f081f)

    .
    .
    .
    .
    .

    Please remember to vote and to mark the replies as answers if they help.

    On the bottom of each post there is:

    Propose as answer = answered the question

    On the left side of each post there is /\ with a number: click = a helpful post
    .
    .
    .
    .
    .

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.