:
dism /Image:"C:\mount" /Add-Driver /Driver:"C:\drivers" /Recurse Add cumulative update ( .msu ):
dism /Image:"C:\mount" /Add-Package /PackagePath:"C:\updates\KB123456.msu" Commit changes:
diskpart list disk select disk N clean create partition primary format fs=ntfs quick active assign letter=Z exit Then copy extracted ISO contents to Z:\ and set boot sector:
@echo off set MEDIA_DIR=C:\media set OUTPUT_ISO=C:\15035_build.iso rmdir /s /q %MEDIA_DIR% mkdir %MEDIA_DIR%\sources
Mount image:
dism /Unmount-Image /MountDir:"C:\mount" /Commit Using diskpart and dism :
dism /Mount-Image /ImageFile:"install.wim" /Index:1 /MountDir:"C:\mount" Add drivers ( .inf ):