Share via

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 development | Windows App SDK
Windows for business | Windows Client for IT Pros | Devices and deployment | Set up, install, or upgrade
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments

4 answers

Sort by: Most helpful
  1. 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

    Was this answer helpful?

    1 person found this answer helpful.

  2. 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 ??

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  3. AllenLiu-MSFT 49,441 Reputation points Microsoft External Staff
    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://learn.microsoft.com/en-us/answers/questions/602705/windows-sim-can39t-create-catalog-for-win10-21h2.html

    Was this answer helpful?


  4. AllenLiu-MSFT 49,441 Reputation points Microsoft External Staff
    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.


    Was this answer helpful?

    0 comments No comments

Your answer

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