Category Archives: Cool Stuff

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 »

Setting the Wallpaper and Lockscreen in Windows 10

By | December 4, 2016
Share

Finally! I found a failsafe way to set a desired image to both the default wallpaper and lockscreen in Windows 10. Place a Wallpaper.jpg into your MDT “scripts” folder, add Powershell support to your WinPE (you will need to also add .NET support).  Then use this command line after applying the image:

I basically… Read More »

Display the WIM filename during Image Apply step Dynamically

By | November 30, 2016
Share

Since there is no MDT built-in variable assigned with just the wim name, i had to create a seperate step to create the variable “OSDImageName”, which i  then used in my standard image apply step. Here is what the Task Sequence looks like: Step Name Text: Expanding %OSDImageName% (%ImageSize%) to %OSDisk%\… And here is how… Read More »

My First Chocolately Package [Approved] – BatteryBar

By | October 25, 2016
Share

https://chocolatey.org/packages/BatteryBar Chocolately is like apt-get, but for Windows.  My favorite thing about chocately is having the ability to reach out and update all of my packages with one command line “choco upgrade all”!  Making the package took a bit of trial and error, but it was easy enough.  It uses Powershell at it’s base and has… Read More »