HTA Support in SCCM Boot Images

Want to have HTA support in your SCCM 2007 SP2 boot images (with WinPE 3.0), but don’t want to implement MDT 2010?  Follow these short instructions to get yourself on your way!  When doing this for the first time, I recommend using a copy of the boot.wim and not your production boot.wim!!

The general process for doing this:

  1. Ensure you have installed the WAIK for Windows 7
  2. Mount the base image by using the DISM tool to a local directory share. For example,
    Dism /Mount-Wim /WimFile:C:\winpe_x86\winpe.wim /index:1 /MountDir:C:\winpe_x86\mount
  3. Add packages, and language packs as appropriate by using the Dism command with the /Add-Package option. For example, to add the HTA package you must add both the language neutral package along with the language specific package. For example:
    Dism /image:C:\winpe_x86\mount /Add-Package /PackagePath:”C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\WinPE-HTA.cab”

     Dism /image:C:\winpe_x86\mount /Add-Package /PackagePath:”C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\WinPE-HTA_en-us.cab”
  4. Commit the changes using the Dism command with the /Unmount-Wim /Commit option. For example,
     Dism /Unmount-Wim /MountDir:C:\winpe_x86\mount /Commit
  5. Import the .wim into SCCM and, voila, you now have a boot image with HTA support!

Reference: http://technet.microsoft.com/en-us/library/dd799244.aspx

About these ads

,

  1. #1 by Patrick Moons on May 30, 2011 - 3:41 am

    Thanx for this usefull information, i dislike the MDT2010 wizards and would like to use my own hta in my sccm task sequence. When i follow your procedure it returns a succesfull update boot.wim file, i can even import it in SCCM as a Custom boot image. I added a network driver via SCCM and enabled command support (no issues here) But when i want to boot my task sequence from this new boot image, i get Failed to run task sequence (0×80091007) . The only differece is the boot image. :( The architecture is correct (x86) I don’t get it. There is also no task sequence log i can view. Any ideas?

    • #2 by Nicolas Moseley on May 31, 2011 - 2:38 pm

      Just a quick Bing search on the error code says that it’s related to hash error or package content mismatch. If you didn’t already do it, make sure to update your distribution points after the changes you made by adding drivers and enabling command support.

  2. #3 by Patrick Moons on June 1, 2011 - 7:26 am

    Yep that did it, i update the distribution points and it booted. Thanx a lot :)

  1. HTA BackEnd Script for OSD « t3chn1ck
  2. OSD Options Chooser v2 « t3chn1ck
  3. Creating New SCCM Boot Images from WAIK « t3chn1ck

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 59 other followers

%d bloggers like this: