Category Archives: Scripting

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 »

Internet Explorer start tile not working with the PowerShell Import-StartLayout

By | March 26, 2018
Share

Here is a working configuration for importing a “Internet Explorer” tile to the Start screen using the Import-StartLayout PowerShell cmdlet.  This was tested on Win 10 1703. Here is my exported start layout.  I had to manually switch out the %APPDATA% variable with the %ALLUSERSPROFILE% to get it working. <LayoutModificationTemplate xmlns:defaultlayout=”http://schemas.microsoft.com/Start/2014/FullDefaultLayout” xmlns:start=”http://schemas.microsoft.com/Start/2014/StartLayout” Version=”1″ xmlns=”http://schemas.microsoft.com/Start/2014/LayoutModification”> <LayoutOptions StartTileGroupCellWidth=”6″… Read More »

Clean-up Before Sysprep And Capture To Reduce The WIM File Size

By | February 21, 2018
Share

Wally Mead (DeploymentBunny) wrote a great script that accommodates his image factory.  It performs several clean up operations before running sysprep.  I run it manually on all of my Virtual Machines prior to running a Sysprep and Capture routine. I’ve seen this script reduce a WIM file by 10GB. Jump to Wally’s github and save… Read More »

Running a PXE Server in Windows 10 in less than 10 minutes

By | February 16, 2018
Share

UPDATE – 04-03-2019: try serva https://www.vercot.com/~serva/ instead of tftpd32, it supports uefi. Download the “Portable” version of the Tftpd32 software. http://tftpd32.jounin.net/ All of my source files: https://drive.google.com/open?id=1FAIPPtIogFOk_uklAS_D7YxLrxI36Hly My TFTPROOT folder contents and source Files were pulled from Windows 10 ADK installation. C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\Media => TFTPROOT\bootmgr.exe TFTPROOT\Boot\en-us\bootmgr.exe.mui TFTPROOT\Boot\en-us\memtest.exe.mui TFTPROOT\Boot\Fonts\*.* TFTPROOT\Boot\Resources\bootres.dll… Read More »

Copy an MDT Deployment Share to a USB without building a Media Share

By | March 27, 2017
Share

*Updated to support both x86/x64 boot wims. This script copies an MDT Deployment Share to a USB drive and basically converts it to a media share in the process.  You must edit and update the “DrvLetter” variable. Please the batch file beside the “Deploy” folder. @setlocal enableextensions enabledelayedexpansion @echo off REM Variables that require updating SET… Read More »