Updates not injecting into image using DISM


  1. Posts : 17
    Windows 7 Enterprise 64bit
       #1

    Updates not injecting into image using DISM


    Is this forum a good place for posting WDS related question?

    If not please direct me to the correct forum. Thank you.

    Issue, short version: after running DISM commands to inject updates to the WDS images, we use the image on a box and there are no new updates installed. Only the originally captured updates show up.

    It's as if the command didn't do anything even though I didn't get any errors during the process.

    Thank you.
      My Computer


  2. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #2

    What EXACTLY are you attempting to do?
      My Computer


  3. Posts : 17
    Windows 7 Enterprise 64bit
    Thread Starter
       #3

    Hi NoelDP,

    We had created a Windows 7 Enterprise captured image to our WDS server about 6 months ago.

    At the time, we were just happy that capturing images and deploying them finally worked. Now, we want to inject Windows Updates to the images on the WDS server and once it's working, keep the images up to date.

    Being pressed for time, I found some information online about using 'DISM' to inject Windows Updates into WDS images. One of all the articles, had all the information I needed, so I went ahead and followed along.

    1. I placed the image in offline mode
    2. Mounted the image
    3. I identified an up to date computer on the network to use its Windows updates folder
    4. Ran the 'DISM' command to inject the updates into the image
    5. Everything looked like it ran fine
    6. Unmounted the image and tested deploying it to a test computer
    7. No updates were actually injected as the original number of updates from 6 months ago was still the same: 183 updates
    8. Versus 300+ updates on the up to date computer

    Thanks.
      My Computer


  4. Posts : 21,482
    Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
       #4

    I don't recall 180+ updates for Windows in the past 6 months - that sounds more like the number since SP1 was released.
    Please check that your original image has SP1 installed.
    I'm not any kind of expert in this type of thing so I'm going to put out a call for those who may be able to give more precise assistance. Don't run away!
      My Computer


  5. Posts : 17
    Windows 7 Enterprise 64bit
    Thread Starter
       #5

    Windows 7 Enterprise with Service Pack 1.

    Service pack 1 comes with 900+ hotfixes and security updates.

    So you're right, it's probably 180+ since SP1.

    I'm going to keep at it until I figure this thing out. It's been done before, so it can be done again.
      My Computer


  6. Posts : 17
    Windows 7 Enterprise 64bit
    Thread Starter
       #6

    I wanted to share the commands I've ran so far:

    First, in WDS, disable the image you're going to update: right-click the image, select 'Disable'.

    1. Get image index information:

    dism /get-wiminfo /wimfile:win7ode.wim

    2. Create a mount folder and mount the image:

    md d:\wimmount
    dism /mount-wim /wimfile:win7ode.wim /index:1 /mountdir:wimmount

    3. Inject updates into the mounted image:

    start /w for /R \\updated-pcname-here\c$\windows\softwaredistribution\download\ %f in (*.cab) do dism /image:d:\wimmount /add-package /packagepath:%f

    4. Unmount the image:

    dism /unmount-wim /mountdir:d:\wimmount /commit

    Finally, blast the image to a test computer and compare the number of updates installed to the computer you used to get the updates from.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:36.
Find Us