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 revision
Previous revision
Last revisionBoth sides next revision
windows:slipstream-updates [2018/04/26 09:53] – [Information] Sean Rhonewindows:slipstream-updates [2020/09/21 07:05] Sean Rhone
Line 2: Line 2:
  
   * How to use DISM to slipstream updates to install media   * How to use DISM to slipstream updates to install media
-  * TODOThis didn't work to slipstream the latest CU on LTSB; the update slistreamedbut the installed OS didn't register the update+  * :!: Apparently the latest SSU needs to be slipstreamed and committed firstand then the latest CU slipstreamed afterwards 
 +  * https://www.tenforums.com/installation-upgrade/134686-offline-image-update-files-outside-install-wim.html
  
 ====== Requirements ====== ====== Requirements ======
Line 12: Line 13:
 ====== Get Indexes ====== ====== Get Indexes ======
  
-  * LTSB 2016 seems to have only one Index +  * LTSB 2016 and LTSC 2019 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+  * :!: 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"   dism.exe /Get-WimInfo /wimFile:"%UserProfile%\Downloads\W10\sources\install.wim"
  
-====== Create Directories ======+====== Extract Index ======
  
-  mkdir "%UserProfile%\Downloads\mounted-wim"+  * With ''Win10_2004_English_x64'', Index 10 is Pro for Workstations
  
-  mkdir "%UserProfile%\Downloads\update-packages"+  dism.exe /Export-Image /SourceImageFile:"%UserProfile%\Downloads\W10\sources\install.wim" /SourceIndex:"10" /DestinationImageFile:"%UserProfile%\Downloads\install.wim"
  
-  mkdir "%UserProfile%\Downloads\temp-export"+===== Verify Index ===== 
 + 
 +**** 
 + 
 +  dism.exe /Get-WimInfo /wimFile:"%UserProfile%\Downloads\install.wim" 
 + 
 +====== Create Directories ====== 
 + 
 +**** 
 + 
 +  mkdir "%UserProfile%\Downloads\mounted-wim" "%UserProfile%\Downloads\update-packages" "%UserProfile%\Downloads\temp-export"
  
 ====== Mount WIM ====== ====== Mount WIM ======
Line 29: Line 40:
 **** ****
  
-  dism.exe /Mount-WIM /wimFile:"%UserProfile%\Downloads\W10\sources\install.wim" /index:"1" /MountDir:"%UserProfile%\Downloads\mounted-wim"+  dism.exe /Mount-WIM /wimFile:"%UserProfile%\Downloads\install.wim" /index:"1" /MountDir:"%UserProfile%\Downloads\mounted-wim"
  
 ====== Add Updates to 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   * Updates should be copied to ''%UserProfile%\Downloads\update-packages'' prior to running
 +  * :!: The latest SSU needs to be installed and committed, and the process needs repeated in order to integrate the latest CU
  
   dism.exe /image:"%UserProfile%\Downloads\mounted-wim" /Add-Package /PackagePath:"%UserProfile%\Downloads\update-packages"   dism.exe /image:"%UserProfile%\Downloads\mounted-wim" /Add-Package /PackagePath:"%UserProfile%\Downloads\update-packages"
  
-======Cleanup WIM ======+====== Cleanup WIM ======
  
 **** ****
  
   dism.exe /image:"%UserProfile%\Downloads\mounted-wim" /Cleanup-Image /StartComponentCleanup /ResetBase   dism.exe /image:"%UserProfile%\Downloads\mounted-wim" /Cleanup-Image /StartComponentCleanup /ResetBase
 +
 +====== Check Updates in WIM ======
 +
 +****
 +
 +  dism.exe /Get-Packages /image:"%UserProfile%\Downloads\mounted-wim"
  
 ====== Commit Changes to WIM ====== ====== Commit Changes to WIM ======
Line 53: Line 70:
  
   * Need to manually copy the new ''install.wim'' to Install media sources folder   * Need to manually copy the new ''install.wim'' to Install media sources folder
 +  * :!: If ''install.wim'' is ever above 4GB even after the compress, using Rufus to create a NTFS bootable USB flash drive is required
  
   dism.exe /Export-Image /SourceImageFile:"%UserProfile%\Downloads\W10\sources\install.wim" /SourceIndex:"1" /DestinationImageFile:"%UserProfile%\Downloads\temp-export\install.wim" /Compress:"maximum"   dism.exe /Export-Image /SourceImageFile:"%UserProfile%\Downloads\W10\sources\install.wim" /SourceIndex:"1" /DestinationImageFile:"%UserProfile%\Downloads\temp-export\install.wim" /Compress:"maximum"
/var/www/wiki/data/pages/windows/slipstream-updates.txt · Last modified: 2020/09/21 07:20 by Sean Rhone