After injecting a hotfix into an offline image DISM will list it as "Not present"

Applies to: Windows Server 2012 DatacenterWindows Server 2012 DatacenterWindows Server 2012 Essentials More

Symptoms


Consider the following scenario:
  • You are modifying an image within a WIM file, such as Windows Server 2012, where a role or feature files (also called feature payload) has been removed using Features on Demand. Alternatively, the image you are modifying within the WIM may already have a limited feature set (for example, Server Core for Windows Server 2012).
  • You inject a hotfix into the image, where the hotfix is for a feature payload that is not present in the target image. For example, you inject a Microsoft Store hotfix into a Server Core image which does not have the Desktop Experience feature installed (which includes the Microsoft Store app and tile). 
In this scenario, using DISM.exe with the /get-packages switch will report the hotfix as "Not present", even though DISM reported the injection of the hotfix as successful. In addition, once the image has been deployed the hotfix will not be listed as an installed hotfix.

Cause


To reduce image size, the feature payload has been removed using Features on Demand. Windows cannot update roles or features that have had their payload removed.

More Information


More information on configuring Features on Demand in Windows Server 2012 can be found by accessing the following Microsoft TechNet link:

Configure Features on Demand in Windows Server

More information on Server Core for Windows Server 2012 can be found by accessing the following MSDN link:

Server Core for Windows Server 2012