Failed to deploy Windows 10 22H2 using MDT

sgit 61 Reputation points
2024-10-21T18:05:09.4933333+00:00

We are using MDT build 8456 to deploy client OS. It works for earlier versions, but failed on Windows 10 22H2. We get a failure 5627 0x80004005 on the deployment screen.

When I tried to troubleshoot, I found it's unable to edit the unattend.xml file for the image, got below error:

ERROR: Unable to generate catalog on E:\DeploymentShare\Operating Systems\Win10 22H2\Win10 22H2.wim: System.ComponentModel.Win32Exception (0x80004005): The process cannot access the file because it is being used by another process

at Microsoft.ComponentStudio.ComponentPlatformInterface.WimImageInfo.PreCreateCatalog()

at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageInfo.CreateCatalog()

at Microsoft.BDD.Catalog.Program.DoCatalog()

Any help would be highly appreciated!

Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
904 questions
0 comments No comments
{count} votes

Accepted answer
  1. Simon Ren-MSFT 35,386 Reputation points Microsoft Vendor
    2024-10-22T02:17:55.5166667+00:00

    Hi,

    Thank you for posting in Microsoft Q&A forum.

    1,The failure 5627 0x80004005 is a general error that means something is wrong. Please help check the smsts.log and bdd.log to see if there is any further information.

    2,Please refer to below article, replace the Microsoft.BDD.Utility.dll file in the MDT installation path and in all existing deployment shares:

    Windows 10 deployments fail with Microsoft Deployment Toolkit on computers with BIOS type firmware

    Then select the Deployment Share and choose the Update Deployment Share option, choosing to completely regenerate the boot image. Also update the boot image in your WDS or media.

    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.


0 additional answers

Sort by: Most helpful

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.