SCCM: How to Resolve a Stuck Task Sequence

From time to time we see a task sequence running for days on a workstation. Upon investigation, it appears it has completed all of the tasks in the sequence but has never gone to completed status.

To resolve this issue, complete the following steps:


  1. Open a command prompt as administrator and execute the following commands:
    1.  net stop winmgmt
    2. winmgmt /resetrepository
  2. Reboot the system
  3. Open a command prompt as administrator and execute the following commands:
    1. C:\Windows\CCM\CCMRepair.exe
    2. C:\Windows\CCM\CCMRestart.exe