Images Builder


UPDATE 01/29/2013:

  • I’m no longer using Windows service and srvany, I recommend to use standard Windows Tasks Scheduler.
  • Now you can restart the script anytime and it will do all needed cleanup work – will shut down the VM, clean up the environment, etc. So basically, you just stop and start the task in Windows Task Scheduler and that’s it.
  • There was a bug, when you build more then one image a day, it won’t be able to save a backup copy and fail. Resolved by adding date/time part to the backup file name

 

 

 

This is a script that works with Hyper-V and MDT and automatically builds WIM images for you. It uses MDT 2010 with fully unattended Task Sequences and saves captured WIM file to any location, which can be SCCM OSD source of OS image. Now your image build process becomes “set it and forget it” solution, and if you enable Windows Update steps in the standard Task Sequence, you will be getting all latest patches from Microsoft when you build your reference images.

 

 

Images Builder.zip

Comments (6)

  1. mmarable says:

    Maybe I’m missing something, but this type of "end to end" image development has been possible since at least MDT 2008.  I’ve been doing "set it and forget it" generation of images for almost 2 years now.

    What is special about this package?

  2. alexsemi says:

    It does not replace MDT, it adds two pieces to it:

    1. Hyper-V controller – script turns on virtual machine, handles boot CDs with the right architecture, waits when the image is captured and turns the machine off. Then repeats it for the next Task Sequence.
    2. Script also changes TaskSequenceID=<what it finds in the registry>

    I think I need to do a video demo, what do you think?

  3. Cleber Marques says:

    Hi Alex,

    A Demo video will be more than welcome 🙂

    Congrats for your post.

  4. Anonymous says:

    Hi Alex,

    How can I do parallel builds using this script, also do you have flow chart of the logic which gets executed ?

  5. Anonymous says:

    I have installed and configured everything in the Word doc. How do I start this process?

  6. Anonymous says:

    Alexey-

    Can this solution work with MDT 2013?  Please advise.  Thanks!