Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Updates not injecting into image using DISM

15 Oct 2014   #1
caffemisto

Windows 7 Enterprise 64bit
 
 
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 System SpecsSystem Spec
.
15 Oct 2014   #2
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

What EXACTLY are you attempting to do?
My System SpecsSystem Spec
15 Oct 2014   #3
caffemisto

Windows 7 Enterprise 64bit
 
 

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 System SpecsSystem Spec
.

15 Oct 2014   #4
NoelDP

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
 
 

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 System SpecsSystem Spec
15 Oct 2014   #5
caffemisto

Windows 7 Enterprise 64bit
 
 

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 System SpecsSystem Spec
15 Oct 2014   #6
caffemisto

Windows 7 Enterprise 64bit
 
 

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 System SpecsSystem Spec
Reply

 Updates not injecting into image using DISM




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Help with DISM Log
Hello. 1st post :o Noticed dism.exe and dismhost.exe running yesterday. Had not ever noticed them before, so I did some research. I now understand what the utility is, but my question has to do with why dism.exe would run on a PC. I took a look at the DISM log, and I'm not quite sure what...
Performance & Maintenance
dism not working anymore
Hi. i'm trying to make my own win7 install cd with update and so on. i've done a few test before but now i only get error from dism error: 3 Det går inte att hitta sökvägen. Transleted: Can not find the path. all dirs i've tried have no spaces in them tried a few diffrent .wim files...
Customization
DISM - Deployment Image Servicing and Management tool
I found this tool while searching the system32 folder: DISM.EXE C:\Users>dism Deployment Image Servicing and Management tool Version: 6.1.7048.0 DISM.exe {WIM_command}
Backup and Restore
Managing Windows 7 with DISM
More...
News


Our Sites

Site Links

About Us

Find 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 05:26.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App