Cannot deploy Windows 10 21H2

Matthew Lane 11 Reputation points
2021-12-09T16:12:56.473+00:00

When creating a new task sequence using the latest Windows 10 21H2 Enterprise
Right click the newly created task sequence > Os info > edit unattend.txt (which runs)

Import-Module "C:\Program Files\Microsoft Deployment Toolkit\bin\MicrosoftDeploymentToolkit.psd1"
get-MDTOperatingSystemCatalog -ImageFile "D:\MDTDeployment\Operating Systems\Windows 10 Enterprise x64\Sources\install.wim" -Index "3" -Verbose

Get the following (not copied everything but)
Performing the operation "generate" on target "Catalog".
Starting: "C:\Program Files\Microsoft Deployment Toolkit\Bin\Microsoft.BDD.Catalog40.exe" "D:\MDTDeployment\Operating Systems\Windows 10 Enterprise x64\Sources\install.wim"

PROGRESS: 69: Cleaning up...
ERROR: Unable to generate catalog on D:\MDTDeployment\Operating Systems\Windows 10 Enterprise x64\Sources\install.wim: System.InvalidOperationException: The operation failed to complete. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NotImplementedException: The method or operation is not implemented.at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) blah blah

I have tested with older versions of Operations System such as Windows 10 Enterprise LTSC 2019 an can edit clicking the edit unattend.xml that fine so its just new OS's that are having the issue.

When trying to deploy the task sequence via a usb key I get the following Error
Failed to run the action: Install Operating System.
Unknown Error (Error: 000015FB; Source: Unknown)

Is there a new version of Windows 10 ADK that supports Windows 10 21H2

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
748 questions
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).
850 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,919 questions
0 comments No comments
{count} vote

4 answers

Sort by: Most helpful
  1. Matthew Lane 11 Reputation points
    2021-12-10T10:52:55.007+00:00

    It was using the latest version of ADK it worked for LTSC 2019 and windows 10 21H1 but not for Windows 10 21H2.

    I have just uninstalled the 2004 ADK and have installed the windows 11 ADK & PE files (updated my deplotment share)
    Created a new standard client task sequence and selected the windows 10 Enterprise wim file.
    Right Click Properties > OS info > Edit unattend.xml

    the and get the following error

    ERROR: Unable to generate catalog on D:\MDTDeployment\Operating Systems\Windows 10 Enterprise x64\Sources\install.wim: System.InvalidOperationException: The operation failed to complete. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NotImplementedException: The method or operation is not implemented. blah blah

    Click ok and get

    Unable to edit the unattend.xml for this OS because no catalog could be located or generated.

    So still not working. with the latest ADK

    The reason I uninstalled the old WADKs to install the windows 11 ADKs and PE add=ons is because I found the following Microsoft documentation

    A new Windows ADK is available for Windows 11 that also supports Windows 10, version 21H2.

    Can anyone confirm that they have actually have this working ??

    1 person found this answer helpful.
    0 comments No comments

  2. Matthew Lane 6 Reputation points
    2021-12-17T12:03:48.113+00:00

    Sorry for the delayed response. I ended up building a new Windows Server 2019 machine. Installed the windows 11 ADK, Installed the Windows 11 Pe Tools. Installed the latest version of MDT (Deployment Workbench). extracted MDT_KB4564442, and copied to %ProgramFiles%\Microsoft Deployment Toolkit\Templates\Distribution\Tools (x64 / x86)

    recreated build and capture task sequence
    recreated deploy task sequence

    Tested build and capture and deploy successfully. (my old server was server 2012 and was originally used for win7 which has been upgraded over the years. (cant say what resolved it as I ended up building a new server. (it took a few days but now I have a working MDT building windows 10 21H2.

    Thanks Matt

    1 person found this answer helpful.

  3. AllenLiu-MSFT 42,511 Reputation points Microsoft Vendor
    2021-12-10T07:50:24.043+00:00

    Hi, @Matthew Lane
    Thank you for posting in Microsoft Q&A forum.

    The latest version of ADK for windows 10 is 2004, what's the ADK version are you using?


    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.


    0 comments No comments

  4. AllenLiu-MSFT 42,511 Reputation points Microsoft Vendor
    2021-12-13T08:19:46.177+00:00

    Hi, @Matthew Lane

    Try to extract the catalog on a Windows 10 desktop using ADK 2004 to see if it helps.
    https://video2.skills-academy.com/en-us/answers/questions/602705/windows-sim-can39t-create-catalog-for-win10-21h2.html