Problem: How do inject Windows updates into a .wim file?
Solution:
First you need to mount the image file, this is achieved by running the following:
dism /mount-wim /wimfile:<YourImage File.wim> /Index:1 /mountdir:"C:\temp\Mount"
You then need to specify the package path to which you have already downloaded the windows updates from Microsoft:
DISM /image:"C:\temp\Mount" /Add-Package /Packagepath:"C:\temp\updates"
All you need to do now is commit the changes to the original .wim file:
dism /unmount-wim /mountdir:"C:\temp\Mount" /commit
Then clean-up the image:
DISM /Cleanup-Wim
hi,
Was wondering if you could help me out.
I’ve injected the windows 10 april 1803 update (KB4093105 x64) onto the exported wim of one of the deployable images I have in my wds server. everything seemed to go fine, mounted, added package, unmounted.. imported the wim back to my wds windows 10 group. installed it on a test workstation and it still shows as version 1703 is installing instead of 1803 any idea why this could be?
thanks