When the Windows Modules Installer service fails, critical operations like Windows updates and software installations are disrupted. Follow these 4 professional steps:
Step 1: Restart the Windows Modules Installer Service
Open Services Manager (). Locate Windows Modules Installer. Right-click > Restart. If the service won't start, proceed to Step 2.
Step 2: Correct the Service Configuration
Run Command Prompt as Administrator. Execute:

sc config TrustedInstaller binpath= "%SystemRoot%servicing*"
Confirm successful output ("ChangeServiceConfig SUCCESS"). Reboot the system and restart the service.
Step 3: Repair the Windows Installer Engine
Run Command Prompt as Administrator. Execute these commands sequentially:
msiexec /unregister msiexec /regserver
This resets the installer framework. Re-test the Windows Modules Installer service.
Step 4: Perform System File Repair
Run Command Prompt as Administrator. Execute:
sfc /scannow
After completion, run:

DISM /Online /Cleanup-Image /RestoreHealth
Reboot after both operations complete.
Post-Repair Verification
- Attempt Windows Update installation
- Test MSI-based software installations
- Recheck Service Manager for Windows Modules Installer status
These solutions address misconfigurations, file corruption, and service registry corruption - the most common causes of TrustedInstaller failures.