Edit

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

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.

Constant/value Description
ERROR_VOLMGR_INCOMPLETE_REGENERATION
0x80380001
The regeneration operation was not able to copy all data from the active plexes due to bad sectors.
ERROR_VOLMGR_INCOMPLETE_DISK_MIGRATION
0x80380002
One 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_FULL
0xC0380001
The configuration database is full.
ERROR_VOLMGR_DISK_CONFIGURATION_CORRUPTED
0xC0380002
The configuration data on the disk is corrupted.
ERROR_VOLMGR_DISK_CONFIGURATION_NOT_IN_SYNC
0xC0380003
The configuration on the disk is not insync with the in-memory configuration.
ERROR_VOLMGR_PACK_CONFIG_UPDATE_FAILED
0xC0380004
A majority of disks failed to be updated with the new configuration.
ERROR_VOLMGR_DISK_CONTAINS_NON_SIMPLE_VOLUME
0xC0380005
The disk contains non-simple volumes.
ERROR_VOLMGR_DISK_DUPLICATE
0xC0380006
The same disk was specified more than once in the migration list.
ERROR_VOLMGR_DISK_DYNAMIC
0xC0380007
The disk is already dynamic.
ERROR_VOLMGR_DISK_ID_INVALID
0xC0380008
The specified disk id is invalid. There are no disks with the specified disk id.
ERROR_VOLMGR_DISK_INVALID
0xC0380009
The specified disk is an invalid disk. Operation cannot complete on an invalid disk.
ERROR_VOLMGR_DISK_LAST_VOTER
0xC038000A
The specified disk(s) cannot be removed since it is the last remaining voter.
ERROR_VOLMGR_DISK_LAYOUT_INVALID
0xC038000B
The specified disk has an invalid disk layout.
ERROR_VOLMGR_DISK_LAYOUT_NON_BASIC_BETWEEN_BASIC_PARTITIONS
0xC038000C
The disk layout contains non-basic partitions which appear after basic partitions. This is an invalid disk layout.
ERROR_VOLMGR_DISK_LAYOUT_NOT_CYLINDER_ALIGNED
0xC038000D
The disk layout contains partitions which are not cylinder aligned.
ERROR_VOLMGR_DISK_LAYOUT_PARTITIONS_TOO_SMALL
0xC038000E
The disk layout contains partitions which are smaller than the minimum size.
ERROR_VOLMGR_DISK_LAYOUT_PRIMARY_BETWEEN_LOGICAL_PARTITIONS
0xC038000F
The disk layout contains primary partitions in between logical drives. This is an invalid disk layout.
ERROR_VOLMGR_DISK_LAYOUT_TOO_MANY_PARTITIONS
0xC0380010
The disk layout contains more than the maximum number of supported partitions.
ERROR_VOLMGR_DISK_MISSING
0xC0380011
The specified disk is missing. The operation cannot complete on a missing disk.
ERROR_VOLMGR_DISK_NOT_EMPTY
0xC0380012
The specified disk is not empty.
ERROR_VOLMGR_DISK_NOT_ENOUGH_SPACE
0xC0380013
There is not enough usable space for this operation.
ERROR_VOLMGR_DISK_REVECTORING_FAILED
0xC0380014
The force revectoring of bad sectors failed.
ERROR_VOLMGR_DISK_SECTOR_SIZE_INVALID
0xC0380015
The specified disk has an invalid sector size.
ERROR_VOLMGR_DISK_SET_NOT_CONTAINED
0xC0380016
The specified disk set contains volumes which exist on disks outside of the set.
ERROR_VOLMGR_DISK_USED_BY_MULTIPLE_MEMBERS
0xC0380017
A disk in the volume layout provides extents to more than one member of a plex.
ERROR_VOLMGR_DISK_USED_BY_MULTIPLE_PLEXES
0xC0380018
A disk in the volume layout provides extents to more than one plex.
ERROR_VOLMGR_DYNAMIC_DISK_NOT_SUPPORTED
0xC0380019
Dynamic disks are not supported on this system.
ERROR_VOLMGR_EXTENT_ALREADY_USED
0xC038001A
The specified extent is already used by other volumes.
ERROR_VOLMGR_EXTENT_NOT_CONTIGUOUS
0xC038001B
The 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_REGION
0xC038001C
The specified volume extent is not within the public region of the disk.
ERROR_VOLMGR_EXTENT_NOT_SECTOR_ALIGNED
0xC038001D
The specified volume extent is not sector aligned.
ERROR_VOLMGR_EXTENT_OVERLAPS_EBR_PARTITION
0xC038001E
The specified partition overlaps an EBR (the first track of an extended partition on a MBR disks).
ERROR_VOLMGR_EXTENT_VOLUME_LENGTHS_DO_NOT_MATCH
0xC038001F
The specified extent lengths cannot be used to construct a volume with specified length.
ERROR_VOLMGR_FAULT_TOLERANT_NOT_SUPPORTED
0xC0380020
The system does not support fault tolerant volumes.
ERROR_VOLMGR_INTERLEAVE_LENGTH_INVALID
0xC0380021
The specified interleave length is invalid.
ERROR_VOLMGR_MAXIMUM_REGISTERED_USERS
0xC0380022
There is already a maximum number of registered users.
ERROR_VOLMGR_MEMBER_IN_SYNC
0xC0380023
The specified member is already in-sync with the other active members. It does not need to be regenerated.
ERROR_VOLMGR_MEMBER_INDEX_DUPLICATE
0xC0380024
The same member index was specified more than once.
ERROR_VOLMGR_MEMBER_INDEX_INVALID
0xC0380025
The specified member index is greater or equal than the number of members in the volume plex.
ERROR_VOLMGR_MEMBER_MISSING
0xC0380026
The specified member is missing. It cannot be regenerated.
ERROR_VOLMGR_MEMBER_NOT_DETACHED
0xC0380027
The specified member is not detached. Cannot replace a member which is not detached.
ERROR_VOLMGR_MEMBER_REGENERATING
0xC0380028
The specified member is already regenerating.
ERROR_VOLMGR_ALL_DISKS_FAILED
0xC0380029
All disks belonging to the pack failed.
ERROR_VOLMGR_NO_REGISTERED_USERS
0xC038002A
There are currently no registered users for notifications. The task number is irrelevant unless there are registered users.
ERROR_VOLMGR_NO_SUCH_USER
0xC038002B
The specified notification user does not exist. Failed to unregister user for notifications.
ERROR_VOLMGR_NOTIFICATION_RESET
0xC038002C
The notifications have been reset. Notifications for the current user are invalid. Unregister and re-register for notifications.
ERROR_VOLMGR_NUMBER_OF_MEMBERS_INVALID
0xC038002D
The specified number of members is invalid.
ERROR_VOLMGR_NUMBER_OF_PLEXES_INVALID
0xC038002E
The specified number of plexes is invalid.
ERROR_VOLMGR_PACK_DUPLICATE
0xC038002F
The specified source and target packs are identical.
ERROR_VOLMGR_PACK_ID_INVALID
0xC0380030
The specified pack id is invalid. There are no packs with the specified pack id.
ERROR_VOLMGR_PACK_INVALID
0xC0380031
The specified pack is the invalid pack. The operation cannot complete with the invalid pack.
ERROR_VOLMGR_PACK_NAME_INVALID
0xC0380032
The specified pack name is invalid.
ERROR_VOLMGR_PACK_OFFLINE
0xC0380033
The specified pack is offline.
ERROR_VOLMGR_PACK_HAS_QUORUM
0xC0380034
The specified pack already has a quorum of healthy disks.
ERROR_VOLMGR_PACK_WITHOUT_QUORUM
0xC0380035
The pack does not have a quorum of healthy disks.
ERROR_VOLMGR_PARTITION_STYLE_INVALID
0xC0380036
The specified disk has an unsupported partition style. Only MBR and GPT partition styles are supported.
ERROR_VOLMGR_PARTITION_UPDATE_FAILED
0xC0380037
Failed to update the disk's partition layout.
ERROR_VOLMGR_PLEX_IN_SYNC
0xC0380038
The specified plex is already in-sync with the other active plexes. It does not need to be regenerated.
ERROR_VOLMGR_PLEX_INDEX_DUPLICATE
0xC0380039
The same plex index was specified more than once.
ERROR_VOLMGR_PLEX_INDEX_INVALID
0xC038003A
The specified plex index is greater or equal than the number of plexes in the volume.
ERROR_VOLMGR_PLEX_LAST_ACTIVE
0xC038003B
The 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_MISSING
0xC038003C
The specified plex is missing.
ERROR_VOLMGR_PLEX_REGENERATING
0xC038003D
The specified plex is currently regenerating.
ERROR_VOLMGR_PLEX_TYPE_INVALID
0xC038003E
The specified plex type is invalid.
ERROR_VOLMGR_PLEX_NOT_RAID5
0xC038003F
The operation is only supported on RAID-5 plexes.
ERROR_VOLMGR_PLEX_NOT_SIMPLE
0xC0380040
The operation is only supported on simple plexes.
ERROR_VOLMGR_STRUCTURE_SIZE_INVALID
0xC0380041
The Size fields in the VM_VOLUME_LAYOUT input structure are incorrectly set.
ERROR_VOLMGR_TOO_MANY_NOTIFICATION_REQUESTS
0xC0380042
There is already a pending request for notifications. Wait for the existing request to return before requesting for more notifications.
ERROR_VOLMGR_TRANSACTION_IN_PROGRESS
0xC0380043
There is currently a transaction in process.
ERROR_VOLMGR_UNEXPECTED_DISK_LAYOUT_CHANGE
0xC0380044
An unexpected layout change occurred outside of the volume manager.
ERROR_VOLMGR_VOLUME_CONTAINS_MISSING_DISK
0xC0380045
The specified volume contains a missing disk.
ERROR_VOLMGR_VOLUME_ID_INVALID
0xC0380046
The specified volume id is invalid. There are no volumes with the specified volume id.
ERROR_VOLMGR_VOLUME_LENGTH_INVALID
0xC0380047
The specified volume length is invalid.
ERROR_VOLMGR_VOLUME_LENGTH_NOT_SECTOR_SIZE_MULTIPLE
0xC0380048
The specified size for the volume is not a multiple of the sector size.
ERROR_VOLMGR_VOLUME_NOT_MIRRORED
0xC0380049
The operation is only supported on mirrored volumes.
ERROR_VOLMGR_VOLUME_NOT_RETAINED
0xC038004A
The specified volume does not have a retain partition.
ERROR_VOLMGR_VOLUME_OFFLINE
0xC038004B
The specified volume is offline.
ERROR_VOLMGR_VOLUME_RETAINED
0xC038004C
The specified volume already has a retain partition.
ERROR_VOLMGR_NUMBER_OF_EXTENTS_INVALID
0xC038004D
The specified number of extents is invalid.
ERROR_VOLMGR_DIFFERENT_SECTOR_SIZE
0xC038004E
All disks participating to the volume must have the same sector size.
ERROR_VOLMGR_BAD_BOOT_DISK
0xC038004F
The boot disk experienced failures.
ERROR_VOLMGR_PACK_CONFIG_OFFLINE
0xC0380050
The configuration of the pack is offline.
ERROR_VOLMGR_PACK_CONFIG_ONLINE
0xC0380051
The configuration of the pack is online.
ERROR_VOLMGR_NOT_PRIMARY_PACK
0xC0380052
The specified pack is not the primary pack.
ERROR_VOLMGR_PACK_LOG_UPDATE_FAILED
0xC0380053
All disks failed to be updated with the new content of the log.
ERROR_VOLMGR_NUMBER_OF_DISKS_IN_PLEX_INVALID
0xC0380054
The specified number of disks in a plex is invalid.
ERROR_VOLMGR_NUMBER_OF_DISKS_IN_MEMBER_INVALID
0xC0380055
The specified number of disks in a plex member is invalid.
ERROR_VOLMGR_VOLUME_MIRRORED
0xC0380056
The operation is not supported on mirrored volumes.
ERROR_VOLMGR_PLEX_NOT_SIMPLE_SPANNED
0xC0380057
The operation is only supported on simple and spanned plexes.
ERROR_VOLMGR_NO_VALID_LOG_COPIES
0xC0380058
The pack has no valid log copies.
ERROR_VOLMGR_PRIMARY_PACK_PRESENT
0xC0380059
A primary pack is already present.
ERROR_VOLMGR_NUMBER_OF_DISKS_INVALID
0xC038005A
The specified number of disks is invalid.
ERROR_VOLMGR_MIRROR_NOT_SUPPORTED
0xC038005B
The system does not support mirrored volumes.
ERROR_VOLMGR_RAID5_NOT_SUPPORTED
0xC038005C
The system does not support RAID-5 volumes.
ERROR_BCD_NOT_ALL_ENTRIES_IMPORTED
0x80390001
Some BCD entries were not imported correctly from the BCD store.