Issue with “Install Software” Task Sequence Step and ConfigMgr Stand-Alone Media Build

We recently encountered an issue that has been around for a while, but no real documentation on it except for a couple posts in the TechNet Forums. Hopefully this post will save you some time.

Consider the following scenario:

  1. You are using ConfigMgr OSD, and installing additional applications by using the “Install Software” Task Sequence Step.
  2. You use a Central Administration Site (CAS) to create the stand-alone media build.

When you run the stand-alone media build process, the task sequence fails on any step that is configured to “Install a Program.” The errors appear in the smsts.log and execmgr.log, as shown below:

smsts.log:

Failed to invoke Execution Manager to Install Software for PackageID=LAB003EA
InstallSoftware Failed. hr=0x87d01004
Process completed with exit code 2278559748
Failed to run the action: Install FOO Client. The program is disabled. (Error: 87D01004; Source: CCM)
This message may also appear: Failed to invoke Execution Manager to Install Software x80008004      

smstslog-failsoftwareinstall

execmgr.log:

TS Step required to run a disabled program. Rejecting.

execmgr_failSwinstall

This is a known issue. Here are your options for work-around:

  • Create the stand-alone media at a Primary site instead of the Central Administration Site (CAS), or
  • Replace all “Install Software” TS Steps with “Run Command Line,” or
  • Add the following Run Command Line step to the task sequence after the Setup Windows  and Configuration Manager step to enable the software distribution agent before  the first Install Package step runs:
WMIC /namespace:\\root\ccm\policy\machine\requestedconfig path ccm_SoftwareDistributionClientConfig CREATE ComponentName="Enable SWDist", Enabled="true", LockSettings="TRUE", PolicySource="local", PolicyVersion="1.0", SiteSettingsKey="1" /NOINTERACTIVE

You don’t need to do all three steps-choose one.

Greg

About Greg Ramsey
Greg Ramsey is a systems engineer specializing in global systems management for Dell IT. He has a B.S. in Computer Sciences and Engineering from the Ohio State University and is a Microsoft Most Valuable Professional (MVP) for Microsoft System Center Configuration Manager. Greg coauthored SMS 2003 Recipes: A Problem-Solution Approach (Apress, 2006), Microsoft System Center Configuration Manager Unleashed (Sams, 2009), Microsoft System Center 2012 Configuration Manager Unleashed (Sams, 2012), and Microsoft System Center 2012 Configuration Manager: Administration Cookbook (Packt Publishing, 2012), and Microsoft System Center 2012 Configuration Manager R2 Unleashed (Sams, 2012). Greg is cofounder of the Ohio SMS Users Group, and the Central Texas Systems Management User Group.

3 Responses to Issue with “Install Software” Task Sequence Step and ConfigMgr Stand-Alone Media Build

  1. Kevin Surgener says:

    I’m getting this error even with bootable media. The only difference is that my logs indicate that there isn’t even an attempt to download the content from the DP. I’ve checked the box from “Allow this application to be installed from the Install Application task sequence…” but I’m still coming up with nothing. Frustrating. Any ideas? Thanks!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 1,609 other followers

%d bloggers like this: