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.
Comments
Anonymous
July 17, 2009
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?Anonymous
July 17, 2009
It does not replace MDT, it adds two pieces to it: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.Script also changes TaskSequenceID=<what it finds in the registry> I think I need to do a video demo, what do you think?Anonymous
July 17, 2009
Hi Alex,A Demo video will be more than welcome :)Congrats for your post.Anonymous
June 26, 2010
Hi Alex,How can I do parallel builds using this script, also do you have flow chart of the logic which gets executed ?Anonymous
August 02, 2010
I have installed and configured everything in the Word doc. How do I start this process?Anonymous
April 28, 2014
Alexey-Can this solution work with MDT 2013? Please advise. Thanks!