2008R2 Deployment and WMF 3

Using MDT to deploy images is one of the greatest ideas since sliced bread – no more waiting for Windows Updates to install, or running through documented installs. Aaron Parker has given several talks at Synergy about this very concept – Automate your deployments!

Except when you go to install WMF 3.0 and PowerShell 3.0 offline into the WIM file for your 2008 R2 image. When you boot your image you’ll get the following error:
Windows could not configure one or more system components. To install Windows, restart the computer and then restart the installation.

So the fix? Break out the DISM.exe and Remove the WMF3 MSU (KB2506143).
The first step is to take the MSU and extract the .CAB file – since you can’t use the /Remove-Package command with an .MSU file.
expand -F:* D:\Temp\Windows6.1-KB2506143-x64-WMF3.msu D:\Temp\KB2506143
Next, mount the .WIM file.
dism.exe /mount-wim /WimFile:"D:\Deployment\Operating Systems\Windows Server 2008R2 SP1\sources\install.wim" /index:1 /MountDir:C:\Mount
Then uninstall the WMF3\PS3 update from the offline WIM file.
dism.exe /image:C:\Mount /Remove-Package /PackagePath:"D:\Temp\KB2506143\Windows6.1-KB2506143-x64.cab"
If you want to install the WMF3 update, you’ll have to do it once the image is online.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.