Litetouch deployment failed -2147024891 0x800700005

corne nietnodig 196 Reputation points
2022-06-08T10:34:08.827+00:00

Hi,

We are running MDT for some while now and when something changed the deployment failes every time. For short it had to do with joining the domain so i have edit the ltidomainjoin and 'out 2 lines according to info on the internet.
Joining domain is now ok but for some reason deployments failes and i cannot figure out what the problem is.
The message at the end in the screenshot. command completed, return code = -2147024891
litetouch deployment failed, return code -2147024891 0x800700005

Applications which are in the Task sequence at the line install applications between post windows update en past windows updates are running but commands at the end of the task sequence at state restore are not running.
The task sequence finishes but with the error and the minint is not removed. In the BDD.log it says that minint is beiing removed but this is not the case.

Solution and a new problem arises:
solution: in the customsettings of the deployment share i am putting the deployed client in the right OU of the domain:
DomainOUs1=OU=LT W10,OU=Ls,OU=Lr Computers BN,DC=domain,DC=test
DomainOUs1=OU=LT W10,OU=Ls,OU=Lr Computers BN,DC=domain,DC=test
and change skipdomainmembership=no to YES.

When i do above then all actions or finished, hence the deployment ends with success only with 6 errors but the deployment succeeds according to MDT.

Problem when do the solution is that the machine is not in de right OU and gets no policy's, so some .ps1 files are only starting when the policy has run which copy's the right files to the local system.
When i try to run the ps1 files in MDT in stead of thru policy the error in the log is:

Cannot find path '\share\files\ee64.msi' because it does not exist. TaskSequencePSHost 08/06/2022 11:30:22 0 (0x0000)

So it looks like when i put the client in the right OU it gets the domain policy's applied not all applications install good and i must put the client afterwards in the right OU.
When the client is not getting group policy applied so leaving the machineobject ou out of the customsettings then an application is not applied because it cannot find path. I do believe however that the path is accessible because it is the deploymentshare path.

Someone an idea?

Windows for business | Windows Client for IT Pros | Devices and deployment | Set up, install, or upgrade
{count} votes

2 answers

Sort by: Most helpful
  1. corne nietnodig 196 Reputation points
    2022-06-14T07:09:54.227+00:00

    Hi AllenLiu, i am braking my head for this problem cannot find a solution, even when i leave machineobjectOU out of the rules.ini still the deployment is goiing wrong. Maybe there are leftovers from previous attemts but there is no minint folder or _smstassequence anymore on the client.

    In the SMSTS log the last actions is post update then it reboots and when coming back these are almost the last in smssts.log:
    211192-image.png

    211089-smsts-2022-06-14-090322.png

    I can see in the BDD.log that the applications which are between pre en post windows updates are started. The custom tasks and commands beneath state restore not. CAnnot find office or ps files which i start in the task sequence.
    attached part of the task sequence where after the post windows update is goes wrong i think.

    Maybe you can make something out of it i can't anymore.
    211202-tassequence-2022-06-14-090724.png

    0 comments No comments

  2. corne nietnodig 196 Reputation points
    2022-06-15T10:31:52.923+00:00

    an addon which is important to know:

    This is not only occuring when putting the OU's in the customsettings.ini so that the clients getting the gpo's but this is also happening when the client already excists in the right OU and then restoring the image to the client which is already in the domain in the right OU, then also the deployments failes.
    When first deleting the client from the OU in the domain then deploy the client the installation all go wel and no fatal error occurs.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.