question

cornenietnodig-5642 avatar image
0 Votes"
cornenietnodig-5642 asked cornenietnodig-5642 answered

Litetouch deployment failed "Failed to create shared environment"

Deploying an image with MDT2013 to clients, made a new Task sequence with the newest Windows 10 21H1. In this tasksequence i have put several install msi's beneath the sate restore option.
Deploying this Image gives at the end of the deployment 5 errors. The image is deployed with those 5 errors but Windows is installed. The only problem is that the applications are not installed none of them.

I am looking in what stage of the Task sequence it goes wrong, it must be for the install applications in the sate restore starts because the applications are not starting.

These are some text from the log files bdd and smsts.log:

Litetouch deployment failed, Return Code = -2147024891 0x80070005]LOG]!><time="15:49:18.000+000" date="10-01-2021" component="LiteTouch" context="" type="3" thread="" file="LiteTouch">
<![LOG[Event 41014 sent: Litetouch deployment failed, Return Code = -2147024891 0x80070005]LOG]!><time="15:49:18.000+000" date="10-01-2021" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">
<![LOG[For more information, consult the task sequencer log ...\SMSTS.LOG.]LOG]!><time="15:49:18.000+000" date="10-01-2021" component="LiteTouch" context="" type="1" thread="" file="LiteTouch">

smsts.log
<![LOG[Running Task Sequence in standalone.]LOG]!><time="15:49:18.359-120" date="10-01-2021" component="TSMBootstrap" context="" type="0" thread="3192" file="tsmbootstrap.cpp:554">
<![LOG[Failed to create shared environment)]LOG]!><time="15:49:18.359-120" date="10-01-2021" component="TSMBootstrap" context="" type="3" thread="3192" file="environmentscope.cpp:573">
<![LOG[Failed to create the Shared Environment object. Code(0x80070005)]LOG]!><time="15:49:18.359-120" date="10-01-2021" component="TSMBootstrap" context="" type="3" thread="3192" file="tsmbootstrap.cpp:561">
<![LOG[Failed to run task sequence (0x80070005).]LOG]!><time="15:49:18.359-120" date="10-01-2021" component="TSMBootstrap" context="" type="3" thread="3192" file="tsmbootstrap.cpp:736">
<![LOG[Failed to run task sequence]LOG]!><time="15:49:18.359-120" date="10-01-2021" component="TSMBootstrap" context="" type="3" thread="3192" file="tsmbootstrap.cpp:970">
<![LOG[Exiting with return code 0x80070005]LOG]!><time="15:49:18.359-120" date="10-01-2021" component="TSMBootstrap" context="" type="1" thread="3192" file="tsmbootstrap.cpp:1303">

Someone an idea what goes wrong here?

mem-mdt
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AllenLiu-MSFT avatar image
0 Votes"
AllenLiu-MSFT answered

Hi, @cornenietnodig-5642
Thank you for posting in Microsoft Q&A forum.

You may try not to join the PC to the domain to see if it helps, it seems the issue is OU related, you may refer to below links for more details:
https://social.technet.microsoft.com/Forums/en-US/e65b3300-5dd6-41a7-8280-9242c1573c59/failed-to-create-shared-environment-when-deploying-w10-v1703-via-mdt?forum=mdt
https://social.technet.microsoft.com/Forums/en-US/88807c0c-f78b-40bb-9972-024d992dc863/mdt-failed-to-create-shared-environment?forum=mdt


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

cornenietnodig-5642 avatar image
0 Votes"
cornenietnodig-5642 answered

I think i have found it. In the customsettings.ini i had changed some time ago the domain join user. I think this user has the rights to join pc to the domain but also think that this is the problem.

I will test this tomorrow..

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.