DISM : Misc. WIM Management Commands

DISM.exe (Deployment Image Servicing and Management) is a command-line tool that can be used to service a Windows image or to prepare a Windows Preinstallation Environment (Windows PE) image.  DISM can be used to service a Windows image (.wim) or a virtual hard disk (.vhd or .vhdx). Clean old mountpoints • Dism /cleanup-wim Mount-Image • Dism /Mount-Image /ImageFile:C:\DISM\myimage.wim /index:1 /MountDir:C:\DISM\offline Add-Package • Dism /Add-Package /Image:C:\test\offline\Windows /PackagePath:C:\MSU\Windows10-KBxxxxxxx-x64.msu /LogPath:AddPackage.log Add Driver • DISM /Image:C:\test\offline /Add-Driver /Driver:C:\test\PS2x64 /recurse • DISM /Image:C:\test\offline /Add-Driver /Driver:C:\test\PS2x64\.inf Unmount-Image • Dism /unmount-image /mountdir:c:\test\offline /commit Enable Windows Feature •…

Read More

MDT : OSD Error Messages

These are just a few of the error messages I’ve seen during the MDT boot phase of OS build. 0x80040005 Error retrieving policy (check for expired cert on boot media or retry) 0x80070490 Unable to find disk partition to write to – clean disk with diskpart 0x8007000F Failed to prepare the system partition for staging – wrong build media? 0x80070005 Check date and time 0x80070035 Network path not found 0x80070057 Set variable for format and partition disk to OSDisk 0x80280803 TPM not enabled 0x80072EE7 Unknown host (network?) 0x80091007 downloaded package…

Read More

MDT : MDT Log Files

The log save locations move around depending on what stage of the OS build we are looking at.  This is a breakdown of the log locations during a MDT install task sequence: 1. Before the Image is applied to the machine: X:\MININT\SMSOSD\OSDLOGS 2. After the system drive has been formatted: C:\MININT\SMSOSD\OSDLOGS 3. After Deployment: %WINDIR%\TEMP\DeploymentLogs The logs of most interest for troubleshooting a failed install will be: BDD.LOG – This is an aggregated log of all the MDT Logs. SMSTS.LOG – This log would be used to troubleshoot Task Sequence…

Read More