You are currently offline, waiting for your internet to reconnect

Task Sequence Fails when using Stand-Alone Media in System Center 2012 Configuration Manager


Task Sequence execution fails when using stand-alone media (USB flash drive or CD/DVD) in System Center 2012 Configuration Manager.  The task sequence will fail to install applications and the SMSTS.log will contain an error similar to the following:

Failed to invoke Execution Manager to Install Software for PackageID='CAS0002C' ProgramID='setup' AdvertID='{00A2B6FB-8E61-47B6-9702-BBDEAD7FBE8A}'hr=0x87d01004

Items in italics above are based on the environment so will not be consistent but thehr code (in bold) will be. 


This occurs because the Software Distribution Agent is not enabled since the client has not yet received policy. 


To resolve the issue and enable the Software Distribution Agent, add the following Run Command Line step earlier in the Task Sequence, before any Install Package steps:

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

More Information
Standalone Media
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Article ID: 2716946 - Last Review: 07/09/2012 22:16:00 - Revision: 3.0

  • Microsoft System Center 2012 Configuration Manager
  • kbtshoot KB2716946