Share via

Windows Resource Protection

James M 0 Reputation points
2026-02-28T03:49:44.8433333+00:00

Windows Resource Protection could not start the repair service

Windows for home | Windows 11 | Settings
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Ramesh 175.9K Reputation points Volunteer Moderator
    2026-02-28T04:03:31.1566667+00:00

    Hi James,

    Can you run the following command?

    DISM /Online /Cleanup-Image /RestoreHealth
    

    If it fails, please upload the following log files in your next reply.

    C:\Windows\Logs\CBS\CBS.log
    
    C:\Windows\Logs\DISM\DISM.log
    
    0 comments No comments

  2. Q&A Assist
    2026-02-28T03:49:55.2933333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The message “Windows Resource Protection could not start the repair service” appears when running sfc /scannow and the underlying Windows Resource Protection (WRP) infrastructure cannot start its required service (Windows Modules Installer/TrustedInstaller).

    WRP is the mechanism that protects and repairs essential system files, folders, and registry keys. It only allows changes through the Windows Modules Installer service using supported replacement mechanisms. When sfc /scannow runs, it relies on this infrastructure to scan and repair protected files. If the repair service cannot start, SFC cannot complete and shows that error.

    To address this situation, use the System File Checker as documented and pay attention to the result messages:

    1. Open an elevated Command Prompt (Run as administrator).
    2. Run:
         sfc /scannow
      
    3. If the scan cannot run and shows “Windows Resource Protection could not perform the requested operation,” run SFC in Safe Mode and verify that the folders PendingDeletes and PendingRenames exist under %WinDir%\WinSxS\Temp.
    4. If SFC completes, interpret the result:
      • If it reports that corrupt files were found and successfully repaired, no further action is needed beyond reviewing the CBS log if desired.
      • If it reports that corrupt files were found but some could not be fixed, identify the specific files from the CBS log and replace them manually with known-good copies.

    Because WRP strictly controls access to protected resources, applications and installers must not attempt to modify WRP-protected files or registry keys directly. All repairs must go through SFC/WRP and the Windows Modules Installer service.


    References:

    0 comments No comments

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.