Okay, so, the other day I bumped into a little snag on my computer that really threw me for a loop. I was trying to run a system scan, just a routine check, you know? But then, bam! This error message pops up saying, “Windows Protection could not start the repair service.” I’m like, what? My computer was acting wonky, so I figured, let’s run the System File Checker (SFC) tool. That’s usually my go-to move for these kinds of issues.
I hit up the Command Prompt, typed in sfc /scannow, and crossed my fingers. But no luck. I got that annoying message. So, I thought, maybe the Windows Modules Installer service is acting up. It’s the thing that helps with installing, modifying, and removing Windows updates and optional components. So, I tried to start it up manually.
I went to the Services console (just type in the Run dialog), found “Windows Modules Installer,” and tried to start it. But, nope, it wouldn’t budge. It was set to “Manual,” and when I tried to start it, I got another error. Something like, “the service cannot be started, either because it is disabled or because it has no enabled devices associated with it.” Great, just great.
Next, I thought, let’s try the Command Prompt again, but with a different tactic. I used this command: sc config trustedinstaller start= demand. What this does is, it sets the Windows Modules Installer service to start on demand. I hit Enter, and it seemed like it worked, no errors this time.
Then I did: net start trustedinstaller. This command will start the service.
After that, I tried running sfc /scannow again. And guess what? It worked! The scan started, and it went through the whole process without a hitch. I was so relieved, it took about 5-10 minutes. It felt like forever, but hey, it was fixing things.
I also found out that this whole mess might be caused by issues with the Windows Modules Installer service, or sometimes even corrupted system files. In the end, everything turned out okay. My computer was back to normal, and I learned a few new tricks along the way. If you ever run into this issue, you could try these steps. It is a bit of a hassle, but it is way better than reinstalling Windows, right?
Here are the steps I tried:
- Tried to run sfc /scannow in Command Prompt.
- Tried to start the Windows Modules Installer service manually through .
- Used Command Prompt to set the Windows Modules Installer service to start on demand: sc config trustedinstaller start= demand.
- And then: net start trustedinstaller.
- Ran sfc /scannow again, and it finally worked!
Man, that was a relief. It is always something with these computers, huh? But that is the fun of figuring it out, I guess. Just wanted to share this in case any of you run into the same problem. You are not alone, haha!