Thursday, May 22, 2014

DISM An error occurred while attempting to start the servicing process for the image.

This is an issue I've had a few times and when you look around on the forums you see multiple answers. I found the right one on an obscure forum that I can't think of right now. The quick answer is this:

Use the correct version of DISM to service the image. They must be in the same "generation".

For Windows 8.1 and Windows Server 2012 R2 this version is : 6.3.9600.16384

For Windows 8 and Windows Server 2012 and below this version is : 6.2.9200.16384

Background and Setup:

I have a Windows Server 2012 box running System Center Configuration Manager 2012 R2. We are in the process of switching our primary OS for new systems to Windows 8.1 Enterprise x64. As I build my images the old fashioned I tend to forget a few things from time to time. In this case I built the image without installing the .NET feature. The instructions to do that are here: http://technet.microsoft.com/en-us/library/dn482069.aspx

So I'm following the instructions to get a refresher on the procedure and I hit this error.


 
 
and the corresponding log file:
 

After googling a bit I find little to nothing about what this error even means. I get the idea of the error. DISM cannot service the image, but why?

Solution:

I had a moment of clarity and realized that my host OS is a version lower than the version of image I'm servicing. Even though the newest version of ADK (8.1) is installed on the host machine it's not using the newer version of DISM. My PATH variable is set to run DISM from:

C:\Windows\System32\dism.exe (version  6.2.9200.16384)

instead of

C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\amd64\DISM (version 6.3.9600.16384)

When I put the full path of the newer version in the command the image installed the features requested. Below is a screenshot of the correct path and command.