Tag Archives: MDT

Disk Wipe Wedge for use with Microsoft Deployment Toolkit (Any release)

By | November 28, 2019
Share

1\Create a folder under the <DeployRoot> named “peFiles” or similar. 2\Populate the folder with the promptForDiskWipe.bat and unattend.xml files from this gist: promptForDiskWipe.bat: https://gist.github.com/brianfgonzalez/dcedc971176ba87551b10ef9f40c332e unattend.xml: https://gist.github.com/brianfgonzalez/d93e4160b03b46885ca187e6bc2fa549 * Click on RAW and then right-click and save-as to save the actual files. 3\Update your MDT boot media to call the promptForDiskWipe.bat script before starting a deployment (litetouch.vbs).… Read More »

How can I easily see how long my Deployment Tasks take?

By | October 17, 2018
Share

I created a powershell script that outputs a chart displaying a breakdown on Deployment task durations. I tested it with MDT, but it should also work with SCCM. 1\Download the https://github.com/brianfgonzalez/Scripts/blob/master/ZTIDurations.ps1 script. 2\Add the .ps1 to your Deployment share’s script directory. 3\Add a call to the script on the top of your Task Sequence with… Read More »

Run a MDT Deployment Share From Media Without Creating Seperate Media Share

By | July 19, 2018
Share

Found this cool trick to run a regular MDT Deployment share from media. Add a “media.tag” file to the \Scripts directory. Format and set the flash drive as bootable. NTFS for legacy and FAT32 for UEFI (Use rufus if larger than 32gb). Create Deploy\ folder on root of Flash Drive. Copy contents of Deployment Share… Read More »

How to Add “Deployment Duration” to the MDT Litetouch’s Final Summary Page

By | March 19, 2017
Share

1. Add a step in Task Sequence to create a “.tag” file named after the OsdComputerName, which will be later used to determine the deployment duration. Command Line: cmd /c echo. > “Z:\Logs\%OsdComputerName%.tag” 2. Add a Task Sequence step to sync time with Deployment Server during the State Restore phase. Command Line: cmd /c net time \\192.168.56.1… Read More »

Environment Variables set during the “Update Media” processing of MDT

By | January 25, 2017
Share

At the end of running “Update Media” for the 1st run or on any run with the “-force” argument passed, an update script can be called via the “LitetouchPE.xml” file. Here are the dynamic vars exposed that can be called via a custom script. ADKPath | C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit CONTENT |… Read More »