The UpdateDefaultImage Windows Management Instrumentation (WMI) class method, in Configuration Manager, creates a copy of the .wim image pointed to by the ImagePath property and injects it with operating system deployment files for boot image deployment.

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

SInt32 UpdateDefaultImage();



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.


This method expects an SMS_BootImagePackage instance with the ImagePath property being a valid .wim image.

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