Skip to content

Commit b664f7e

Browse files
committed
Merging changes synced from https://github.com/MicrosoftDocs/memdocs (branch main)
2 parents a90b54c + 2ac5c0c commit b664f7e

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

memdocs/configmgr/mdt/known-issues.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,44 @@ ms.collection: openauth
1616

1717
This article provides details of any current known issues and limitations with the Microsoft Deployment Toolkit (MDT). It assumes familiarity with MDT version concepts, features, and capabilities.
1818

19+
## HTA applications report Script error after upgrading to ADK for Windows 11, version 22H2
20+
After you updated your MDT boot image to [ADK for Windows 11, version 22H2](/windows-hardware/get-started/adk-install), HTA applications stop working and a message box is displayed: Script Error - An error has occurred in the script on this page.
21+
22+
HTA applications rely on MSHTML and starting with Windows 11, version 22H2, the default legacy scripting engine was changed.
23+
24+
To work around this issue you need to add the following registry value in WinPE:
25+
```
26+
reg.exe add "HKLM\Software\Microsoft\Internet Explorer\Main" /t REG_DWORD /v JscriptReplacement /d 0 /f
27+
```
28+
To enable this change in MDT, we recommend that you back up the following file: `C:\Program Files\Microsoft Deployment Toolkit\Templates\Unattend_PE_x64.xml` and to modify it as follows:
29+
``` <?xml version="1.0" encoding="utf-8"?>
30+
<unattend xmlns="urn:schemas-microsoft-com:unattend">
31+
<settings pass="windowsPE">
32+
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
33+
<Display>
34+
<ColorDepth>32</ColorDepth>
35+
<HorizontalResolution>1024</HorizontalResolution>
36+
<RefreshRate>60</RefreshRate>
37+
<VerticalResolution>768</VerticalResolution>
38+
</Display>
39+
<RunSynchronous>
40+
<RunSynchronousCommand wcm:action="add">
41+
<Description>Lite Touch PE</Description>
42+
<Order>1</Order>
43+
<Path>reg.exe add "HKLM\Software\Microsoft\Internet Explorer\Main" /t REG_DWORD /v JscriptReplacement /d 0 /f</Path>
44+
</RunSynchronousCommand>
45+
<RunSynchronousCommand wcm:action="add">
46+
<Description>Lite Touch PE</Description>
47+
<Order>2</Order>
48+
<Path>wscript.exe X:\Deploy\Scripts\LiteTouch.wsf</Path>
49+
</RunSynchronousCommand>
50+
</RunSynchronous>
51+
</component>
52+
</settings>
53+
</unattend>
54+
```
55+
After saving the changes, you will need to completely regenerate the boot images.
56+
1957
## Windows Deployment Services (WDS) multicast stops working after upgrading to ADK for Windows 11
2058

2159
<!-- 12891430 -->

0 commit comments

Comments
 (0)