Thursday, May 30, 2013

Updating your WIM file with DISM

If you want to patch up your Windows image file (wim file) with the newest patches you can use the DISM commando. The DISM commando are available in Windows 8 as default or as a part of the WAIK or ADK download from Microsoft.



The first thing you need to do is to download all the updates you want to patch your image with. To do this you can use a tools like Wsus Offline Update


In the wsusoffline\client path you will find all the updates in folders related to the client version you have downloaded (Windows 8 = W62 and x64 version = W62-x64).

You then need to mount the wim file

Get info about the win content:
dism /Get-WimInfo /WimFile:d:\wim\install.wim

Get extended info:
dism /Get-WimInfo /WimFile:d:\wim\install.wim /index:1

Mounting the image:
dism /Mount-Wim /wimfile:d:\wim\install.wim /index:1 /MountDir:d:\Mount

Add Patches to the image:
dism /image:d:\mount /add-package /Packagepath:d:\updates

Dismounting the image:
dism /Unmount-Wim /MountDir:d:\mount /commit
dism /Unmount-Wim /MountDir:d:\mount /discard

Ignite Session: THR3026 - Migrating home folders to OneDrive for Business

One of the big benefit of working in a company like Lumagate is the focus on continuous development of knowledge among the employees. Com...