Can't make sense of MDT error. Pls help

Fabio Plunser 1 Reputation point
2021-12-05T13:46:35.727+00:00

I'm aiming to setup up a Zero Touch Deployment for complete automatic deploy on many laptops.
Everything works fine and the install iperating system process finishes but after that i get this error and i don't understand the error.
I've tried fixes for the Failure 5616 those didn't help and also Legacy or UEFI network boot doesn't make a difference.

FAILURE(5616):15250: Verify BCDBootEX
Litetouch deployment failed, Return Code = -2147467259 0x80004005
Failed to run the action: Install Operating System.
Unknown error (Error: 000015F0; Source: Unknown )
The execution of the group (Install) has failed and the execution has been aborted. An action failed.
Operation aborted (Error: 80004004; Source: Windows)
Failed to run the last action: Install Operating System. Execution of task sequence failed.
Unknown error (Error: 000015F0; Source: Unkown)
Task Sequence Engine failed! Code:L enExecutionFail
Task sequence execution failed with error code 80004005
SetNamedSecurityInfo() failed.
SetObjectOwner8) failed. 0x80070005.
RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram
GetTsRegValue() is unsuccessful. 0x8070002.
Error Task Sequence Manager failed to execute task sequence. Code 0x80004005

My MDT settings are as follows:
[Settings]
Priority=Default
Properties=MyCustomProperty

[Default]
;LiteTouch or ZeroTouch
;Change SkipComputerName and SkipDomainMembership from NO to YES
;and uncomment OSDComputername and MachineObjectOU to make this ZeroTouch
SkipComputerName=YES
SkipDomainMembership=YES
OSDComputername=PC-#Right("%SerialNumber%",5)#
MachineObjectOU=OU=Desktops,OU=Computers,OU=Home,DC=home,DC=local

;Set local admin details
SkipAdminPassword=YES
AdminPassword=

;Specify the domain to join and credentials
DomainAdmin=Administrator
DomainAdminPassword=password

;Set the task sequence
SkipTaskSequence=YES
TaskSequenceID=0001

;Set the name at the top dynamically
_SMSTSORGNAME=%TaskSequenceName% on %OSDComputername%

;Set the location and time zone
KeyboardLocale=0407:00000407
UserLocale=de-DE
UILanguage=de-DE
TimeZoneName=GMT Standard Time

;Skip screens that arent required
SkipComputerBackup=YES
OSInstall=YES
SkipAppsOnUpgrade=NO
SkipProductKey=YES
SkipUserData=YES
SkipLocaleSelection=YES
SkipTimeZone=YES
SkipApplications=YES
SkipSummary=YES
SkipCapture=YES
SkipFinalSummary=YES
HideShell=YES

;Apply best practice security policies onto the machine
ApplyGPOPack=YES

;Enable Bitlocker Config
SkipBitLocker=YES
BDEInstallSuppress=NO
BDEWaitForEncryption=FALSE
BDEInstall=TPM
BDERecoveryKey=AD

;Set the final action
FinishAction=REBOOT

Bootstrap.ini:
[Settings]
Priority=Default

[Default]

SkipBDDWelcome=Yes
DeployRoot=\PEPPIS-SERVER\DeploymentShare$
UserDomain=MDT.com
UserID=Administrator
UserPassword=password
KeyboardLocale=de_DE

Can anyone Tell me what the error means and how i can fix it?

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. Dan Isaacson 16 Reputation points
    2022-02-10T07:01:39.903+00:00

    I ran into this same error.
    In my case the problem was the computer was booting in legacy BIOS mode and NOT into UEFI mode.
    My Lite Touch (x64).wim and Task Sequence were both expecting everything to be UEFI.
    Solution was to go into the computer's UEFI and switch off Legacy BIOS in the boot menu.

    3 people found this answer helpful.

  2. AllenLiu-MSFT 49,316 Reputation points Microsoft External Staff
    2021-12-06T07:27:12.91+00:00

    Hi, @Fabio Plunser
    Thank you for posting in Microsoft Q&A forum.

    What ADK version are you using?
    If you are using ADK 2004, you may need to patch the KB4564442:
    https://support.microsoft.com/en-us/topic/windows-10-deployments-fail-with-microsoft-deployment-toolkit-on-computers-with-bios-type-firmware-70557b0b-6be3-81d2-556f-b313e29e2cb7

    If you are using an older version of ADK, try the solution in below article:
    https://www.dell.com/support/kbdoc/en-sg/000145255/microsoft-deployment-tools-2013-update-2-contains-a-bug-in-uefi-deployment-sequence
    (Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.)


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    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.