Sometimes, when Windows is not working properly, you may need to check your Windows system files using the SFC (System File Checker) tool. You need to perform this check when a Windows Resource Protection (WRP) file is corrupted or missing. By using the command ‘sfc/scannow’ through command prompt, you can fix the corrupted system files. But if an error occurs in the file checker tool itself, you will not be able to run the command and thus cannot solve corrupted WRP file issue. In such cases, while trying to run the sfc command, you can come across a message saying ‘Windows resource protection could not start the repair service’.
In this article, we will show you how to fix this error on Windows so that you can run the sfc/command without any problem.
What Causes This Windows System Issues
There is an in-built service in the Windows OS, called Windows Modules Installer (Trustedinstaller). This service has access to registry entries and WRP files. If and when this Trustedinstaller service is disabled, you won’t be able to perform a system scan and the error message Windows resource protection could not start the repair service keeps on showing up.
Thus the necessary step in fixing this issue is to enable the Windows Installer service on your Windows. There are some other fixes as well and we will be going into details of each one.
Method 1: Enable Windows Installer Service
As mentioned above, enabling Windows Installer service will quickly fix this issue. To do that follow these steps:
- Press Windows key + R simultaneously on your keyboard.
- Type services.msc in the Run dialog and click on OK to open Services window.
- Look for Windows Modules Installer in the Services Window. Double click to open its properties.
- Click on the General tab and set the Startup type to Manual. Click Apply and then OK. Shut down the Services window.
- Click on Start button and type ‘cmd’ in the search box. Right-click on Command prompt from the list of results, and select Run as administrator.
- In the command prompt window, type ‘scconfig trustedinstaller start=demand’ and hit Enter.
- Again in that same window type ‘net start trustedinstaller’ and press Enter.
Now try to run the sfc command and see if it works. If the above method fixes your issue, then you are done. However, if the issue persists, continue with the next solutions.
Method 2: Run System File Checker Offline
Running the system file checker offline has solved this issue of ‘Windows resource protection could not start the repair service’, for many users. Running the file checker offline consists of two essential steps. First is, booting into Windows RE (Recovery Environment) followed by running the system file checker tool.
Part 1: How to Boot Into Windows RE
Booting into Windows Recovery Environment consists of the first step. This is how you can get it done:
For Windows 8/10:
To open the Power user menu, Press Windows key +X from your keyboard. Click on Shut down or Sign out. Then press and hold the Shift key on your keyboard and click Restart. Now click on Troubleshoot and select Advanced Options and continue with Command Prompt.
For Windows Vista/7:
Insert the Windows Vista/7 Setup disk or System repair disk (if you have one) and restart your computer.
When a prompt appears, follow the instructions to boot from the disk. In the Install Windows Screen, that appears next, click on ‘Repair Your Computer’. Select the Operating System from the options and click on Next. Select Command prompt in the System Recovery options.
Part 2: Run The System File Checker Offline
In the Command prompt window, type the command ‘sfc/scannow/offbootdir=d:\/offwindir=d:\windows’ and press Enter. This will check the integrity of all files and if there are any missing and corrupted ones it will try to fix it.
Method 3: Update your Windows
Sometimes installing the latest system updates can resolve this issue. Updating Windows can help you resolve most issues with your PC. To install the latest system updates follow these steps:
- Click on the Start button and type Update in the search box and select Windows Update from the results.
- In the next window, click on Check for Updates. Windows will now look for the available updates for your system.
- Check the updates you want to install and click OK to confirm and install the updates.
This procedure will install the updates available, should create no problems in running the sfc/scannow command to fix other issues on your computer. These are the steps or methods you need to follow to resolve the sfc issue on your PC. Hope the solutions work for you.