Author Archives: Brian Gonzalez

Uncheck “Allow the computer to turn off this device to save power” box

By | December 1, 2016
Share

To adjust this via a script, you must first determine the GUID and Class of the device, and then change the “PnPCapabilities to 280. Reg.exe add “HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0007” /v “PnPCapabilities” /t REG_DWORD /d “280” /f /BG

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 »

SMSTS log file should be copied at end of EVERY MDT Task Sequence!

By | November 29, 2016
Share

MDT has a fairly large shot coming. It doesn’t copy one of the best log files that is used to troubleshoot Task Sequence issues, smsts.log.  I hunted down the log file and now copy it using a custom step at the end of all of my Task Sequences. /BG  

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