User Tools

Site Tools


windows:slipstream-updates

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
windows:slipstream-updates [2018/04/24 02:50] – [Requirements] Sean Rhonewindows:slipstream-updates [2018/04/26 09:53] – [Information] Sean Rhone
Line 1: Line 1:
 +====== Information ======
  
 +  * How to use DISM to slipstream updates to install media
 +  * TODO: This didn't work to slipstream the latest CU on LTSB; the update slistreamed, but the installed OS didn't register the update
 +
 +====== Requirements ======
 +
 +  * Windows 10 image extracted to ''%UserProfile%\Downloads\W10''
 +  * ''install.wim'' at ''%UserProfile%\Downloads\W10\sources\install.wim''
 +  * About 30GB of disk space to be safe
 +
 +====== Get Indexes ======
 +
 +  * LTSB 2016 seems to have only one Index
 +  * If more than one Index is present, be sure to change commands below and only select the wanted Index
 +
 +  dism.exe /Get-WimInfo /wimFile:"%UserProfile%\Downloads\W10\sources\install.wim"
 +
 +====== Create Directories ======
 +
 +  mkdir "%UserProfile%\Downloads\mounted-wim"
 +
 +  mkdir "%UserProfile%\Downloads\update-packages"
 +
 +  mkdir "%UserProfile%\Downloads\temp-export"
 +
 +====== Mount WIM ======
 +
 +****
 +
 +  dism.exe /Mount-WIM /wimFile:"%UserProfile%\Downloads\W10\sources\install.wim" /index:"1" /MountDir:"%UserProfile%\Downloads\mounted-wim"
 +
 +====== Add Updates to WIM ======
 +
 +  * Should do large updates such as Cumulative Updates
 +  * Updates should be copied to ''%UserProfile%\Downloads\update-packages'' prior to running
 +
 +  dism.exe /image:"%UserProfile%\Downloads\mounted-wim" /Add-Package /PackagePath:"%UserProfile%\Downloads\update-packages"
 +
 +======Cleanup WIM ======
 +
 +****
 +
 +  dism.exe /image:"%UserProfile%\Downloads\mounted-wim" /Cleanup-Image /StartComponentCleanup /ResetBase
 +
 +====== Commit Changes to WIM ======
 +
 +****
 +
 +  dism.exe /Unmount-wim /mountdir:"%UserProfile%\Downloads\mounted-wim" /commit
 +
 +====== Compress WIM ======
 +
 +  * Need to manually copy the new ''install.wim'' to Install media sources folder
 +
 +  dism.exe /Export-Image /SourceImageFile:"%UserProfile%\Downloads\W10\sources\install.wim" /SourceIndex:"1" /DestinationImageFile:"%UserProfile%\Downloads\temp-export\install.wim" /Compress:"maximum"
C:/www/wiki/data/pages/windows/slipstream-updates.txt · Last modified: 2020/09/21 07:20 by Sean Rhone