Tag Archives: MDT

Batch script to set the A1 button actions on a FZ-G1 Toughpad tablet

By | December 14, 2016
Share

Here is the batch, it’s fairly self-explanatory: rem import default user’s hive reg load HKLM\ImportedHive “%SystemDrive%\Users\Default\NTUSER.DAT” rem create batch that will be called by A1 button echo “%ProgramFiles(x86)%\Panasonic\PCam\PCam.exe”>%WinDir%\System32\A1Click_Mapping.bat echo “%ProgramFiles(x86)%\Panasonic\TSModSel\tsmodsel.exe” -G>%WinDir%\System32\A1Hold_Mapping.bat rem ties A1 to cmd.exe /c %WinDir%\System32\A1Click_Mapping.bat and A1Hold_Mapping.bat for the DEFAULT USER Reg.exe add “HKLM\ImportedHive\Control Panel\TabletPC\ButtonMaps\0” /v “ButtonID” /t REG_DWORD /d “2” /f… 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: powershell.exe -ExecutionPolicy “ByPass”… 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 »

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  

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