If SFC says "Windows Resource Protection could not start the repair service," check Windows Modules Installer in Services. Its service name is TrustedInstaller. Start it if it's stopped and enabled, then retry SFC from an administrator Command Prompt in the Windows installation you're repairing. If it won't start, save that exact service error before changing anything else.

I'd check the service state and the console first. Repeating the scan or resetting a long list of services gives you less useful evidence than finding out whether this one service can start.

Confirm the message and the Windows session

This page covers the repair-service startup message on Windows 11. Keep the exact SFC command and final text; similar Windows Resource Protection messages lead to different checks.

Your resultNext check
Could not start the repair serviceCheck Windows Modules Installer and its start result below.
You must be an administratorOpen an authorized elevated console.
Could not perform the requested operationInvestigate the scan-operation failure.
The scan finished but couldn't repair some filesRead the remaining repair findings.

Use the SFC administrator-console instructions for an elevation message. The could-not-perform-the-requested-operation guide handles that separate failure. Don't keep changing service settings after SFC has moved to a different result.

In the Windows desktop you're repairing, search for cmd, right-click Command Prompt and choose Run as administrator. Approve it with an authorized administrator account. Microsoft's SFC command reference requires administrator membership; use Run as administrator for this console even when your account already has those rights. On a work or school PC, use your IT team's approved repair process if you don't have that access.

If the message appears only in a remote-management agent's terminal, compare it with an authorized administrator Command Prompt in the installed Windows session. A MeshCentral Windows 11 report described SFC failing in the agent terminal while working through an ordinary remote desktop command prompt; agent architecture was investigated in that case. That comparison supports checking the execution environment before changing the machine's service configuration. It doesn't establish an architecture fault on every affected PC.

A Windows Recovery Environment command prompt is a different context. If Windows won't start, skip to the offline boundary below rather than assuming a service command there will repair the installed Windows service.

Inspect Windows Modules Installer

Microsoft explains that Windows Resource Protection uses Windows Modules Installer for supported changes to protected resources. Check that service specifically. Windows Installer, which handles MSI installation, is a different entry; re-registering msiexec doesn't check TrustedInstaller.

  1. Press Windows + R, enter services.msc and press Enter. Use authorized administrator approval if Windows requests it.
  2. Find Windows Modules Installer and open its properties.
  3. On General, confirm Service name: TrustedInstaller. Record the current Startup type and Service status before making a change.
  4. If it's already Running, leave it running and retry SFC in the administrator console. Don't stop it to manufacture a restart.
  5. If it's Stopped and the startup type isn't Disabled, select Start. Record whether it starts or displays an error. Leave an existing non-disabled startup setting unchanged.
Windows Modules Installer properties showing TrustedInstaller, Manual startup, Stopped status and the Start button.
Confirm the service name before using Start. This example shows Manual and Stopped; record your own settings first. Enlarge the service properties.

If the service is starting or stopping, allow the current transition to finish before deciding it failed. If Start is unavailable while the service is stopped, or access is denied, record that condition and use authorized support. Don't alter the Log On account to make the button work.

If the startup type is Disabled: pause before changing it. On a managed PC, ask IT why it was disabled. On your own PC, if you knowingly disabled this service with a tweak and are reversing that change, select Manual, choose Apply, then try Start. If you don't know why it's disabled, keep the recorded setting and have support investigate it.

Microsoft's service startup-type definitions distinguish an on-demand start from Automatic at restart; a disabled service cannot start until that configuration changes. Manual here is a limited way to reverse your own known disabling change. It isn't a claim that every Windows installation must use one universal default. Don't switch the service to Automatic merely because an old forum command does so.

If the service won't start

Copy the full error number and text from the failed start, along with the service name, startup type, status and time. If the entry is missing, verify that you're looking for Windows Modules Installer in the installed Windows session. Don't create a replacement service from a downloaded registry file.

For a read-only command-line check in the administrator console, use:

sc.exe query TrustedInstaller

The service query command displays the service state and associated status information. This command example asks for information; it doesn't rebuild a service or prove that SFC can complete. Keep the spelling TrustedInstaller together. Save an error from this query too, rather than interpreting every failure as permission corruption.

Leave the service's Log On account, executable path, registry permissions and servicing DLLs alone. The SFC message doesn't justify taking ownership of the component store, copying a DLL from another Windows build or resetting unrelated services. WRP deliberately restricts protected-resource access to TrustedInstaller; changing ownership removes a protection rather than establishing the cause.

If Start fails again or the service is missing, give support the recorded result and your Windows version/build from winver. Back up important files before escalating to repair or reinstallation. A precise start failure is a better handoff than a list of registry changes whose original values are lost.

Retry SFC and read its final result

Once the service starts, return to the administrator Command Prompt in the installed Windows session and run:

sfc /scannow

Let verification finish and keep the console open until it does. Microsoft's SFC repair instructions distinguish the final scan findings. A service-start success or a verification percentage is only an intermediate result. In a Windows 10 SFC investigation, changing the service configuration allowed the scan to start, but it later stopped with the requested-operation error. Keep that historical outcome separate from a completed repair.

If SFC completes, follow its final finding and check the Windows feature or application that originally failed. A no-integrity-violations result is the point to investigate that original symptom separately, rather than change more service settings. For a completed scan that still reports unrepaired files, use the repair-result checks below. If the requested-operation error replaces the service-start message, use the earlier link to that investigation.

If the same service-start error remains even though the service started, preserve both results; restarting it repeatedly won't explain the mismatch. SFC details are in %windir%\Logs\CBS\CBS.log. Use the entries around your latest attempt, since the log can contain older runs too; give support that time window privately.

For a broader component repair, Microsoft puts DISM before SFC. The SFC and DISM repair-result checks explain that sequence and the remaining-file findings. Save any DISM error and investigate it instead of treating an unfinished repair as success or skipping straight to reinstallation.

Keep offline repair and reinstallation separate

Microsoft's offline SFC parameters distinguish /offwindir and /offbootdir. They require the correct Windows and boot directories for that recovery session. Don't copy an offline command with someone else's C: path, and don't assume starting a service in recovery starts the installed Windows service. Have support identify the intended installation and unlock an encrypted volume with your private recovery key when required.

When the targeted service and console checks can't restore SFC, choose a supported repair with your backup and application requirements in mind. Microsoft's Windows Update reinstall option repairs components while preserving files, apps and settings on supported Windows 11 systems; availability depends on the Windows version, installed updates and management policies. The repair-install guide explains that route and an in-place reinstall, with preparation before either. Don't choose Reset this PC expecting it to preserve applications.

Stop changing services once the scan completes and the original problem is resolved. If either still fails, keep the new final message and the original symptom together for the next investigation in the Windows system repair hub. Share logs privately with support after checking them for account names and paths.