Situations such as system files corruption and unexplained or erratic system behavior require you to repair or reinstall your Windows installation by running Setup.exe from a mounted Windows ISO or DVD/USB flash drive. However, it’s always possible that the current Windows installation’s build or the Service Pack level is higher than that of the ISO or your setup media.
In order to repair Windows, you must first make sure that the version and build number of the source is higher than that of your current installation of Windows. But how to keep the installation media updated?
What is Sliptreaming and Why Should I do it?
Monthly Cumulative Updates released for Windows 10 bump the build number which means your Windows 10 ISO becomes outdated after a Cumulative Update gets released. You can integrate the Cumulative Update and other required updates, and build an updated ISO containing the latest version and build of Windows.
The process of integrating Windows update packages into the Windows Setup disk is known as Slipstreaming.
In some cases, system files corruption can be repaired by running the System File Checker and if necessary, the DISM command. If the Windows Component Store is corrupted, you’ll need to run DISM mentioning the source WIM file. That’s another reason to have an updated Windows 10 setup source always ready.
Slipstreaming is also useful if you want to freshly install the latest build of windows in other computers. The benefit is that that you don’t have to install an older version or build first, and then install the required updates via Windows Update manually (which may require multiple reboots, and prove to be counterproductive).
How to Slipstream Updates into your Windows 10 Setup Media
Let’s see how to slipstream Windows update packages to create an updated Windows 10 install media or ISO. Technical support folks do this every now and then after a Cumulative Update or a Service Pack or Roll-up package is released.
- Download the latest Windows 10 ISO from Microsoft website. As of this post, the latest Windows 10 Fall Creators Update version 1709 Build 16299.15 is the latest release.
- Right-click on the ISO and click Mount, to mount the ISO to a drive-letter.
- Copy the contents of the ISO to a folder. Let’s say,
- Next, get the Windows Update .msu or .cab packages by visiting the Microsoft Update Catalog. In the Microsoft Updates Catalog, use “windows 10 version 1709 x64” (since I’m using Windows 10 64-bit) or similar phrase to find updates available for the Fall Creators Update v1709 64-bit Windows version. If you’re using 32-bit Windows, then use x86 keyword instead of x64.
Skip steps 1-3 if you already have a bootable Windows (v1709) Setup USB flash drive. You can use that instead of the ISO.
We have three updates available: KB4043961 which is the Cumulative Update (Build 16299.19), KB4051613 which is the Adobe Update, and KB4049179 which is a Security Update for Adobe.
Note: In the sources folder, if the file
install.esd exists instead of
install.wim, first you’ll need to convert the ESD file to WIM format in order to service the image. Full instructions on that is available in article How to Convert ESD to WIM Using DISM in Windows 10
That’s it! You’ve now updated your Windows 10 setup source or USB installation media. You can run Setup.exe now if you plan to do a repair installation or in-place upgrade of Windows. Or, if you’re wanting to run DISM mentioning the setup source path to fix any corruption in the system, you can mention the path of the updated install.wim.
What does the DISM GUI tool do?
DISM GUI is an excellent front-end for the built-in DISM console tool. For this illustration, here is the list of commands the utility ran in the background.
Getting the WIM file Info and Viewing the Indexes
To get the WIM file info and its indexes, this is the command used:
dism.exe /Get-WimInfo /wimFile:"D:\Win10ISO\sources\install.wim"
Mounting the WIM file
The Mount Vim button runs this tool to mount the install.wim image (index: 8) to the specified folder.
dism.exe /Mount-WIM /WimFile:"D:\Win10ISO\sources\install.wim" /index:8 /MountDir:"D:\Mounted-WIM"
Adding Windows Update Packages to the mounted WIM file
The Add Packages button in DISM GUI runs this command:
dism.exe /image:"D:\Mounted-WIM" /Add-Package /PackagePath:"D:\v1709 updates"
Dismount the WIM file and Commit Changes
To unmount the WIM file and to apply the changes (package addition or removal), this is the command used:
dism.exe /Unmount-wim /mountdir:"D:\Mounted-WIM" /commit
Create an ISO file from the Updated Setup Source folder
Optionally, you can rebuild a new ISO from the contents of D:\Win10ISO folder. You can use ImgBurn or other tools for this task. More on that in another article. Also, take a look at NTLite tool which can integrate updates into your Windows setup media, as well as create an ISO in a jiffy. Hoping to do a write-up on how to slipstream Windows 10 using NTLite in the coming days.
About the author
Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and he has been a Microsoft Most Valuable Professional (MVP) for 10 consecutive years from 2003 to 2012.