SCCM Use HTA To Set Task Sequence Variables

2011-06-21 / Configuration Manager, Desktop / 5 Comments


I configured a task sequence to begin deployment of Windows 7 via USB thumb drives which are given to the techs. I wanted them to be able to install optional software at the time of deployment.



Using Groups within the Task Sequences assigned variables gave me the best method of doing so. I created a front end HTA to allow the techs 1. set the PC name 2. add any additional software that the user might have had on their XP or replaced PC.

1.Mount current boot.wim file and then add HTA packages (if you dont already have HTA support)

Dism /image:c:\mountedwim /Add-Package /PackagePath:”C:\Program Files\Windows AIK\Tools\PETools\%Architecture%\WinPE_FPs\”
Dism /image:c:\mountedwim /Add-Package /PackagePath:”C:\Program Files\Windows AIK\Tools\PETools\%Architecture%\WinPE_FPs\en-us\”

2. Refresh/update boot image in SCCM

3. Configure Task Sequences to launch HTA

4. Configure groups with Task Sequence Variables

5. Configure HTA file
(right click and save-as a text file and then rename to .hta once downloaded)
modify it to match your task sequence variables and the correct value it should be.
Keep in mind this will throw an error when not in the WinPE environment.

6. Deploy Image to USB Drive
No need to set variables on the Task sequence itself. When the image boots up and begins task sequence the HTA will run and prompt for check boxes and computer name value.

Read More

Atheros AR5007 with WPA WPA2 Issues

2011-06-17 / Desktop / 7 Comments


After much troubleshooting it appears that Atheros AR5007 would not connect to any network with WPA/WPA2 encryption.


I had to download an Atheros driver that was not listed on the Laptop Manufactures website. I found the driver at

This driver is listed at and works with Vista 64 Bit. I have not tried it on other versions because I have no need to try.

Read More