Updates not injecting into image using DISM

caffemisto

New member
Local time
7:45 PM
Messages
17
Location
California
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

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Latitude E6410
OS
Windows 7 Enterprise 64bit
CPU
Intel Core i5 2.67MHz Quad Core
Memory
4GB
Graphics Card(s)
nVidia NVS 3100M
Sound Card
Built-in
Monitor(s) Displays
Built-in
Hard Drives
1 x 250GB
What EXACTLY are you attempting to do?
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)
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

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Latitude E6410
OS
Windows 7 Enterprise 64bit
CPU
Intel Core i5 2.67MHz Quad Core
Memory
4GB
Graphics Card(s)
nVidia NVS 3100M
Sound Card
Built-in
Monitor(s) Displays
Built-in
Hard Drives
1 x 250GB
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

Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)
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. :D
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Latitude E6410
OS
Windows 7 Enterprise 64bit
CPU
Intel Core i5 2.67MHz Quad Core
Memory
4GB
Graphics Card(s)
nVidia NVS 3100M
Sound Card
Built-in
Monitor(s) Displays
Built-in
Hard Drives
1 x 250GB
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

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Latitude E6410
OS
Windows 7 Enterprise 64bit
CPU
Intel Core i5 2.67MHz Quad Core
Memory
4GB
Graphics Card(s)
nVidia NVS 3100M
Sound Card
Built-in
Monitor(s) Displays
Built-in
Hard Drives
1 x 250GB
Back
Top