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 (4)
  1. Amy.. These are still my errors!!!! says:

    A connection to the deployment share could not be made.

    social.technet.microsoft.com/…/1c2a306d-e38d-4347-8761-3810513a139e

    social.technet.microsoft.com/…/4c2a9586-2879-4e94-ba23-30d908347cd2

    MDT Deploy Windows 7 – Domain Join Failed

    social.technet.microsoft.com/…/152aba62-5442-45d6-a626-7454838d5dd5

    There is not enough space on the disk error

    social.technet.microsoft.com/…/389c64d9-6189-4e5d-8aac-fc8a445d6155

    Invalid Credentials error: Even if you enter correct id, password, with or without domain prefix

    social.technet.microsoft.com/…/303d2dbe-c6ff-4ec8-8e9b-edb140223bcd

    social.technet.microsoft.com/…/d2ddf7bd-6e75-48a1-8b7f-f96e6d93ddeb

    Access denied when running LiteTouch.VBS to Sysprep and Capture W7

    social.technet.microsoft.com/…/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

    Messages:

    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?

Comments are closed.

Skip to main content