MDT script error

taya taya 240 Reputation points
2024-04-29T17:20:38.4033333+00:00

I'm getting the script error continuously after upgrading to the new Windows 11 ADK. After the deployment wizard appears, I can see the task sequence list, but then below error will appear:

Script Error - An error has occurred in the script on this page.

Do you want to continue running scripts on this page?

What's wrong with this Windows ADK?

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).
835 questions
0 comments No comments
{count} votes

Accepted answer
  1. w raspe 306 Reputation points
    2024-04-29T22:09:05.95+00:00

    Hi @taya taya

    I had the same issue, there is some bug in the latest version of ADK.

    I tested it out and version 2004 still works better then the september 2023 version and below.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Simon Ren-MSFT 30,676 Reputation points Microsoft Vendor
    2024-04-30T02:06:35.82+00:00

    Hi,

    Thank you for posting in Microsoft Q&A forum.

    1,As @w raspe mentioned, it seems to be a known issue after you updated your MDT boot image to ADK for Windows 11, version 22H2. To work around this issue, you need to add the following registry value in WinPE:

    reg.exe add "HKLM\Software\Microsoft\Internet Explorer\Main" /t REG_DWORD /v JscriptReplacement /d 0 /f

    For more information, please refer to: HTA applications report Script error after upgrading to ADK for Windows 11, version 22H2

    2,MDT doesn't support Windows 11 and Windows Server 2022 operating systems. It's recommended to use SCCM to deploy Windows 11 to client computers. Refer to:

    MDT supported platforms

    Support for Windows 11 in Configuration Manager

    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 comments No comments