My First Chocolately Package [Approved] – BatteryBar

By | October 25, 2016 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

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.


“A required CD/DVD drive driver is missing..” error when installing Windows 7 on new Toughbook laptops.

By | October 11, 2016

2 things need to happen to fix this: Windows 7 install PE needs the Windows 7 USB 3.0 driver package injected. USB 3.0 Host Controller Driver:… USB 3.0 Driver:… A registry hack (for lack of a better term) needs to be imported into the Windows PE registry. URL to script:

Here is… Read More »

A Script to create a a Scheduled Task that runs under the SYSTEM account

By | September 23, 2016

Use echos to make your temp.bat and then run it under the System account using a scheduled task. I set the task to run  ONIDLE with a timer of 999, which should never occur. /BG

Batch code snippet to query, then update dynamic values in registry

By | September 21, 2016

The snippet pulls sub-keys from the “HKLM\SYSTEM\CurrentControlSet\Control\Class” and passing each to a call to a “:FindAndReplace” section with the full key as an argument.  The reason I call a section from the Do, is because %ErrorLevel% was not populating correctly inside of a for loop. /BG