Forum Discussion
WinPE 19041 HTA problems
Hi 🙂
I'm banging my head against the wall here, hope someone can help.
I'm not sure where else to ask.
ADK 2004 installed with PE add-on. A simple iso with a VERY basic HTA in IE9 mode (IE10 and 11 is the same). The HTA displays, but the text input field is not editable. Going back to IE8 mode (or below) works, but is very limited in other aspects.
Here are the steps used to re-create the problem, I boot a VM with the iso to test
copype amd64 C:\WinPE_x64
dism.exe /mount-wim /wimfile:"c:\winpe_x64\media\sources\boot.wim" /index:1 /mountdir:"c:\winpe_x64\mount"
dism.exe /image:"C:\WinPE_x64\mount" /add-package /packagepath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-HTA.cab"
dism.exe /image:"C:\WinPE_x64\mount" /add-package /packagepath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-Scripting.cab"
(echo ^<head^>
echo ^<HTA:APPLICATION ^/^>
echo ^<meta http-equiv=^"x-ua-compatible^" content=^"ie=9^" ^/^>
echo ^</head^>
echo ^<body^>
echo ^<input type=^"text^"^>
echo ^</body^>
echo ^</html^>) > "C:\WinPE_x64\mount\SampleHTA.hta"
echo X:\SampleHTA.hta >> "C:\WinPE_x64\mount\Windows\System32\Startnet.cmd"
dism.exe /unmount-wim /mountdir:"C:\WinPE_x64\mount" /commit
MakeWinPEMedia /ISO C:\WinPE_x64 C:\Temp\WinPE.iso
Just tested the latest insider ADK 20241 - https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewADK
It works! 🙂
13 Replies
- NorrlandCopper Contributor
Hi Dennis!
We are experiencing the same problem regarding text input field in our HTA.
Have you found any solution?
Best Regards!
/Joachim
- DennisThelinCopper ContributorI'm afraid it is a bug that needs to be fixed in the next ADK release. 20H2 does not bring new one to the table, so next year seems to be the only possibility for a fix. (21H1 ADK perhaps?)
But please post here if you do find a solution 🙂- Lukas-182Copper Contributor
DennisThelinHi Dennis. Yes, I have the same issue after upgrade ADK 1803 to 2004 - the input field does not work I cannot even click or write something there. I do not have a solution. I do not have any idea how to solve the problem the only thing I could come is replace HTA packet from 1803 to 2004 in WIM File (using DISM) but I do not think it is a good idea ;/
- Smith_JBrass Contributor
Set up your hard drive before installing Windows.
Install Windows by using apps or scripts from a network or a local drive.
Capture and apply Windows images.
Modify the Windows operating system while it's not running.
Set up automatic recovery tools.
Recover data from unbootable devices.
Add your own custom shell or GUI to automate these kinds of tasks.
- MaxPetersenCopper Contributor
We experience the same issue after updating our boot images with the latest WinPE.
All input fields in our HTA for prestaging computers are no longer editable.
- DennisThelinCopper ContributorThanks! At least I'm not alone 🙂
I did a lot of different tests, adding more packages, adding 2004 updates (only three available), adding language packs, different order of the cab files but the result is always the same.
- DennisThelinCopper Contributor
ADK 19624 does the same thing (Insider Preview version).
ADK 18362 works fine (ADK 1903).