How to get the optional component WinPE-hta working on ARM64 ?

Plruzicka-2828 5 Reputation points
2025-01-03T08:46:52.93+00:00

According to the information in https://zcusa.951200.xyz/en-us/windows-hardware/get-started/what-s-new-in-kits-and-tools#whats-new-in-the-adk-101261002454-december-2024 the support for HTA on Arm64 WinPE as an optional component has been added. But I haven't been able to get it working yet. After installing the WinPE-hta.cab component, the relevant files (e.g. mshta.exe) are not present in Windows PE. The arm64\WinPE_OCs\WinPE-hta.cab file is only 6950 bytes and does not contain any binaries. The prerequisite WinPE-scripting.cab is installed.

Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,959 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,440 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Hania Lian 20,436 Reputation points Microsoft Vendor
    2025-01-06T11:57:17.5433333+00:00

    Hello,

    It sounds like you’re having trouble getting HTA (HTML Application) to work within an Arm64 version of Windows Preinstallation Environment (WinPE). You’ve noted that after installing the WinPE-hta.cab component, the expected files, such as mshta.exe, are missing from the WinPE environment.

    Here are some steps you can take to troubleshoot the issue:

    1、Confirm that the installation of the WinPE-hta.cab component was successful. Check the logs and ensure that the CAB file was properly integrated into your WinPE image.

    2、Since you mentioned that the arm64\WinPE_OCs\WinPE-hta.cab file is small and doesn’t appear to contain any binaries, it’s possible that the CAB file itself is corrupted or missing the necessary components. You might want to download the ADK again and try extracting the CAB file to see what it contains.

    3、Ensure that all prerequisites are met, including the installation of WinPE-scripting.cab. If this CAB is not installed, HTA functionality may not work as expected.

    4、Double-check the process you used to integrate the WinPE-hta.cab into your WinPE image. There might be specific steps or commands required for ARM64 architecture that differ from x86 or x64.

    Best Regards,

    Hania Lian

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  2. Alex ONeill 0 Reputation points
    2025-01-06T21:06:38.2466667+00:00

    Support,

    I noticed the same as original poster. This is affecting the Dec 2024 release of the WinPE ADK Addon. Please have the team responsible for WinPE ARM64 check the actual WinPE-HTA ARM64 CABs included in the download package for the Dec 2024 update. They are valid CAB files complete with a signed security manifest but are completely lacking binaries that actually enable the support of HTA, and the manifest also does not have entries for the correct binaries.

    0 comments No comments

Your answer

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