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:
- Ensure you have installed the WAIK for Windows 7
- 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
- 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”
- Commit the changes using the Dism command with the /Unmount-Wim /Commit option. For example,
Dism /Unmount-Wim /MountDir:C:\winpe_x86\mount /Commit
- 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
May 30, 2011 at 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 (0x80091007) . 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?
May 31, 2011 at 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.
June 1, 2011 at 7:26 am
Yep that did it, i update the distribution points and it booted. Thanx a lot :)
June 1, 2011 at 7:27 am
Great!!
August 22, 2011 at 7:57 am
[…] in OSD, check out the following post for enabling HTA support in the default SCCM boot images. https://t3chn1ck.wordpress.com/2010/01/28/hta-support-in-sccm-boot-images/ Advertisement GA_googleAddAttr("AdOpt", "1"); GA_googleAddAttr("Origin", "other"); […]
September 22, 2011 at 3:15 pm
[…] Also, remember to enable HTA support in your boot images – https://t3chn1ck.wordpress.com/2010/01/28/hta-support-in-sccm-boot-images/ […]
May 12, 2012 at 8:53 am
[…] I recently needed to create a new boot image from scratch for use in SCCM to support a Windows 7 migration. Typically I would create a boot image from scratch, but at one point an SCCM admin had deleted the default boot images and created their own, which I couldn’t trust were created properly. So I copied winpe.wim from the installation directory of WAIK and then proceed with my custom process of adding HTA support into the boot image. […]
June 6, 2013 at 11:24 am
[…] Remember to enable HTA support in your boot images – https://t3chn1ck.wordpress.com/2010/01/28/hta-support-in-sccm-boot-images/ […]
December 20, 2013 at 8:22 am
Great article mate. Does that also work for the latest ConfigMgr 2012 R2 with the latest Windows PE from the latest ADK?
December 20, 2013 at 9:40 am
No there is a newer built in process starting with 2012