MDT 2012 New Feature: Gather improvements

Sometimes it’s the little things that most people fail to notice that need some attention.  In this case, we’re talking about new task sequence variables automatically set by the MDT “Gather” process (specifically, the ZTIGather.wsf script).  There are a few new ones in MDT 2012:

  • IsOnBattery.  This will be set to true if the machine is currently running using a battery with no AC power.  This can be useful in any deployment – you really don’t want a computer to turn off because the battery went dead during a deployment.
  • VMHost.  When a virtual machine is running on a Hyper-V server and has the Hyper-V integration components installed, we can determine the name of the Hyper-V server (the VM host) that the VM is running on.
  • VMName.  This also comes from the Hyper-V integration components, telling us the name of the virtual machine in Hyper-V, which might be different than the “computer name” (the name given to the OS) of the VM.

We also made a few other related changes:

  • The “Make” property now detects Xen, in addition to the the other platforms that could be detected in MDT 2010 Update 1 (Hyper-V, VMWare, VirtualBox).
  • We fixed the “SMSDP” property, so it should now always return a valid server name for the ConfigMgr distribution point that the boot image associated with the task sequence came from.  (The task sequence doesn’t have a distribution point, so we had to pick a package that each task sequence should have.)
  • We changed the “OSVersion” property so that it doesn’t generate an error on unknown OSes (e.g. Windows 8).  We don’t plan to add new OSes to the list set by this function, so consider this variable to be “functionally stabilized” and “obsolete”.  It would be better to use OSCurrentVersion or OSCurrentBuild (maybe combined with IsServerOS) instead.
  • We added progress reporting (which works with Lite Touch and ConfigMgr deployments) so that you can see what ZTIGather is doing during the process.  This will be especially useful when you are doing database queries: you’ll be able to see which ones are taking too long.
Comments (6)
  1. Amy.. These are still my errors!!!! says:

    A connection to the deployment share could not be made.…/1c2a306d-e38d-4347-8761-3810513a139e…/4c2a9586-2879-4e94-ba23-30d908347cd2

    MDT Deploy Windows 7 – Domain Join Failed…/152aba62-5442-45d6-a626-7454838d5dd5

    There is not enough space on the disk error…/389c64d9-6189-4e5d-8aac-fc8a445d6155

    Invalid Credentials error: Even if you enter correct id, password, with or without domain prefix…/303d2dbe-c6ff-4ec8-8e9b-edb140223bcd…/d2ddf7bd-6e75-48a1-8b7f-f96e6d93ddeb

    Access denied when running LiteTouch.VBS to Sysprep and Capture W7…/4df4405b-98f6-40d5-847c-17555f751bab

  2. Errors when running Sysprep and Capture task from a running W7 PC says:

    ZTI Error – Unhandled error returned by LTIApply (-2147024784 )x80070070)

    LiteTouch deployment failed, Returen Code 0 -2147467259 )x8004005


    Failed to run the action: Apply Windows PE

    There is not enough space on the disk

    Task sequence engine failed

    Task sequence execution failed

  3. Craig Thomas says:

    Any harm in copying this script in a MDT 2010 environment?

  4. Chuck Bailey says:

    MDT is free, so you get what you "pay for"~!

    If this is the attitide, it may as well join the ZUNE and Co!

    When searching G, there are thousands and thousands of errors with MDT.. Is this a classic example of poor codes?

  5. 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:
    Latest version of Showbox App download for all android smart phones and tablets. – 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:
    Showbox for PC articles:
    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’.

  6. 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.

Comments are closed.

Skip to main content