Partager via


MDT 2010 Update 1: Added Support for ConfigMgr R3 Prestaged Media

In MDT 2010 (and earlier versions), we provided some task sequence templates to perform what we called an “OEM preload” scenario, where you could send a disk image to an OEM for them to preload on each new machine they manufactured for you.  But due to some limitations in ConfigMgr (and our requirement to not do anything in MDT that isn’t supported by the ConfigMgr team), we had to do this in a less-than-optimal way.  We ended up with two task sequences:

  • One to set up the disk image
    • Format and partition the disk.
    • Apply the OS image.
    • Stash away various task sequence variable values to be restored later, so that the second task sequence can work, recognizing what’s already on the drive.
  • One to customize and boot into what’s already on the disk
    • Restore the stashed-away variables.
    • Apply patches and drivers offline.
    • Customize the OS settings (computer name, domain, etc.)
    • Install applications, software updates, etc.
    • Restore user state (for a computer replacement).

Because of the product limitations, there was no way to do this with a single task sequence.  And there was no way to initiate the second task sequence without a boot CD or using PXE.  That meant that the first task sequence would intentionally leave the disk unbootable (no partitions active) to ensure that the second task sequence was initiated next.  It worked and was supportable, but it wasn’t very pretty.

Fortunately, the ConfigMgr team was able to come up with a better solution in ConfigMgr R3 that they call “prestaged media”.  Using that, you can use a single standard task sequence to do this whole process.  The “create media” wizard now lets you create one large WIM file that contains both a boot image and an extracted OS image package, and that can be staged to the hard drive.  When that hard drive then boots, it contacts the MP and runs whatever task sequence you choose.  When that task sequence gets to the “Apply Operating System” step, it knows that the OS is already on the hard drive and just exits.  For more details on this whole scenario, see John Vintzel’s post at https://blogs.technet.com/b/inside_osd/archive/2010/04/29/prestaged-media-in-configuration-manager-r3.aspx.

So, back to the topic at hand:  What did we need to do to the MDT task sequence templates for ConfigMgr in order to support this new ConfigMgr R3 “prestaged media” capability?  It was almost embarrassingly simple:  We need to modify the “Format and Partition Disk” steps so that they wouldn’t execute if we were running from the disk.  This is a simple enough check to see if the task sequence variable “_SMSTSMediaType” is set to “OEMMedia”.  If it is, the formatting is always skipped so that the prestaged hard drive content is preserved.

That’s it – no other changes were needed in MDT 2010 Update 1 to support ConfigMgr R3.

(10595)

Comments

  • Anonymous
    January 01, 2003
    MDT Lite Touch includes support for creating media, as well as an "OEM" task sequence to then stage that media onto a hard drive.  That's roughly equivalent of the ConfigMgr R3 prestaged media functionality.

  • Anonymous
    July 22, 2010
    The comment has been removed

  • Anonymous
    September 05, 2010
    So this task sequence really isn't FOR OEMs. It's for people who are sending images TO OEMs. I wish this would have been made clearer in the task description. Wasted at least an hour updating media only to find this out... The MDT seems to have potential... but figuring out how to get to work it is mind numbing.  Reading the Microsoft documentation for MDT has me more confused now than when I started.

  • Anonymous
    May 10, 2012
    Can MDT create the wims necessary for prestaged media, or is SCCM required?  We use use SCE, so the SCCM integration isn't available. (It stinks that SCE is the perfect sized and priced product for our organization, but is missing so much of the functionality.  And that there's no upgrade path, cost/licensing wise, from SCE to SC Suite or SC2012.)

  • Anonymous
    July 16, 2015
    any update to this posting for CM2012 ?