MDT 2012 Update 1: Always applying images with ImageX


Another change you might notice in MDT 2012 Update 1 is that Lite Touch deployments never use SETUP.EXE.  That doesn’t result in any real change in functionality, as we still do the equivalent steps:

  • Applying the image using ImageX.exe.
  • Servicing the image using DISM, which injects drivers, software updates, language packs, etc.
  • Creating a BCD entry to boot the operating system using BCDBoot.exe.

So then the question becomes “why”.  Well, there are a few reasons:

  • Running Windows 7’s SETUP.EXE doesn’t quite work when using Windows PE 4.0 from the Windows 8 Assessment and Deployment Kit (ADK).
  • Some complex multiple disk scenarios (more common on servers) could result in errors during installation; similar errors don’t happen when using ImageX.
  • It’s no longer necessary to use SETUP.EXE.  With Windows Vista and its INSTALL.WIM, you couldn’t apply the WIM directly because the drive letter of the image (D:) was different from the drive letter of the machine (C:).
  • It’s a little faster Smile

So does that mean you never need to import full operating system files?  Not quite.  They are still needed in these situations:

  • When installing Windows XP or Windows Server 2003 from source files.
  • When installing Windows Vista or Window Server 2008 from the original source files (using INSTALL.WIM), because of the drive letter change issue described above.
  • When adding the .NET 3.5 feature to a Windows 8 or Windows Server 2012 installation (more on that in a later blog).

In MDT 2012, we used SETUP.EXE as the primary installation method, but would fall back to ImageX if SETUP.EXE wasn’t available.  Now with MDT 2012 Update 1, the default is to use ImageX.

p.s.  ConfigMgr 2012 SP1 will also prefer using image packages instead of install packages for the same basic reasons.

Comments (20)
  1. No, those changes are for Lite Touch only, not ConfigMgr.  The challenge with ConfigMgr 2012 is specifically with the SP1 beta.  We are still discussing that with the ConfigMgr team to see if that is something they can fix.

  2. In the case of Windows Vista, we will still use SETUP.EXE when we find it.  This is required when using the INSTALL.WIM directly, so always import the full source files with that.

    Otherwise, MDT will fall back to using ImageX even with Windows Vista, but this should only be attempted with custom WIMs.

  3. "Deprecated" doesn't mean unsupported.  You can continue to use ImageX with Windows 8.  MDT chose to do this just to avoid some additional testing from needing to support both DISM and ImageX in the MDT scripts.

    Future versions will likely use DISM only, as Windows AIK falls out of favor.

  4. Sorry, no, the $OEM$ logic is tied to using SETUP.EXE so it won't work when using ImageX to apply the image.  The workaround would be to add steps to the task sequence to XCOPY the content to the needed location.

  5. NeighborGeek says:

    Thanks for the response.  I did find a blog post from Johan yesterday that seems to address the issue.  By changing the OSDPreserveDriveLetter variable to True, the deployment now successfully assigns the drive letter C to the system disk.  Now the only question is what ELSE might that change affect?

  6. Julien Darakdjian says:

    Is the $oem$ fonctionnality is maintained with the imagex wim apply process ?

  7. >Is the $oem$ fonctionnality is maintained with the imagex wim apply process ?

    I've the same question.

  8. Sarah CJY says:

    Hi Michael,

    I tried the Windows 7 product CD with answer file and $oem$ folder, they all worked very well and the data in $oem$ folder were automatically copied to local HDD. (Tool: AIK; answer file and $oem$ folder were located in USB flash drive)

    Now, I try to use the Windows 8 system but I can't use $oem$ folder to copy what I want to local HDD anymore. (Tool: ADK; answer file and $oem$ folder were located in USB flash drive)

    Could you help to expain or clarify the phenomena? Thank you so much!

  9. YPae says:

    Can you explain more about "•When adding the .NET 3.5 feature to a Windows 8 or Windows Server 2012 installation (more on that in a later blog)"?

    Thanks,

  10. Tony Dumas says:

    So if we still have to support Vista installations, should we stick to using a previous version of MDT (2010 Upd1) or should it still work normally under MDT 2012 Upd1?

  11. Todd says:

    So if we only have the ADK installed why does MDT 2012 still use imagex when it clearly states in the ADK docs that imagex is deprecated (even thought it's still there for some unknown reason)? This doesn't make things very clear.

    I've also noticed that DISM doesn't support a method of setting the "/FLAGS" of a captured image but MDT 2012 still uses this for capturing an image. This is very handy functionality too for captured images.

  12. julien says:

    Dear Michaels,

    thank you so much for the post, i have a questions, i have multiplie OEM $$ folder and i have created the step on the Task squence to copy the OEM folder to the windows, hoewver when it install, it doesn't copy the OEM file to the proper location,

    can you advise what i am doing wrong?

    thank you

  13. Derek Poon says:

    I cannot deploy Windows Server 2008 custom wim with MDT2012, as when the install OS sequence, Windows Vista's setup.exe is called and the task sequence then fails.

  14. Steve says:

    I've just built and captured a new 'base image' using MDT 2012 update 1 for deployment to our win7 workstations.  When I deploy this image from a test server running sccm 2012 sp1 beta, it assigns the system drive to D:.  

    Could this be a result of this change in mdt to not use the Windows 7 setup routine when building the base image?

  15. cosy says:

    Hi Michael,

     How do we  deploy Multi Partition ( C: & D) new image to current PC's, I mean deployment type is REFRESH?

    AS

  16. Jan Ruppert says:

    I need to apply a second .WIM file (it is present in the unattend.xml), but this does not work with imagex instead of setup.exe.

    So Q: How do I add a data.wim as second image during deployment.

  17. showbox says:

    Thanks for the great info. I really loved this. I would like to apprentice at the same time as you amend your web site, how could i subscribe for a blog site?
    For more info on showbox please refer below sites:
    http://showboxandroids.com/showbox-apk/
    http://showboxappandroid.com/
    Latest version of Showbox App download for all android smart phones and tablets.
    http://movieboxappdownloads.com/ – It’s just 2 MB file you can easily get it on your android device without much trouble. Showbox app was well designed application for android to watch movies and TV shows, Cartoons and many more such things on your smartphone.
    For showbox on iOS (iPhone/iPad), please read below articles:
    http://showboxappk.com/showbox-for-ipad-download/
    http://showboxappk.com/showbox-for-iphone/
    Showbox for PC articles:
    http://showboxandroids.com/showbox-for-pc/
    http://showboxappandroid.com/showbox-for-pc-download/
    http://showboxforpcs.com/
    There are countless for PC clients as it is essentially easy to understand, simple to introduce, gives continuous administration, effectively reasonable. it is accessible at completely free of expense i.e., there will be no establishment charges and after establishment
    it doesn’t charge cash for watching films and recordings. Not simply watching, it likewise offers alternative to download recordings and motion pictures. The accompanying are the strides that are to be taken after to introduce Showbox application on Android.
    The above all else thing to be done is, go to the Security Settings on your Android telephone, Scroll down and tap on ‘Obscure sources’.

  18. aw says:

    hai, I just want to tell you that I am just very new to blogs and seriously loved this website. More than likely I’m planning to bookmark your blog post .
    You amazingly come with really good posts. Thanks a lot for sharing your blog Microsoft.

    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Komunikasi
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Listrik
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Management%20Trainee
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Manajemen
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Marketing
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Mekanik
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Mesin
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Metro%20TV
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Negeri
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Online
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Online%20Terbaru
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Oto
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Otomotif
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Pegawai%20Negeri
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Pendidikan
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Penerbangan
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Perawat
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Perikanan
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Perkapalan
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Perpustakaan
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Persero
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Pertamina
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Pertanian
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Peternakan
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Polisi
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Polwan
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Pramugari
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Programmer
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Psikologi
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20PTN
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20PTS
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Reporter
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20S1
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20S2
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Sales
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Sastra
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Sekretaris
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Semua%20Jurusan
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Serang
    http://www.lokerjobindo.com/search/label/Lowongan%20Kerja%20Serpong

Comments are closed.