Tag Archives: Script

Tweaks to help using Litetouch OEM For All Media Deployments

By | April 4, 2017
Share

Update 2017.04.07 -> Added instruction to remove conditions on ComputerName wizard pane to force it to appear regardless of TS selected. Advantages: No more do you need to worry about the Deployed OS detecting the flash drive. Dis-Advantages: Some editing of built-in scripts is required. Deployments take slightly longer, because share is copied local before… 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 »

Add MDT Selection Profiles for each Out-of-Box Driver Folder using a PowerShell Script

By | October 23, 2016
Share

MDT Task Sequence’s Inject driver steps do not support specifying folders,  so Selection Profiles are the defacto method for bridging this gap.  Here is a script I created to ease the process of creating/importing multiple system drivers into MDT at once.  If ran more than once, it will not create duplicate selection profile entries.

/BG