Windows Modules Installer Service Stuck Stopping File
The service should now be stopped, allowing you to restart it or reboot your PC normally. Step-by-Step Troubleshooting Guide
You’ve just finished a Windows update, or perhaps you tried to install a new .NET framework version. You open the console ( services.msc ) to restart a process, but then you see it: Windows Modules Installer – Status: Stopping . windows modules installer service stuck stopping
If that hangs, force kill the process:
@echo off title Windows Modules Installer Reset Tool echo Stopping services... sc stop TrustedInstaller taskkill /f /im trustedinstaller.exe 2>nul sc config TrustedInstaller start= disabled timeout /t 3 /nobreak >nul sc query TrustedInstaller | find "STOPPED" if %errorlevel% equ 0 ( echo Service is now stopped. sc config TrustedInstaller start= demand echo Service set to Manual. ) else ( echo Force killing via PID... for /f "tokens=2" %%a in ('tasklist /fi "imagename eq trustedinstaller.exe" /nh') do ( taskkill /f /pid %%a ) ) echo Reset complete. pause The service should now be stopped, allowing you
You wait 10 minutes. Then 30. Then an hour. If that hangs, force kill the process: @echo
This will force the "Stopping" service to terminate immediately. Super User 3. Clear the Update Cache (Permanent Fix)
Leave a Reply