Unable to include an windows update to an offline instal.wim for 2008 R2 OS

I tried to include an windows update (KB3033929) to an offline instal.wim for 2008 R2 OS. I don’t want this to happen via automatic updates through internet.

I couldn’t succeed in that. In the test machine following things are placed

  1. In ‘c:\images’ directory I have my install.wim for 2008 R2 OS.
  2. In ‘c:\images\packages’ I have Windows6.1-KB303399-x64.msu, windows update which needed to include in an offline install.wim image.
  3. created ‘c:\images\mount’ directory.

Executed the following commands.

  1. Mounted install.wim in c:\images\mount directory
    dism /mount-wim /wimfile:c:\images\install.wim /index:4 /mountdir:c:\images\mount.

  2. Added windows update to install.wim image
    dism /image:c:\images\mount /add-package /packagepath:c:\images\packages\Windows6.1-KB303399-x64.msu

  3. Unmounted and saved the install.wim with update
    dism /unmount-wim /mountdir:c:\images\mount /commit

All the above operation gets completed successfully. After this I am able to observe install.wim size gets increased. from this I concluded that update gets added to install.wim…?

When I added this install.wim to wds server and installed to test machine. OS gets installed sucessfully.

But In control panel\programs\programs and features\Installed updates I am unable to see my update gets listed.

Can someone please suggest me what I am missing and please clarify the following questions.

  1. Do the steps I followed above is correct?
  2. If the install.wim size gets increased but it doesn’t listed in Installed updates. So how I can confirm?
  3. In index I used random number 4 which is specified in web, what it actually mean?

Please suggest and if useful links, share with me?
Thanks in advance.

Regards, Ananth

> But In control panel\programs\programs and features\Installed updates I am unable to see my

update gets listed.

Probably just the history record is missing.

Try to apply the same MSU to the installed machine. Will it say “not applicable to this system”?

Or, unpack the binaries from the MSU and compare to the running ones on the installed machine.

There are at least 2 ways to delete the update history, with updates remaining installed in place:

  • sysprep (on most Windows versions)
  • the usual way of restarting the faulty WU service from scratch - stop the service, delete SystemRoot%\SoftwareDistribution and start the service back.


Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com

Hi Mathew, thanks for the reply.

I resolved the above issue but seen windows error recovery screen after installation. The problem is with the Index. Index 5 is the one which belongs to datacenter edition. After adding my update KB3033929 to install.wim, tried to install windows 2008 r2 datacenter edition,

In this, following is the issue I faced,

  1. OS gets successfully installed, but once OS gets started up for the first time windows error recovery screen gets displayed.
  2. Entering any option in Error recovery, like start windows normally makes the OS gets started up one more time. Again windows error recovery screen is displayed. This process is in loop.

Please somebody suggest how to resolve this. Thanks in advance.

Regards,
Ananth