The UpdateImage Windows Management Instrumentation (WMI) class method, in Configuration Manager, creates a copy of the current boot image source .wim file and updates the copy with the most current operating system deployment binaries.

The following syntax is simplified from Managed Object Format (MOF) code and defines the method.

SInt32 UpdateImage();



Return Values

An SInt32 data type that is 0 to indicate success or non-zero to indicate failure.

For information about handling returned errors, see About Configuration Manager Errors.


Your application calls this method only when Configuration Manager is upgrading from an operating system release candidate to an RTM version.


Runtime Requirements

Development Requirements

See Also

Send comments about this topic to Microsoft.