MDT w/Win11 22H2 ADK, WinPE

Benninghouse, John D - DOT 15 Reputation points

I have installed the Windows 11 22H2 ADK and WinPE add-on to our MDT environment. (8456) I have applied the May 2023 security update to the winpe.wim.

I am running into the error described under "HTA applications report Script error after upgrading to ADK for Windows 11, version 22H2" at:

I have modified the unattend.xml we use (we put a custom one into the wim by placing it at \DeploymentShare\ExtraFiles\x64) to put the value specified into the registry. Still, .wsf files throw up a scripting error:

"The value for the attribute is not valid: language"

When the error appears, I go into the Registry Editor and can see that the value has been set.

Has anyone else seen this? Know of a workaround?


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).
738 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
6,723 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. XinGuo-MSFT 10,391 Reputation points


    Unfortunately, MDT doesn't support Windows 10 ARM64 devices, Windows 11 and Windows Server 2022 operating systems.

    And you can opt to other deployment tools, such as Configuration Manager.


    0 comments No comments

  2. Benninghouse, John D - DOT 15 Reputation points

    These are AMD64 devices, not ARM64. But moving away from MDT is on the radar.



    0 comments No comments

  3. Benninghouse, John D - DOT 15 Reputation points

    It looks like the September WinPE update has removed support for VBScript hosting.

    See here:


    0 comments No comments

  4. XinGuo-MSFT 10,391 Reputation points

    Yes, you are correct. Windows removed support for VBScript, MDT isn't supported with Windows 11 or the ADK for Windows 11.