SCCM Task Sequence Installs Failing

Posted on 2011-05-03
Last Modified: 2012-05-11
I have strung together a Task Sequence for Operating System Deployment in SCCM. The OS, drivers and the first several applications in the TS install fine (Windows 7, Office 2010, Adobe Reader X, etc...) But when I get to Adobe Flash Player, QuickTime and a few others, these apps fail constantly during the TS installation. The strange part is that these apps install perfectly fine when I install them through Run Advertised Programs manually.

The only difference between the Run Advertised Program install and the TS install is that I am creating a separate program that does two things differently: for the Task Sequence install, I am unchecking "Allow Users to Interact with this program" (I have found that checking this box is the only way to get the program to install and allow the user to view progress, so this is how I have my non-mandatory assignments set. But this fails during the TS install so I have it unchecked for the TS). And I also have the option to "Allow this application to install through the Task Sequence without it being advertised" for the TS installation program.

But I continue to get errors like this one below. I stripped out the domain name in the message, but everything else is verbatim.

The task sequence execution engine failed executing the action (Adobe Flash Player in the group (Install Software) with the error code 2147516435
Action output: 16",PRG_ProgramID="Task Sequence Install",PKG_PackageID="CEN00058"'
Verified policy is compiled in 'root\ccm\policy\machine' namespace
content location count = 1
Invoking Execution Manager to install software
FALSE, HRESULT=80008013 (e:\nts_sms_fre\sms\client\osdeployment\installsoftware\installsoftware.cpp,282)
0, HRESULT=80008013 (e:\nts_sms_fre\sms\client\osdeployment\installsoftware\installsoftware.cpp,746)
Entering ReleaseSource() for \\\SMSPKGF$\CEN00058reference count1 for the source \\\SMSPKGF$\CEN00058\ before releasing
Released the resolved source \\\SMSPKGF$\CEN00058pInstall->Install(sPackageID, sProgramName), HRESULT=80008013 (e:\nts_sms_fre\sms\client\osdeployment\installsoftware\main.cpp,374)
Failed to invoke Execution Manager to Install Software for PackageID='CEN00058' ProgramID='Task Sequence Install' AdvertID='CEN20016' hr=0x80008013
InstallSoftware failed, hr=0x80008013
Install Software failed, hr=0x80008013.

Everything posted on these error messages I have tried to no avail. Does anyone have any other suggestions, areas I could look? Again, I make sure I can install all of these apps through Run Advertised Programs before I create a new Task Sequence Install program for them. But they're failing during the Task Sequence install only and I can't figure out why?

The specifics of the error point to a failed dependency. I do have a chain of programs for the TS Flash install, but I have checked and doublechecked the dependency order and it is correct. What else would Flash be dependent on to install? Both IE8 and Firefox are installed in the TS before Flash.

 This program cannot run because it depends on another program that has not run successfully before. This error code is returned to task sequence manager when a task sequence Install Software Action step cannot be run because the step has a child program which has not been run before.
Question by:mnat1201
    1 Comment

    Accepted Solution

    I believe I resolved my own issue. The problem stems from an issue with using dependent programs during the Task Sequence Install--it doesn't like them.

    So rather than calling a program that calls a dependent program that calls a dependent program (which works fine through Run Advertised Programs or a Mandatory assignment in SCCM), I created three separate "Installs" in the Task Sequence, and unchained the dependencies. Once each program was set to run independently, the Task Sequence not only stopped producing these errors, it installed Flash with no problem.

    The three programs I had chained together were Adobe Flash Player, Adobe Flash Player AX and a VBS script to copy the MMS.CFG file to disable auto updates. Again, after breaking these up into 3 separate programs in the task sequence, rather than calling one program and having it dependent on the other two, the task sequence worked. I sure hope this is documented somewhere by Microsoft, but I haven't seen it yet.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
    What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now