Replace MDT with MDT Lite

Quick Technical Post on how to create your own slim MDT Lite Package (Gather, BGInfo, ServiceUI) without having to integrate MDT into your environment…. Ok, After I wrote this, I found that Gerry Hampson already blogged this…however his blog is blocked on my internet (*.BlogSpot.com) so that’s why I didn’t find it.  Thanks to @ccmexec for pointing me in the right direction there.

More more info about how I did it, check out THIS POST: https://garytown.com/so-long-mdt-native-cm-for-me

Why?  It’s smaller and doesn’t require integration, quick comparison between my MDTLite Package vs Standard MDTPackage, mine is 4.5MB with 15 files vs 60MB & 722 Files.  Guess what downloads faster!  No more waiting for like 2 minutes every time you have the step “Run Toolkit Package”
image 

First.. Download & Install MDT (Test machine, not server) because you need to get the files somewhere.

Create a folder in your Source called “MDTLite” with Subfolder Scripts & BGInfo, and a subfolder x64 in the Scripts folder.
image

Now that you have it installed, you’ll need to browse to:
c:\Program Files\Microsoft Deployment Toolkit\Templates\Distribution\Scripts
image
image

Grab: ZTIDataAccess.vbs, ZTIGather.wsf, ZTIGather.xml, ZTIUtility.vbs

Copy those 4 files to MDTLite\Scripts
image

Now Grab Microsoft.BDD.Utility.dll from:
c:\Program Files\Microsoft Deployment Toolkit\Template\Distribution\Tools\x64
For more information about that file and what it does, check out this POST HERE

image

Copy that to the x64 Subfolder:
image

Now lastly, you’ll need to create a CustomSettings.ini file, if you already have one, great, otherwise you can make one pretty easy:
image

In the TS, this is how it would look:

Run Command: cscript.exe scripts/ZTIGather.wsf /debug:true
image

Now, if you want to use BGinfo to show additional info during OSD, like I do, you can create a subfolder called BGInfo and copy the required files into there.
In that same folder:
c:\Program Files\Microsoft Deployment Toolkit\Template\Distribution\Tools\x64
Grab BGInfo.exe and copy it to our BGInfo Source folder
Then grab one of the .bgi files from:
c:\Program Files\Microsoft Deployment Toolkit\Template\Distribution\Tools\x86
image

I’ve modified mine to add some additional information beyond the basics.  Way more info about using BGInfo with your OSD TS HERE
image

Command: BGInfo\bginfo64.exe BGInfo\WinPE.BGI /nocliprompt /silent /timer:0
image

One last thing I’ve added to my MDT Lite Package, ServiceUI.  There are several situations in which I’ve used ServiceUI, so I’ve added it to this package as it comes with MDT.
You can grab that in the x64 tools folder:
c:\Program Files\Microsoft Deployment Toolkit\Template\Distribution\Tools\x64
image

Now make your package and use it!
Package Contents:
image
In CM:
image

Hope you find this info helpful

Posted Originally on GARYTOWN.COM

2 thoughts on “Replace MDT with MDT Lite”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.