toolsignHi everyone, Luke Ramsdale here.  Recently I worked on an issue with MDT 2010 Update 1 that was integrated with Configuration Manager 2007 SP2 where some applications failed to install after being added via the UDI wizard. In this particular case, one of the selected applications failed to install correctly during the task sequence whilst other applications were successful. When we examined the smsts.log we saw the following generic error:

Failed to invoke Execution Manager to Install Software for <PackageID> <ProgramID> AdvertID='SMS10000' hr=0x80004005               
InstallSoftware failed, hr=0x80004005   
Install Dynamic software action failed to install <packageID>, <programID>. Error Code 0x80004005

When examining the execmgr.log, we saw the following concerning the same package and program:

Policy arrived for parent package <PackageID>  <ProgramID>
Optional requires no user logon. SMS10000 - <ProgramID> not acceptable by client        
RaisePolicyStateStatusMessage - invalid policy received               
Creating mandatory request for advert SMS10000, program <ProgramID>, package <PackageID>             
Optional requires no user logon. SMS10000 - <ProgramID> not acceptable by client        
CreateMandatoryRequestRecursively reject invalid policy <ProgramID>               
Optional requires no user logon. SMS10000 - <ProgramID> not acceptable by client        
RaisePolicyStateStatusMessage - invalid policy received

After examining the package and program that failed to install from within the Configuration Manager console, we found that the program environment was configured to run “Only when no user is logged on”. Changing this option to “whether or not a user is logged on” resolves this issue and prevents the policy being rejected by the client and of course results in a successful installation.”

Luke Ramsdale | System Center Support Escalation Engineer

App-V Team blog: http://blogs.technet.com/appv/
AVIcode Team blog: http://blogs.technet.com/b/avicode
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/
OOB Support Team blog: http://blogs.technet.com/oob/
Opalis Team blog: http://blogs.technet.com/opalis
Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
OpsMgr Support Team blog: http://blogs.technet.com/operationsmgr/
SCMDM Support Team blog: http://blogs.technet.com/mdm/
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/

clip_image001 clip_image002