Share via

Resource Protection could not start the repair service

Fe-0859 0 Reputation points
2026-02-28T20:34:19.76+00:00

After following the instructions for Storage Test Failure on computer - Options for Resolution. I got the above error message after run: sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows

Windows for home | Windows 11 | Performance and system failures
0 comments No comments

2 answers

Sort by: Most helpful
  1. Hendrix-V 14,680 Reputation points Microsoft External Staff Moderator
    2026-03-01T01:34:10.75+00:00

    Hi Fe-0859,

    Welcome to the Microsoft Q&A forum.

    The message “Windows Resource Protection could not start the repair service” indicates that Windows was unable to start the service needed to repair system files. This can happen when system files, disk structures, or startup components are affected, often following storage or disk‑related errors.

    Here are some possible troubleshooting steps that you can consider trying:

    Recommended solutions (short and effective)

    1, Run Startup Repair

    • Boot into Windows Recovery Environment
    • Select Troubleshoot > Advanced options > Startup Repair
    • Let the process complete and restart the PC

    2, Repair the Windows image using DISM

    • In Advanced options, open Command Prompt
    • Run DISM /Image:C:\ /Cleanup-Image /RestoreHealth
    • After it completes, retry sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows

    3, Check the disk for errors

    • From Command Prompt in Recovery, run chkdsk C: /r
    • Allow the scan to complete and restart

    If repairs don’t complete successfully, this option reinstalls Windows while preserving personal data.

    • Troubleshoot > Reset this PC
    • Choose Keep my files

    If disk checks continue to report storage‑related issues, it may be helpful to consult your device manufacturer for further hardware diagnostics. Persistent storage errors can impact system recovery tools.

    Let me know if you need further assistance, feel free to ask me by clicking "Add Comment" or "Add Answer" if you cannot add comment so your response will be visible. Thanks for your effort.


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    1 person found this answer helpful.

  2. AI answer

    2026-02-28T20:34:35.76+00:00

    "Windows Resource Protection could not start the repair service" indicates that the servicing components SFC depends on (primarily the Windows Modules Installer/TrustedInstaller and the component store) aren’t available or working in the environment where the offline SFC command is being run.

    From the provided material, the supported way to address SFC issues is to repair the Windows image first with DISM, then rerun SFC, and if that still fails, move to support.

    Use this sequence:

    1. Boot into a Windows environment where the OS image is accessible (for example, normal Windows, WinRE, or a troubleshooting VM if this is a disk from another machine).
    2. Run DISM to repair the image, then SFC:
    DISM /Online /Cleanup-Image /RestoreHealth
    sfc /scannow
    

    If the image files are not available or DISM reports file-not-found errors, explicitly point DISM to a known-good WIM source:

    DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:C:\install.wim:1 /LimitAccess
    sfc /scannow
    

    If the OS disk is being repaired from another system (for example, Azure VM or offline disk repair), run DISM against the mounted image, then SFC with the offline parameters, ensuring the paths are correct and the servicing stack is intact:

    Dism /image:<DriveLetterOfOfflineWindows>:\ /cleanup-image /restorehealth /source:wim:<DriveLetterOfOfflineWindows>:\recovery\windowsRE\winre.wim:1
    
    sfc /scannow /offbootdir=<DriveLetterOfOfflineWindows>:\ /offwindir=<DriveLetterOfOfflineWindows>:\Windows
    

    If, after DISM completes successfully, SFC still reports that it cannot start the repair service or that corruption remains, the guidance is to contact technical support, as this indicates deeper corruption of the servicing stack or system files that SFC/DISM cannot repair.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

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