Forum Discussion
Task Sequence Failing - Installing Application
I have an application that I'm trying to install, which requires license files to be copied over from a network share after installation. I have successfully done this by creating two separate applications within MECM and deployed them separately.
However, I'd like to deploy this utilizing a task sequence so I can deploy the software application, and once completed, run the file copy to move over the license files I need. When doing this via a task sequence, it doesn't seem to work.
The message in the console reads "The task sequence manager could not successfully complete execution of the task sequence".
The messages I see in the Asset Message screen on the Deployment Status show a variety of messages:
"The task sequence execution engine started execution of a task sequence"
"The task sequence execution engine failed to install application that was specified in the 'Install Application' action"
"The task sequence execution engine failed executing an action"
"The task sequence execution engine aborted execution for a failure of an action"
"The task sequence execution engine failed execution of a task sequence"
I took a look at the SMTS log, and not much is really standing out to me that's helpful. I do see a couple of failure messages, but searching on this yields a lot of results, which don't appear to be related to my issue. I assume the messages are too generic to get me any great understanding:
"<![LOG[Failed to create an instance of COM progress UI object. Error code 0x8000401a]LOG]!><time="16:14:35.364+240" date="04-28-2025" component="InstallApplication" context="" type="2" thread="2988" file="clientui.cpp:336">"
"<![LOG[Install application action failed: 'SALT 20'. Error Code 0x80004005]LOG]!><time="16:14:42.863+240" date="04-28-2025" component="InstallApplication" context="" type="3" thread="2988" file="installapplication.cpp:974">"
"<![LOG[Sending error status message]LOG]!><time="16:14:42.863+240" date="04-28-2025" component="InstallApplication" context="" type="1" thread="2988" file="installapplication.cpp:978">"
"<![LOG[ Setting URL = https://naz-cmmpdp1.nazareth.internal, Ports = 80,443, CRL = false]LOG]!><time="16:14:42.863+240" date="04-28-2025" component="InstallApplication" context="" type="0" thread="2988" file="utils.cpp:7351">"
"<![LOG[ Setting Server Certificates.]LOG]!><time="16:14:42.863+240" date="04-28-2025" component="InstallApplication" context="" type="0" thread="2988" file="utils.cpp:7379">"
"<![LOG[ Setting Authenticator.]LOG]!><time="16:14:42.863+240" date="04-28-2025" component="InstallApplication" context="" type="0" thread="2988" file="utils.cpp:7395">"
I checked the cas, contenttransfermanager and locationservices logs as well. The only failure/error messages I'm seeing appear to be benign I believe. One such is a failure to determine if the client is a peer source, failure to delete a directory in cache, which I believe has to do with peer cache not being enabled. I also see a message in the contentransfer log about failure to find or get a reg value for content, but again, not able to really determine what this means or how to continue tracking that.
I've attached all relevant log files for reference.
1 Reply
Hi, that 0x80004005 in TS often indicates that SYSTEM can't find the files on the DP or doesn't have permissions on the network share.
Check that the app is deployed to the DPs used by the TS collection and that the client has received the contents.
Remember that Task Sequences run in SYSTEM context: you need the Network Access Account configured in SCCM to access \share.
For copying licenses, create a package and in TS use a “Run Command Line” step (e.g., robocopy \share\licenze C:\dest) immediately after installation.
If you need to, precede with a net use \share /user:DOM\user Password and follow with net use \share /delete.
Then check the smsts.log on the client for any access errors or missing DPs.
Then the SYSTEM process can access the share and copy the files without failure.