• SFC /scannow fails with windows resource protection error

    Home » Forums » AskWoody support » Windows » Windows 10 » Windows 10 version 22H2 » SFC /scannow fails with windows resource protection error

    Tags:

    Author
    Topic
    #2582853

    Finally upgraded to 22H2.  No I get error running sfc /scannow

    Verification 35% complete

    Windows Resource Protection could not perform the requested operation.

    Ran DISM with CheckHealth, ScanHealth and RestoreHealth.  No issues reported with any of those. Re-ran sfc and still have the same issue.

    Also did a repair install and then repeated the same steps. Still sfc is failing?

    Any ideas?

     

     

    Viewing 4 reply threads
    Author
    Replies
    • #2582864

      Give us some more information about your hardware. Computer specs? Do you have an HDD or an SSD.
      Are you running Home or Pro Edition.
      Have you run chkdsk /f?
      Is this the first time you have seen this error? Did it occur before you upgraded to 22H2?
      Do you have an image backup you could restore before you upgraded to 22H2?

      • #2582868

        Its a HDD.  Machine is over 5 years old. Chkdsk ran early in my process.

        Prior version was 2004 and wouldn’t install any updates at all.. That version wouldn’t even successfully run DISM.  So that was pretty messed up.  Tried this upgrade to get on a supported version.

        Had to run the upgrade many times. Each time it failed I checked the setupdiag log file and followed the directions on which file to remove.

        Unfortunately, my image backup was overwritten with a backup of this current install.

        • #2582879

          There are instructions on this site on how to export your drivers. Search.
          Suggest you back up your data. Make a list of your programs. And do a clean install.
          If your backup software allows the image you made to be mounted, be sure to keep that backup as you can retrieve data from it.

          If you want to wait, maybe someone else has another suggestion.

        • #2582903

          From an elevated Command Prompt run

          dism /online /cleanup-image /startcomponentcleanup /resetbase

          Always create a fresh drive image before making system changes/Windows updates; you may need to start over!
          We all have our own reasons for doing the things that we do with our systems; we don't need anyone's approval, and we don't all have to do the same things.
          We were all once "Average Users".

    • #2582890

      A new to me method of helping DISM to work in a bad situation was posted very recently, I would give it a try.  Check out section “dealing with corruption” https://www.askwoody.com/newsletter/ms-defcon-3-patch-carefully/

      If that fails, I would do the clean install (but I would make an additional image backup first).  In the future keep more full image backups, for your primary system I would keep at least 3.  However, if now you are careful about how you get data back from the image, you should have a reasonable amount of success.  Certain parts of a backup are harder to integrate into a clean install.  I would say the hardest are – product keys, password vaults, saved emails, and saved browser settings.  Browser bookmarks are pretty easy especially if you export them before the wipeout, or have them synced to a cloud account that you know the password for.

      I always disable Bitlocker before creating backups, or I should say more I never trust a backup created on a system that has Bitlocker on.

      1 user thanked author for this post.
      • #2582923

        I tried that. It needed some adjustment as there is no RepairSource directory in the mounted image I have. After some research I found that I needed to point at \Sources\install.esd:6

        I found the 6 by using the DISM WimInfo command.

        Still not cured….

         

    • #2583567

      In case anyone wants to dig into things, I have attached the cbs.log file

      CBS

    • #2583613

      Have you tried the “repair install” method?

      What backup method do you use that allows you to overwrite an existing backup? I use a 3rd party product that allows me to save multiple backup versions.

      cheers, Paul

      • #2583755

        Have you tried the “repair install” method?

        Thread original post:

        Also did a repair install and then repeated the same steps.

        Windows - commercial by definition and now function...
    • #2583651

      Had to run the upgrade many times. Each time it failed I checked the setupdiag log file and followed the directions on which file to remove.

      It seems you have removed one too many.

      Run repair install / clean install / reset

      https://helpdeskgeek.com/help-desk/how-to-fix-windows-resource-protection-could-not-perform-the-requested-operation-error/

      1 user thanked author for this post.
    Viewing 4 reply threads
    Reply To: SFC /scannow fails with windows resource protection error

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: