Category Archives: MDT

Clean-up Before Sysprep And Capture To Reduce The WIM File Size

By | February 21, 2018
Share

Wally Mead (DeploymentBunny) wrote a great script that accommodates his image factory.  It performs several clean up operations before running sysprep.  I run it manually on all of my Virtual Machines prior to running a Sysprep and Capture routine. I’ve seen this script reduce a WIM file by 10GB. Jump to Wally’s github and save… Read More »

Running a PXE Server in Windows 10 in less than 10 minutes

By | February 16, 2018
Share

UPDATE – 04-03-2019: try serva https://www.vercot.com/~serva/ instead of tftpd32, it supports uefi. Download the “Portable” version of the Tftpd32 software. http://tftpd32.jounin.net/ All of my source files: https://drive.google.com/open?id=1FAIPPtIogFOk_uklAS_D7YxLrxI36Hly My TFTPROOT folder contents and source Files were pulled from Windows 10 ADK installation. C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\Media => TFTPROOT\bootmgr.exe TFTPROOT\Boot\en-us\bootmgr.exe.mui TFTPROOT\Boot\en-us\memtest.exe.mui TFTPROOT\Boot\Fonts\*.* TFTPROOT\Boot\Resources\bootres.dll… Read More »

Copy an MDT Deployment Share to a USB without building a Media Share

By | March 27, 2017
Share

*Updated to support both x86/x64 boot wims. This script copies an MDT Deployment Share to a USB drive and basically converts it to a media share in the process.  You must edit and update the “DrvLetter” variable. Please the batch file beside the “Deploy” folder. @setlocal enableextensions enabledelayedexpansion @echo off REM Variables that require updating SET… 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 »

MY ZTIDefaultAssociations.wsf MDT Script for Force Applying File Associations in Windows 10

By | March 4, 2017
Share

GitHub Link: https://github.com/brianfgonzalez/Scripts/blob/master/ZTIDefaultAssociations.wsf <job id=”ZTIDefaultAssociations”> <script language=”VBScript” src=”../../Scripts/ZTIUtility.vbs”/> <script language=”VBScript”> ‘ // *************************************************************************** ‘ // ‘ // Copyright (c) Microsoft Corporation. All rights reserved. ‘ // ‘ // Microsoft Deployment Toolkit Solution Accelerator ‘ // ‘ // File: ZTIDefaultAssociations.wsf ‘ // ‘ // Version: 6.3.8443.1000 ‘ // ‘ // Purpose: Use Dism to force apply start… Read More »