HTA BackEnd Script for OSD

This post has been updated with new code. 

Please visit OSD Options Chooser v2

There are plenty of examples out there for how to get the most out of Task Sequences for SCCM 2007 OS deployment.  But I wasn’t motivated to find out how others were doing it…Until I saw a demonstration by Jarvis Davis that he presented at MMS 2009. 

From that I built my own custom HTML Application to do what I needed.  At the moment, I have not enabled HTA support in my WinPE boot images.  So the below example is purely a “BackEnd” script which simply means that it needs to run at the towards the end of the Task Sequence so that the end-operator (or end-user) does not need to wait for much of the imaging to complete.

This HTA does the following

  • Field to enter in the name of user to add into the local Administrators group
  • Selection for US time zone to configure Windows to use (defaults to MST, since that is where I am)
  • Option to install one of 6 flavors of Adobe Acrobat
  • Option to install one of 2 flavors of Project 2003
  • Option to install one of 2 flavors of Visio 2003
  • Option to install BlackBerry desktop
  • Option to install Streets and Trips 2006

Additional things to note

  • In order to add a domain user to your local admins group, the value sDomainName = “YourDomainName” must be filled in appropriately.
  • All activity is logged into C:\CustomSystemOptions.log
  • If one of the options to install software is selected, a Task Sequence variable is created and set to True.  To utilize this, you would need to have an Install Software task that is limited to only install of the corresponding variable is set to True.  Note: the Install Software task must be after the execution of the HTA!
About these ads

, ,

  1. #1 by Jarvis on May 20, 2009 - 6:02 pm

    Nick,
    Glad my demo at MMS was helpful to you. Looks like you did some good expanding on my script.

    If you come to MMS next year, look me up. I’d love to meet you.

    Jarvis
    verbalprocessor.com

  2. #2 by Karl on November 29, 2010 - 8:04 am

    Does it exist an HTA to install machines let’s say with the choice of ‘task sequence name’ and where you can put the name of the machine that it must have and it’s mac address?

    • #3 by Nicolas Moseley on November 29, 2010 - 8:52 am

      I think you are asking how to have a task sequence prompt for a computer name. See http://t3chn1ck.wordpress.com/2009/04/24/script-to-prompt-for-system-name-in-sccm-osd/

      • #4 by Karl on November 29, 2010 - 9:15 am

        Not exactly, I tested your OSDComputername scripts in the past which works great but I’m looking for something different.
        I need to create a website that is accessible on our LAN and where the user(basic technician) has to put a computername and the mac adddress of the machine and where he can choose a task sequence to install on it.

        I know it’s possible but I don’t know how…

      • #5 by Nicolas Moseley on November 29, 2010 - 11:03 am

        Unfortunately this is not a good solution for your needs. For the best possible help on your scenario, I would utilize MyITForum as there are many people with great ideas who can all help contribute.

  1. Customize OSD deployments in SCCM « Sysadmin Blog

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 )

Google+ photo

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

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 94 other followers

%d bloggers like this: