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

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

  • Comments 2
  • Likes

imageHere’s a new Knowledge Base article we published. This one talks about an issue where a ConfigMgr 2012 Task Sequence fails when using Stand-Alone Media.

=====

Symptoms

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 the hr code (in bold) will be.

Cause

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

Resolution

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

=====

For the most current version of this article please see the following:

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

J.C. Hornbeck | System Center & Security Knowledge Engineer

Get the latest System Center news on Facebook and Twitter:

clip_image001 clip_image002

App-V Team blog: http://blogs.technet.com/appv/
ConfigMgr Support Team blog: http://blogs.technet.com/configurationmgr/
DPM Team blog: http://blogs.technet.com/dpm/
MED-V Team blog: http://blogs.technet.com/medv/
Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
Operations Manager Team blog: http://blogs.technet.com/momteam/
SCVMM Team blog: http://blogs.technet.com/scvmm
Server App-V Team blog: http://blogs.technet.com/b/serverappv
Service Manager Team blog: http://blogs.technet.com/b/servicemanager
System Center Essentials Team blog: http://blogs.technet.com/b/systemcenteressentials
WSUS Support Team blog: http://blogs.technet.com/sus/

The Forefront Server Protection blog: http://blogs.technet.com/b/fss/
The Forefront Endpoint Security blog : http://blogs.technet.com/b/clientsecurity/
The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
The Forefront TMG blog: http://blogs.technet.com/b/isablog/
The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Is this fix needed for sccm 2012 sp1 cu1 ?