Share via


DISM ERROR CODES

Question

Friday, July 12, 2013 12:36 PM

Hi,

I want to know the list of error-codes returned by "DISM" commands, i am not finding any thing on net.

Can someone post them here?

All replies (2)

Friday, August 5, 2016 11:33 AM âś…Answered

I know this is an old question, but just in case someone reaches this page upon search

The codes should be in the file DismAPI.h, that is available as part of Windows Assessment and Deployment Kit (Windows ADK). At the moment, it is available at https://www.microsoft.com/en-us/download/details.aspx?id=39982&751be11f-ede8-5a0c-058c-2ee190a24fa6=True

EDIT:

Unfortunately, I am still unable to find the list of error codes, even after installing the ADK :(


Friday, August 5, 2016 4:46 PM

DISM is pretty complex utility. It is used for installing and servicing Windows. Error codes are scattered all over the web - some individual error codes and some in groups. i.e. Here is a small set for the DISM API

https://msdn.microsoft.com/en-us/library/windows/desktop/hh825833%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396

The DismAPI.h can be found in C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\SDKs\DismApi\Include

Sean Liming - Book Author: Starter Guide SIM (WEI), Pro Guide to WE8S & WES 7, Pro Guide to POS for .NET - www.annabooks.com / www.seanliming.com