How to fix error "Failed to run task sequence (0x80070005)" in MDT?

José Ygor Mendes 0 Reputation points
2023-05-08T18:59:33.78+00:00

I've been trying to deploy Windows 7/10/11 using MDT and during the task sequence, users can select the OU they want and join the domain. But when they select to join domain, when the installation finishes the post-installation task fails. It only happens when the computers join to a domain and OU, but, i've noticed that when the selected OU has no inheretance the post-installation task runs normally.

Here some logs from smsts.log and litetouchLiteTouch

SMSTS

IMG_20230421_184634

Is there a way to fix this, because i want the machines to join the domain.

Windows for business Windows Client for IT Pros Directory services Active Directory
Windows for business Windows Client for IT Pros Devices and deployment Set up, install, or upgrade
Windows for business Windows Server User experience Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Amit Singh 5,306 Reputation points
    2023-05-09T04:39:37.29+00:00

    Check to ensure the secure boot is turned on & legacy boot is turned off, and try again.

    Also check this article for help - https://learn.microsoft.com/en-us/troubleshoot/mem/configmgr/os-deployment/osd-task-sequence-fails-error-80070005


  2. Simon Ren-MSFT 40,341 Reputation points Microsoft External Staff
    2023-05-09T05:52:57.9866667+00:00

    Hi,

    Thank you for posting in Microsoft Q&A forum.

    1,The error 0x80070005 means "Access is denied". Which user you are using to join domain, does the user have correct permissions?

    2,Please help check the c:\windows\debug\netsetup.log (detailed logging of join attempt) and c:\windows\setuperr.log (errors only) to see if there is any further information.

    Thanks for your time. Have a nice day!

    Best regards,

    Simon


    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.


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.