I will send you a script in the afternoon that will retain the logs and package them into a single file. You can upload the logs for me to analyze the problem.
script.cmd Code: @echo off set tempdir=d:\temp set pkg=d:\pkg set wim=d:\install.wim set index=1 set mount=d:\mount set lp=d:\lp md %tempdir%\output cd /d %tempdir% echo ^<?xml version="1.0" encoding="utf-8"?^>^ ^<unattend xmlns="urn:schemas-microsoft-com:unattend"^>^ ^<servicing^>^ ^<package action="remove"^>^ ^<assemblyIdentity name="Microsoft-Windows-ServerTurbineCorEdition" version="10.0.25398.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" /^>^ ^</package^>^ ^<package action="remove"^>^ ^<assemblyIdentity name="Microsoft-Windows-ServerDatacenterCorEdition" version="10.0.25398.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" /^>^ ^</package^>^ ^<package action="install"^>^ ^<assemblyIdentity name="Microsoft-Windows-EnterpriseSEdition" version="10.0.25398.1" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" /^>^ ^<source location="%pkg%\Microsoft-Windows-EnterpriseSEdition~31bf3856ad364e35~amd64~~10.0.25398.1.mum" /^>^ ^</package^>^ ^</servicing^>^ ^</unattend^> >unattend.xml dism /mount-wim /wimfile:%wim% /index:%index% /mountdir:%mount% /logpath:mount.log > mountp.log dism /image:%mount% /apply-unattend:unattend.xml /logpath:apply.log > applyp.log dism /image:%mount% /add-package:%lp% /logpath:addlp.log > addlpp.log dism /unmount-wim /mountdir:%mount% /commit /logpath:unmount.log > unmountp.log for %%i in (*.log) do echo %%i > list.txt makecab /f list.txt /d diskdirectorytemplate=%tempdir%\output /d cabinetnametemplate=log.cab explorer %tempdir%\output
Under normal circumstances, there should be 8 log files compressed into cabs. Even if I write a % less in the script(mountdir:%mount), there shouldn't be only one log file.