Category Archives: Windows 10

PSADT Series: Packaging .NET Framework 3.5 application for configmgr

By | April 1, 2023
Share

Considering this was at least my tenth time packaging this dotnet installer for ConfigMgr, I figured I should share it here for safe keeping. Further help on PowerShell App Deployment Toolkit (https://psappdeploytoolkit.com/). I will not be covering how to use PSADT, just the guts. Detection Method: PSADT install/uninstall command lines: Source files need to be… Read More »

Map A1 button on CF-20 and CF-33 to perform soft dismount from keyboard base

By | November 28, 2018
Share

This sniplet was written to work within a Powershell app deploy toolkit package.  If you are not familiar with that toolkit, get familiar with it, its a huge time saver. ## <Perform Installation tasks here> Execute-Process -Path “$envSystem32Directory\reg.exe” -Parameters (‘load HKLM\ImportedHive “{0}\Users\Default\NTUSER.dat”‘ -f $envSystemDrive) $bClickDefAction = [byte[]](0x25,0x00,0x53,0x00,0x79,0x00,0x73,0x00,0x74,0x00,0x65,0x00,0x6d,0x00,0x52,0x00,0x6f,0x00,0x6f,0x00,0x74,0x00,0x25,0x00,0x5c,0x00,0x53,0x00,0x79,0x00,0x73,0x00,0x74,0x00,0x65,0x00,0x6d,0x00,0x33,0x00,0x32,0x00,0x5c,0x00,0x72,0x00,0x75,0x00,0x6e,0x00,0x64,0x00,0x6c,0x00,0x6c,0x00,0x33,0x00,0x32,0x00,0x2e,0x00,0x65,0x00,0x78,0x00,0x65,0x00,0x00,0x00,0x63,0x00,0x66,0x00,0x67,0x00,0x6d,0x00,0x67,0x00,0x72,0x00,0x33,0x00,0x32,0x00,0x2e,0x00,0x64,0x00,0x6c,0x00,0x6c,0x00,0x2c,0x00,0x43,0x00,0x4d,0x00,0x5f,0x00,0x52,0x00,0x65,0x00,0x71,0x00,0x75,0x00,0x65,0x00,0x73,0x00,0x74,0x00,0x5f,0x00,0x45,0x00,0x6a,0x00,0x65,0x00,0x63,0x00,0x74,0x00,0x5f,0x00,0x50,0x00,0x43,0x00,0x00,0x00) Set-RegistryKey -Key ‘HKEY_LOCAL_MACHINE\ImportedHive\Control Panel\TabletPC\ButtonMaps\2’ -Name ‘ButtonID’ -Type ‘Dword’… Read More »

Customize Windows 10 Installations: Part 1 – Using OSBuilder

By | September 24, 2018
Share

OSBuilder updates Windows 10 source files offline with the latest cumulative updates, installs the DotNet 3.5 feature, and strips Windows 10 built-in metro applications. 1\Install OSBuilder module via the Powershell Gallery. https://www.powershellgallery.com/packages/OSBuilder/18.9.21.0 2\Run Get-OSBuilder to pull in the servicing stack, cumalative updates. 3\Mount a Windows 10 ISO and run Import-OSMedia. This task will pull the… Read More »

Windows 10 apps I remove before running Sysprep

By | June 28, 2018
Share

** Updated on 2018/07/12 Here is are the powershell commands I run prior to running sysprep on Windows 1703/1709/1803.  Without running these commands, Sysprep typically fails.   get-appxpackage *getstarted* | remove-appxpackage get-appxpackage *photoshop* | remove-appxpackage get-appxpackage *freshpaint* | remove-appxpackage get-appxpackage *remotedesktop* | remove-appxpackage get-appxpackage *skype* | remove-appxpackage get-appxpackage *oneconnect* | remove-appxpackage get-appxpackage *maps* | remove-appxpackage… Read More »