COM Error Codes (VOLMGR, BCD, VHD, SDIAG)

Header: winerror.h

The following table provides a list of error codes used by COM-based APIs.

If you are experiencing difficulty with an application you are installing or running, contact customer support for the software that is displaying the error message. To obtain support for a Microsoft product, go to https://support.microsoft.com.

SymbolicCodeDescription
ERROR_VOLMGR_INCOMPLETE_REGENERATION0x80380001The regeneration operation was not able to copy all data from the active plexes due to bad sectors.
ERROR_VOLMGR_INCOMPLETE_DISK_MIGRATION0x80380002One or more disks were not fully migrated to the target pack. They may or may not require reimport after fixing the hardware problems.
ERROR_VOLMGR_DATABASE_FULL0xC0380001The configuration database is full.
ERROR_VOLMGR_DISK_CONFIGURATION_CORRUPTED0xC0380002The configuration data on the disk is corrupted.
ERROR_VOLMGR_DISK_CONFIGURATION_NOT_IN_SYNC0xC0380003The configuration on the disk is not insync with the in-memory configuration.
ERROR_VOLMGR_PACK_CONFIG_UPDATE_FAILED0xC0380004A majority of disks failed to be updated with the new configuration.
ERROR_VOLMGR_DISK_CONTAINS_NON_SIMPLE_VOLUME0xC0380005The disk contains non-simple volumes.
ERROR_VOLMGR_DISK_DUPLICATE0xC0380006The same disk was specified more than once in the migration list.
ERROR_VOLMGR_DISK_DYNAMIC0xC0380007The disk is already dynamic.
ERROR_VOLMGR_DISK_ID_INVALID0xC0380008The specified disk id is invalid. There are no disks with the specified disk id.
ERROR_VOLMGR_DISK_INVALID0xC0380009The specified disk is an invalid disk. Operation cannot complete on an invalid disk.
ERROR_VOLMGR_DISK_LAST_VOTER0xC038000AThe specified disk(s) cannot be removed since it is the last remaining voter.
ERROR_VOLMGR_DISK_LAYOUT_INVALID0xC038000BThe specified disk has an invalid disk layout.
ERROR_VOLMGR_DISK_LAYOUT_NON_BASIC_BETWEEN_BASIC_PARTITIONS0xC038000CThe disk layout contains non-basic partitions which appear after basic partitions. This is an invalid disk layout.
ERROR_VOLMGR_DISK_LAYOUT_NOT_CYLINDER_ALIGNED0xC038000DThe disk layout contains partitions which are not cylinder aligned.
ERROR_VOLMGR_DISK_LAYOUT_PARTITIONS_TOO_SMALL0xC038000EThe disk layout contains partitions which are smaller than the minimum size.
ERROR_VOLMGR_DISK_LAYOUT_PRIMARY_BETWEEN_LOGICAL_PARTITIONS0xC038000FThe disk layout contains primary partitions in between logical drives. This is an invalid disk layout.
ERROR_VOLMGR_DISK_LAYOUT_TOO_MANY_PARTITIONS0xC0380010The disk layout contains more than the maximum number of supported partitions.
ERROR_VOLMGR_DISK_MISSING0xC0380011The specified disk is missing. The operation cannot complete on a missing disk.
ERROR_VOLMGR_DISK_NOT_EMPTY0xC0380012The specified disk is not empty.
ERROR_VOLMGR_DISK_NOT_ENOUGH_SPACE0xC0380013There is not enough usable space for this operation.
ERROR_VOLMGR_DISK_REVECTORING_FAILED0xC0380014The force revectoring of bad sectors failed.
ERROR_VOLMGR_DISK_SECTOR_SIZE_INVALID0xC0380015The specified disk has an invalid sector size.
ERROR_VOLMGR_DISK_SET_NOT_CONTAINED0xC0380016The specified disk set contains volumes which exist on disks outside of the set.
ERROR_VOLMGR_DISK_USED_BY_MULTIPLE_MEMBERS0xC0380017A disk in the volume layout provides extents to more than one member of a plex.
ERROR_VOLMGR_DISK_USED_BY_MULTIPLE_PLEXES0xC0380018A disk in the volume layout provides extents to more than one plex.
ERROR_VOLMGR_DYNAMIC_DISK_NOT_SUPPORTED0xC0380019Dynamic disks are not supported on this system.
ERROR_VOLMGR_EXTENT_ALREADY_USED0xC038001AThe specified extent is already used by other volumes.
ERROR_VOLMGR_EXTENT_NOT_CONTIGUOUS0xC038001BThe specified volume is retained and can only be extended into a contiguous extent. The specified extent to grow the volume is not contiguous with the specified volume.
ERROR_VOLMGR_EXTENT_NOT_IN_PUBLIC_REGION0xC038001CThe specified volume extent is not within the public region of the disk.
ERROR_VOLMGR_EXTENT_NOT_SECTOR_ALIGNED0xC038001DThe specified volume extent is not sector aligned.
ERROR_VOLMGR_EXTENT_OVERLAPS_EBR_PARTITION0xC038001EThe specified partition overlaps an EBR (the first track of an extended partition on a MBR disks).
ERROR_VOLMGR_EXTENT_VOLUME_LENGTHS_DO_NOT_MATCH0xC038001FThe specified extent lengths cannot be used to construct a volume with specified length.
ERROR_VOLMGR_FAULT_TOLERANT_NOT_SUPPORTED0xC0380020The system does not support fault tolerant volumes.
ERROR_VOLMGR_INTERLEAVE_LENGTH_INVALID0xC0380021The specified interleave length is invalid.
ERROR_VOLMGR_MAXIMUM_REGISTERED_USERS0xC0380022There is already a maximum number of registered users.
ERROR_VOLMGR_MEMBER_IN_SYNC0xC0380023The specified member is already in-sync with the other active members. It does not need to be regenerated.
ERROR_VOLMGR_MEMBER_INDEX_DUPLICATE0xC0380024The same member index was specified more than once.
ERROR_VOLMGR_MEMBER_INDEX_INVALID0xC0380025The specified member index is greater or equal than the number of members in the volume plex.
ERROR_VOLMGR_MEMBER_MISSING0xC0380026The specified member is missing. It cannot be regenerated.
ERROR_VOLMGR_MEMBER_NOT_DETACHED0xC0380027The specified member is not detached. Cannot replace a member which is not detached.
ERROR_VOLMGR_MEMBER_REGENERATING0xC0380028The specified member is already regenerating.
ERROR_VOLMGR_ALL_DISKS_FAILED0xC0380029All disks belonging to the pack failed.
ERROR_VOLMGR_NO_REGISTERED_USERS0xC038002AThere are currently no registered users for notifications. The task number is irrelevant unless there are registered users.
ERROR_VOLMGR_NO_SUCH_USER0xC038002BThe specified notification user does not exist. Failed to unregister user for notifications.
ERROR_VOLMGR_NOTIFICATION_RESET0xC038002CThe notifications have been reset. Notifications for the current user are invalid. Unregister and re-register for notifications.
ERROR_VOLMGR_NUMBER_OF_MEMBERS_INVALID0xC038002DThe specified number of members is invalid.
ERROR_VOLMGR_NUMBER_OF_PLEXES_INVALID0xC038002EThe specified number of plexes is invalid.
ERROR_VOLMGR_PACK_DUPLICATE0xC038002FThe specified source and target packs are identical.
ERROR_VOLMGR_PACK_ID_INVALID0xC0380030The specified pack id is invalid. There are no packs with the specified pack id.
ERROR_VOLMGR_PACK_INVALID0xC0380031The specified pack is the invalid pack. The operation cannot complete with the invalid pack.
ERROR_VOLMGR_PACK_NAME_INVALID0xC0380032The specified pack name is invalid.
ERROR_VOLMGR_PACK_OFFLINE0xC0380033The specified pack is offline.
ERROR_VOLMGR_PACK_HAS_QUORUM0xC0380034The specified pack already has a quorum of healthy disks.
ERROR_VOLMGR_PACK_WITHOUT_QUORUM0xC0380035The pack does not have a quorum of healthy disks.
ERROR_VOLMGR_PARTITION_STYLE_INVALID0xC0380036The specified disk has an unsupported partition style. Only MBR and GPT partition styles are supported.
ERROR_VOLMGR_PARTITION_UPDATE_FAILED0xC0380037Failed to update the disk's partition layout.
ERROR_VOLMGR_PLEX_IN_SYNC0xC0380038The specified plex is already in-sync with the other active plexes. It does not need to be regenerated.
ERROR_VOLMGR_PLEX_INDEX_DUPLICATE0xC0380039The same plex index was specified more than once.
ERROR_VOLMGR_PLEX_INDEX_INVALID0xC038003AThe specified plex index is greater or equal than the number of plexes in the volume.
ERROR_VOLMGR_PLEX_LAST_ACTIVE0xC038003BThe specified plex is the last active plex in the volume. The plex cannot be removed or else the volume will go offline.
ERROR_VOLMGR_PLEX_MISSING0xC038003CThe specified plex is missing.
ERROR_VOLMGR_PLEX_REGENERATING0xC038003DThe specified plex is currently regenerating.
ERROR_VOLMGR_PLEX_TYPE_INVALID0xC038003EThe specified plex type is invalid.
ERROR_VOLMGR_PLEX_NOT_RAID50xC038003FThe operation is only supported on RAID-5 plexes.
ERROR_VOLMGR_PLEX_NOT_SIMPLE0xC0380040The operation is only supported on simple plexes.
ERROR_VOLMGR_STRUCTURE_SIZE_INVALID0xC0380041The Size fields in the VM_VOLUME_LAYOUT input structure are incorrectly set.
ERROR_VOLMGR_TOO_MANY_NOTIFICATION_REQUESTS0xC0380042There is already a pending request for notifications. Wait for the existing request to return before requesting for more notifications.
ERROR_VOLMGR_TRANSACTION_IN_PROGRESS0xC0380043There is currently a transaction in process.
ERROR_VOLMGR_UNEXPECTED_DISK_LAYOUT_CHANGE0xC0380044An unexpected layout change occurred outside of the volume manager.
ERROR_VOLMGR_VOLUME_CONTAINS_MISSING_DISK0xC0380045The specified volume contains a missing disk.
ERROR_VOLMGR_VOLUME_ID_INVALID0xC0380046The specified volume id is invalid. There are no volumes with the specified volume id.
ERROR_VOLMGR_VOLUME_LENGTH_INVALID0xC0380047The specified volume length is invalid.
ERROR_VOLMGR_VOLUME_LENGTH_NOT_SECTOR_SIZE_MULTIPLE0xC0380048The specified size for the volume is not a multiple of the sector size.
ERROR_VOLMGR_VOLUME_NOT_MIRRORED0xC0380049The operation is only supported on mirrored volumes.
ERROR_VOLMGR_VOLUME_NOT_RETAINED0xC038004AThe specified volume does not have a retain partition.
ERROR_VOLMGR_VOLUME_OFFLINE0xC038004BThe specified volume is offline.
ERROR_VOLMGR_VOLUME_RETAINED0xC038004CThe specified volume already has a retain partition.
ERROR_VOLMGR_NUMBER_OF_EXTENTS_INVALID0xC038004DThe specified number of extents is invalid.
ERROR_VOLMGR_DIFFERENT_SECTOR_SIZE0xC038004EAll disks participating to the volume must have the same sector size.
ERROR_VOLMGR_BAD_BOOT_DISK0xC038004FThe boot disk experienced failures.
ERROR_VOLMGR_PACK_CONFIG_OFFLINE0xC0380050The configuration of the pack is offline.
ERROR_VOLMGR_PACK_CONFIG_ONLINE0xC0380051The configuration of the pack is online.
ERROR_VOLMGR_NOT_PRIMARY_PACK0xC0380052The specified pack is not the primary pack.
ERROR_VOLMGR_PACK_LOG_UPDATE_FAILED0xC0380053All disks failed to be updated with the new content of the log.
ERROR_VOLMGR_NUMBER_OF_DISKS_IN_PLEX_INVALID0xC0380054The specified number of disks in a plex is invalid.
ERROR_VOLMGR_NUMBER_OF_DISKS_IN_MEMBER_INVALID0xC0380055The specified number of disks in a plex member is invalid.
ERROR_VOLMGR_VOLUME_MIRRORED0xC0380056The operation is not supported on mirrored volumes.
ERROR_VOLMGR_PLEX_NOT_SIMPLE_SPANNED0xC0380057The operation is only supported on simple and spanned plexes.
ERROR_VOLMGR_NO_VALID_LOG_COPIES0xC0380058The pack has no valid log copies.
ERROR_VOLMGR_PRIMARY_PACK_PRESENT0xC0380059A primary pack is already present.
ERROR_VOLMGR_NUMBER_OF_DISKS_INVALID0xC038005AThe specified number of disks is invalid.
ERROR_VOLMGR_MIRROR_NOT_SUPPORTED0xC038005BThe system does not support mirrored volumes.
ERROR_VOLMGR_RAID5_NOT_SUPPORTED0xC038005CThe system does not support RAID-5 volumes.
ERROR_BCD_NOT_ALL_ENTRIES_IMPORTED0x80390001Some BCD entries were not imported correctly from the BCD store.
ERROR_BCD_TOO_MANY_ELEMENTS0xC0390002Entries enumerated have exceeded the allowed threshold.
ERROR_BCD_NOT_ALL_ENTRIES_SYNCHRONIZED0x80390003Some BCD entries were not synchronized correctly with the firmware.
ERROR_VHD_DRIVE_FOOTER_MISSING0xC03A0001The virtual hard disk is corrupted. The virtual hard disk drive footer is missing.
ERROR_VHD_DRIVE_FOOTER_CHECKSUM_MISMATCH0xC03A0002The virtual hard disk is corrupted. The virtual hard disk drive footer checksum does not match the on-disk checksum.
ERROR_VHD_DRIVE_FOOTER_CORRUPT0xC03A0003The virtual hard disk is corrupted. The virtual hard disk drive footer in the virtual hard disk is corrupted.
ERROR_VHD_FORMAT_UNKNOWN0xC03A0004The system does not recognize the file format of this virtual hard disk.
ERROR_VHD_FORMAT_UNSUPPORTED_VERSION0xC03A0005The version does not support this version of the file format.
ERROR_VHD_SPARSE_HEADER_CHECKSUM_MISMATCH0xC03A0006The virtual hard disk is corrupted. The sparse header checksum does not match the on-disk checksum.
ERROR_VHD_SPARSE_HEADER_UNSUPPORTED_VERSION0xC03A0007The system does not support this version of the virtual hard disk.This version of the sparse header is not supported.
ERROR_VHD_SPARSE_HEADER_CORRUPT0xC03A0008The virtual hard disk is corrupted. The sparse header in the virtual hard disk is corrupt.
ERROR_VHD_BLOCK_ALLOCATION_FAILURE0xC03A0009Failed to write to the virtual hard disk failed because the system failed to allocate a new block in the virtual hard disk.
ERROR_VHD_BLOCK_ALLOCATION_TABLE_CORRUPT0xC03A000AThe virtual hard disk is corrupted. The block allocation table in the virtual hard disk is corrupt.
ERROR_VHD_INVALID_BLOCK_SIZE0xC03A000BThe system does not support this version of the virtual hard disk. The block size is invalid.
ERROR_VHD_BITMAP_MISMATCH0xC03A000CThe virtual hard disk is corrupted. The block bitmap does not match with the block data present in the virtual hard disk.
ERROR_VHD_PARENT_VHD_NOT_FOUND0xC03A000DThe chain of virtual hard disks is broken. The system cannot locate the parent virtual hard disk for the differencing disk.
ERROR_VHD_CHILD_PARENT_ID_MISMATCH0xC03A000EThe chain of virtual hard disks is corrupted. There is a mismatch in the identifiers of the parent virtual hard disk and differencing disk.
ERROR_VHD_CHILD_PARENT_TIMESTAMP_MISMATCH0xC03A000FThe chain of virtual hard disks is corrupted. The time stamp of the parent virtual hard disk does not match the time stamp of the differencing disk.
ERROR_VHD_METADATA_READ_FAILURE0xC03A0010Failed to read the metadata of the virtual hard disk.
ERROR_VHD_METADATA_WRITE_FAILURE0xC03A0011Failed to write to the metadata of the virtual hard disk.
ERROR_VHD_INVALID_SIZE0xC03A0012The size of the virtual hard disk is not valid.
ERROR_VHD_INVALID_FILE_SIZE0xC03A0013The file size of this virtual hard disk is not valid.
ERROR_VIRTDISK_PROVIDER_NOT_FOUND0xC03A0014A virtual disk support provider for the specified file was not found.
ERROR_VIRTDISK_NOT_VIRTUAL_DISK0xC03A0015The specified disk is not a virtual disk.
ERROR_VHD_PARENT_VHD_ACCESS_DENIED0xC03A0016The chain of virtual hard disks is inaccessible. The process has not been granted access rights to the parent virtual hard disk for the differencing disk.
ERROR_VHD_CHILD_PARENT_SIZE_MISMATCH0xC03A0017The chain of virtual hard disks is corrupted. There is a mismatch in the virtual sizes of the parent virtual hard disk and differencing disk.
ERROR_VHD_DIFFERENCING_CHAIN_CYCLE_DETECTED0xC03A0018The chain of virtual hard disks is corrupted. A differencing disk is indicated in its own parent chain.
ERROR_VHD_DIFFERENCING_CHAIN_ERROR_IN_PARENT0xC03A0019The chain of virtual hard disks is inaccessible. There was an error opening a virtual hard disk further up the chain.
ERROR_VIRTUAL_DISK_LIMITATION0xC03A001AThe requested operation could not be completed due to a virtual disk system limitation. On NTFS, virtual hard disk files must be uncompressed and unencrypted. On ReFS, virtual hard disk files must not have the integrity bit set.
ERROR_VHD_INVALID_TYPE0xC03A001BThe requested operation cannot be performed on a virtual disk of this type.
ERROR_VHD_INVALID_STATE0xC03A001CThe requested operation cannot be performed on the virtual disk in its current state.
ERROR_VIRTDISK_UNSUPPORTED_DISK_SECTOR_SIZE0xC03A001DThe sector size of the physical disk on which the virtual disk resides is not supported.
ERROR_VIRTDISK_DISK_ALREADY_OWNED0xC03A001EThe disk is already owned by a different owner.
ERROR_VIRTDISK_DISK_ONLINE_AND_WRITABLE0xC03A001FThe disk must be offline or read-only.
ERROR_CTLOG_TRACKING_NOT_INITIALIZED0xC03A0020Change Tracking is not initialized for this Virtual Disk.
ERROR_CTLOG_LOGFILE_SIZE_EXCEEDED_MAXSIZE0xC03A0021Size of change tracking file exceeded the maximum size limit
ERROR_CTLOG_VHD_CHANGED_OFFLINE0xC03A0022VHD file is changed due to compaction, expansion or offline patching
ERROR_CTLOG_INVALID_TRACKING_STATE0xC03A0023Change Tracking for the virtual disk is not in a valid state to perform this request. Change tracking could be discontinued or already in the requested state.
ERROR_CTLOG_INCONSISTANT_TRACKING_FILE0xC03A0024Change Tracking file for the virtual disk is not in a valid state.
ERROR_VHD_RESIZE_WOULD_TRUNCATE_DATA0xC03A0025The requested resize operation could not be completed because it might truncate user data residing on the virtual disk.
ERROR_VHD_COULD_NOT_COMPUTE_MINIMUM_VIRTUAL_SIZE0xC03A0026The requested operation could not be completed because the virtual disk's minimum safe size could not be determined. This may be due to a missing or corrupt partition table.
ERROR_VHD_ALREADY_AT_OR_BELOW_MINIMUM_VIRTUAL_SIZE0xC03A0027The requested operation could not be completed because the virtual disk's size cannot be safely reduced further.
ERROR_VHD_METADATA_FULL0xC03A0028There is not enough space in the virtual disk file for the provided metadata item.
ERROR_QUERY_STORAGE_ERROR0x803A0001The virtualization storage subsystem has generated an error.
SDIAG_E_CANCELLED0x803C0100The operation was canceled.
SDIAG_E_SCRIPT0x803C0101An error occurred when running a PowerShell script.
SDIAG_E_POWERSHELL0x803C0102An error occurred when interacting with PowerShell runtime.
SDIAG_E_MANAGEDHOST0x803C0103An error occurred in the Scripted Diagnostic Managed Host.
SDIAG_E_NOVERIFIER0x803C0104The troubleshooting pack does not contain a required verifier to complete the verification.
SDIAG_S_CANNOTRUN0x003C0105The troubleshooting pack cannot be executed on this system.
SDIAG_E_DISABLED0x803C0106Scripted diagnostics is disabled by group policy.
SDIAG_E_TRUST0x803C0107Trust validation of the diagnostic package failed.
SDIAG_E_CANNOTRUN0x803C0108The troubleshooting pack cannot be executed on this system.
SDIAG_E_VERSION0x803C0109This version of the troubleshooting pack is not supported.
SDIAG_E_RESOURCE0x803C010AA required resource cannot be loaded.
SDIAG_E_ROOTCAUSE0x803C010BThe troubleshooting pack reported information for a root cause without adding the root cause.
150 entries

Article text from the Win32 documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.