We had this strange problem with SCCM 2012 application deployment for a long time. Whenever we deploy an application, it gets stuck in Waiting to install state for a few hours. The application finally installed, but it’s not telling when it would be installed.
After trying out a lot of different “fixes”, we finally fixed the problem. The problem is a bug in SCCM client. The SMSTSMGR service depends on CCMEXEC service to start first, but this is not the case for several of our computers. Here is the original solution in PowerShell. We don’t have PowerShell installed on our computers by default. I just created a batch script to run this command.
sc.exe config smstsmgr depend= winmgmt/ccmexec
I created a package with this script and deployed it to all the computers. I have not seen the waiting to install message again.
This post may contain affiliated links. When you click on the link and purchase a product, we receive a small commision to keep us running. Thanks.