Virtual Disk Service Common Return Codes
[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]
| Symbolic | Code | Description |
|---|---|---|
| VDS_E_NOT_SUPPORTED | 0x80042400 | The operation is not supported by the object. |
| VDS_E_INITIALIZED_FAILED | 0x80042401 | VDS or the provider failed to initialize. |
| VDS_E_INITIALIZE_NOT_CALLED | 0x80042402 | VDS did not call the hardware provider's initialization method. |
| VDS_E_ALREADY_REGISTERED | 0x80042403 | The provider is already registered. |
| VDS_E_ANOTHER_CALL_IN_PROGRESS | 0x80042404 | A concurrent second call is made on an object before the first call is completed. |
| VDS_E_OBJECT_NOT_FOUND | 0x80042405 | The specified object was not found. |
| VDS_E_INVALID_SPACE | 0x80042406 | The specified space is neither free nor valid. |
| VDS_E_PARTITION_LIMIT_REACHED | 0x80042407 | No more partitions can be created on the specified disk. |
| VDS_E_PARTITION_NOT_EMPTY | 0x80042408 | The extended partition is not empty. |
| VDS_E_OPERATION_PENDING | 0x80042409 | The operation is still in progress. |
| VDS_E_OPERATION_DENIED | 0x8004240A | The operation is not permitted on the specified disk, partition, or volume. |
| VDS_E_OBJECT_DELETED | 0x8004240B | The object no longer exists. |
| VDS_E_CANCEL_TOO_LATE | 0x8004240C | The operation can no longer be canceled. |
| VDS_E_OPERATION_CANCELED | 0x8004240D | The operation has already been canceled. |
| VDS_E_CANNOT_EXTEND | 0x8004240E | The file system does not support extending this volume. |
| VDS_E_NOT_ENOUGH_SPACE | 0x8004240F | There is not enough space to complete the operation. |
| VDS_E_NOT_ENOUGH_DRIVE | 0x80042410 | There are not enough free disk drives in the subsystem to complete the operation. |
| VDS_E_BAD_COOKIE | 0x80042411 | The cookie was not found. |
| VDS_E_NO_MEDIA | 0x80042412 | There is no removable media in the drive. |
| VDS_E_DEVICE_IN_USE | 0x80042413 | The device is currently in use. |
| VDS_E_INVALID_OPERATION | 0x80042415 | The specified operation is not valid. |
| VDS_E_PATH_NOT_FOUND | 0x80042416 | The specified path was not found. |
| VDS_E_DISK_NOT_INITIALIZED | 0x80042417 | The specified disk has not been initialized. |
| VDS_E_NOT_AN_UNALLOCATED_DISK | 0x80042418 | The specified disk is not an unallocated disk. |
| VDS_E_UNRECOVERABLE_ERROR | 0x80042419 | An unrecoverable error occurred. The service must shut down. |
| VDS_S_DISK_PARTIALLY_CLEANED | 0x0004241A | The clean operation was not a full clean or was canceled before it could be completed. |
| VDS_E_OBJECT_EXISTS | 0x8004241D | The object already exists. |
| VDS_E_PROVIDER_CACHE_CORRUPT | 0x8004241F | The cache for a provider is corrupt. |
| VDS_E_DMADMIN_METHOD_CALL_FAILED | 0x80042420 | A method call to the Logical Disk Management Administrative service failed. |
| VDS_S_PROVIDER_ERROR_LOADING_CACHE | 0x00042421 | The provider encountered errors while loading the cache. For more information, see the Windows Event Log. |
| VDS_E_PROVIDER_VOL_DEVICE_NAME_NOT_FOUND | 0x80042422 | The device form of the volume pathname could not be retrieved. |
| VDS_E_DMADMIN_CORRUPT_NOTIFICATION | 0x80042424 | A corrupt notification was sent from the Logical Disk Manager Administrative service. |
| VDS_E_INCOMPATIBLE_FILE_SYSTEM | 0x80042425 | The file system is incompatible with the specified operation. |
| VDS_E_INCOMPATIBLE_MEDIA | 0x80042426 | The media is incompatible with the specified operation. |
| VDS_E_ACCESS_DENIED | 0x80042427 | Access is denied. A VDS operation must run under the Backup Operator or Administrators group account. |
| VDS_E_MEDIA_WRITE_PROTECTED | 0x80042428 | The media is write-protected. |
| VDS_E_BAD_LABEL | 0x80042429 | The volume label is not valid. |
| VDS_E_CANT_QUICK_FORMAT | 0x8004242A | The volume cannot be quick-formatted. |
| VDS_E_IO_ERROR | 0x8004242B | An I/O error occurred during the operation. |
| VDS_E_VOLUME_TOO_SMALL | 0x8004242C | The volume size is too small. |
| VDS_E_VOLUME_TOO_BIG | 0x8004242D | The volume size is too large. |
| VDS_E_CLUSTER_SIZE_TOO_SMALL | 0x8004242E | The cluster size is too small. |
| VDS_E_CLUSTER_SIZE_TOO_BIG | 0x8004242F | The cluster size is too large. |
| VDS_E_CLUSTER_COUNT_BEYOND_32BITS | 0x80042430 | The number of clusters is too large to be represented as a 32-bit integer. |
| VDS_E_OBJECT_STATUS_FAILED | 0x80042431 | The device that the object represents has failed and is unable to perform the requested operation. |
| VDS_E_VOLUME_INCOMPLETE | 0x80042432 | The volume is incomplete. |
| VDS_E_EXTENT_SIZE_LESS_THAN_MIN | 0x80042433 | The specified extent size is too small. |
| VDS_S_UPDATE_BOOTFILE_FAILED | 0x00042434 | The operation was successful, but VDS failed to update the boot options in the Boot Configuration Data (BCD) store or boot.ini file. |
| VDS_S_BOOT_PARTITION_NUMBER_CHANGE | 0x00042436 | The partition number of the boot partition changed as the result of the operation. |
| VDS_E_NO_FREE_SPACE | 0x80042437 | The specified disk does not have enough free space to complete the operation. |
| VDS_E_ACTIVE_PARTITION | 0x80042438 | An active partition was detected on the selected disk, and it is not the active partition that was used to boot the active operating system. |
| VDS_E_PARTITION_OF_UNKNOWN_TYPE | 0x80042439 | The partition information cannot be read. |
| VDS_E_LEGACY_VOLUME_FORMAT | 0x8004243A | A partition with an unknown type was detected on the specified disk. |
| VDS_E_NON_CONTIGUOUS_DATA_PARTITIONS | 0x8004243B | The selected GPT disk contains two basic data partitions that are separated by an OEM partition. |
| VDS_E_MIGRATE_OPEN_VOLUME | 0x8004243C | A volume on the specified disk could not be opened. |
| VDS_E_VOLUME_NOT_ONLINE | 0x8004243D | The volume is not online. |
| VDS_E_VOLUME_NOT_HEALTHY | 0x8004243E | The volume is failing or has failed. |
| VDS_E_VOLUME_SPANS_DISKS | 0x8004243F | The volume spans multiple disks. |
| VDS_E_REQUIRES_CONTIGUOUS_DISK_SPACE | 0x80042440 | The volume consists of multiple disk extents. The operation failed because it requires the volume to consist of a single disk extent. |
| VDS_E_BAD_PROVIDER_DATA | 0x80042441 | A provider returned bad data. |
| VDS_E_PROVIDER_FAILURE | 0x80042442 | A provider failed to complete an operation. |
| VDS_S_VOLUME_COMPRESS_FAILED | 0x00042443 | The file system was formatted successfully but could not be compressed. |
| VDS_E_PACK_OFFLINE | 0x80042444 | The pack is offline. |
| VDS_E_VOLUME_NOT_A_MIRROR | 0x80042445 | The volume is not a mirror. |
| VDS_E_NO_EXTENTS_FOR_VOLUME | 0x80042446 | No extents were found for the volume. |
| VDS_E_DISK_NOT_LOADED_TO_CACHE | 0x80042447 | The migrated disk failed to load to the cache. |
| VDS_E_INTERNAL_ERROR | 0x80042448 | VDS encountered an internal error. For more information, see the Windows Event Log. |
| VDS_E_DISK_NOT_ONLINE | 0x8004244B | One or more of the specified disks are not online. |
| VDS_E_DISK_IN_USE_BY_VOLUME | 0x8004244C | One or more extents of the disk are already being used by the volume. |
| VDS_E_VOLUME_NOT_MOUNTED | 0x8004244F | The volume is not mounted. |
| VDS_E_IMPORT_SET_INCOMPLETE | 0x80042451 | An attempt was made to import a subset of the disks in the foreign pack. |
| VDS_E_OBJECT_OUT_OF_SYNC | 0x80042453 | The reference to the object might be stale. |
| VDS_E_MISSING_DISK | 0x80042454 | The specified disk could not be found. |
| VDS_E_DISK_PNP_REG_CORRUPT | 0x80042455 | The provider's list of PnP registered disks has become corrupted. |
| VDS_E_LBN_REMAP_ENABLED_FLAG | 0x80042456 | The provider does not support the VDS_VF_LBN REMAP_ENABLED volume flag. |
| VDS_E_NO_DRIVELETTER_FLAG | 0x80042457 | The provider does not support the VDS_VF_NO DRIVELETTER volume flag. |
| VDS_E_REVERT_ON_CLOSE | 0x80042458 | The bRevertOnClose parameter can only be set to TRUE if the VDS_VF_HIDDEN or VDS_VF_READONLY volume flag is set in the ulFlags parameter. For more information, see IVdsVolume::SetFlags . |
| VDS_E_REVERT_ON_CLOSE_SET | 0x80042459 | Some volume flags are already set. You must clear these flags first, then call IVdsVolume::SetFlags again, specifying TRUE for the bRevertOnClose parameter. |
| VDS_S_UNABLE_TO_GET_GPT_ATTRIBUTES | 0x0004245B | Unable to retrieve the GPT attributes for this volume, (hidden, read only and no drive letter). |
| VDS_E_VOLUME_TEMPORARILY_DISMOUNTED | 0x8004245C | The volume is already dismounted temporarily. |
| VDS_E_VOLUME_PERMANENTLY_DISMOUNTED | 0x8004245D | The volume is already offline. It cannot be dismounted temporarily until it becomes mountable. |
| VDS_E_VOLUME_HAS_PATH | 0x8004245E | The volume cannot be taken offline because it still has an access path. |
| VDS_E_REPAIR_VOLUMESTATE | 0x80042460 | The volume plex cannot be repaired. The volume and plex must be online, and must not be healthy or rebuilding. |
| VDS_E_LDM_TIMEOUT | 0x80042461 | The operation timed out in the Logical Disk Manager Administrative service. Retry the operation. |
| VDS_E_REVERT_ON_CLOSE_MISMATCH | 0x80042462 | The flags to be cleared do not match the flags that were set previously when the IVdsVolume::SetFlags method was called with the bRevertOnClose parameter set to TRUE . |
| VDS_E_RETRY | 0x80042463 | The operation failed. Retry the operation. |
| VDS_E_ONLINE_PACK_EXISTS | 0x80042464 | The operation failed, because an online pack object already exists. |
| VDS_S_GPT_BOOT_MIRRORED_TO_MBR | 0x80042469 | The boot volume on a GPT disk has been mirrored to an MBR disk. The new plex cannot be used to boot the computer. |
| VDS_E_NO_VOLUME_LAYOUT | 0x80042502 | The volume's layout could not be retrieved. |
| VDS_E_CORRUPT_VOLUME_INFO | 0x80042503 | The volume's driver information is corrupted. |
| VDS_E_DRIVER_INTERNAL_ERROR | 0x80042505 | An internal error occurred in the volume management driver. |
| VDS_E_VOLUME_INVALID_NAME | 0x80042507 | The volume name is not valid. |
| VDS_E_CORRUPT_PARTITION_INFO | 0x80042509 | The disk's partition information is corrupted. |
| VDS_E_CORRUPT_EXTENT_INFO | 0x8004250B | The disk's extent information is corrupted. |
| VDS_E_PROVIDER_EXITING | 0x80042514 | The provider is exiting. |
| VDS_E_EXTENT_EXCEEDS_DISK_FREE_SPACE | 0x80042515 | The specified disk extent size is larger than the amount of free disk space. |
| VDS_E_MEMBER_SIZE_INVALID | 0x80042516 | The specified plex member size is not valid. |
| VDS_S_NO_NOTIFICATION | 0x80042517 | No volume arrival notification was received. You may need to call IVdsService::Refresh . |
| VDS_E_INVALID_DISK | 0x80042519 | The specified disk is not valid. |
| VDS_E_INVALID_PACK | 0x8004251A | The specified disk pack is not valid. |
| VDS_E_CANNOT_SHRINK | 0x8004251E | The file system does not support shrinking this volume. |
| VDS_E_INVALID_PLEX_COUNT | 0x80042521 | The plex count for the volume must be greater than zero. |
| VDS_E_INVALID_MEMBER_COUNT | 0x80042522 | The member count for the volume must be greater than zero. |
| VDS_E_INVALID_PLEX_ORDER | 0x80042523 | The plex indexes must start at zero and increase monotonically. |
| VDS_E_INVALID_MEMBER_ORDER | 0x80042524 | The member indexes must start at zero and increase monotonically. |
| VDS_E_INVALID_STRIPE_SIZE | 0x80042525 | The stripe size in bytes must be a power of 2 for striped and RAID-5 volume types and must be zero for all other volume types. |
| VDS_E_INVALID_DISK_COUNT | 0x80042526 | The number of disks specified is not valid for this operation. |
| VDS_E_VOLUME_DISK_COUNT_MAX_EXCEEDED | 0x80042529 | The specified number of disks is too large. VDS imposes a 32-disk limit on spanned, striped, and striped with parity (RAID-5) volumes. |
| VDS_E_DISK_NOT_FOUND_IN_PACK | 0x8004252D | The specified disks do not belong to the same pack. |
| VDS_E_ONE_EXTENT_PER_DISK | 0x80042531 | A single disk cannot contribute to multiple members or multiple plexes of the same volume. |
| VDS_E_DISK_REMOVEABLE | 0x8004255A | The operation is not supported on removable media. |
| VDS_E_INVALID_DRIVE_LETTER | 0x8004255E | The specified drive letter is not valid. |
| VDS_E_INVALID_DRIVE_LETTER_COUNT | 0x8004255F | The specified number of drive letters to retrieve is not valid. |
| VDS_E_INVALID_FS_FLAG | 0x80042560 | The specified file system flag is not valid. |
| VDS_E_INVALID_FS_TYPE | 0x80042561 | The specified file system is not valid. |
| VDS_E_INVALID_OBJECT_TYPE | 0x80042562 | The specified object type is not valid. |
| VDS_E_INVALID_PARTITION_TYPE | 0x80042565 | The specified partition type is not valid for this operation. |
| VDS_E_PARTITION_NOT_OEM | 0x8004256F | The operation is not supported on non-OEM partitions. |
| VDS_E_PARTITION_STYLE_MISMATCH | 0x80042571 | The specified partition style is not the same as the disk's partition style. |
| VDS_E_SHRINK_SIZE_LESS_THAN_MIN | 0x80042573 | The specified shrink size is less than the minimum shrink size allowed. |
| VDS_E_SHRINK_SIZE_TOO_BIG | 0x80042574 | The specified shrink size is too large and will cause the volume to be smaller than the minimum volume size. |
| VDS_E_VOLUME_SIMPLE_SPANNED | 0x80042589 | The operation is only supported on simple or spanned volumes. |
| VDS_E_PARTITION_MSR | 0x8004258C | The operation is not supported on MSR partitions. |
| VDS_E_PARTITION_LDM | 0x8004258D | The operation is not supported on LDM partitions. |
| VDS_E_ALIGN_NOT_A_POWER_OF_TWO | 0x8004258F | The alignment is not a power of two. |
| VDS_E_ALIGN_IS_ZERO | 0x80042590 | The alignment is zero. |
| VDS_E_CANT_INVALIDATE_FVE | 0x80042592 | BitLocker encryption could not be disabled for the volume. |
| VDS_E_FS_NOT_DETERMINED | 0x80042593 | The default file system could not be determined. |
| VDS_E_FAILED_TO_ONLINE_DISK | 0x80042596 | The online operation failed. |
| VDS_E_FAILED_TO_OFFLINE_DISK | 0x80042597 | The offline operation failed. |
| VDS_S_NAME_TRUNCATED | 0x00042700 | The name was set successfully but had to be truncated. |
| VDS_E_NAME_NOT_UNIQUE | 0x80042701 | The specified name is not unique. |
| VDS_S_STATUSES_INCOMPLETELY_SET | 0x00042702 | At least one path's status was not successfully set due to a nonfatal error (for example, the status conflicts with the current load balance policy). |
| VDS_E_TARGET_SPECIFIC_NOT_SUPPORTED | 0x80042706 | The initiator service does not support setting target-specific shared secrets. |
| VDS_E_INITIATOR_SPECIFIC_NOT_SUPPORTED | 0x80042707 | The target does not support setting initiator-specific shared secrets. |
| VDS_E_ISCSI_LOGIN_FAILED | 0x80042708 | Another operation is in progress. This operation cannot proceed until the previous operations are complete. |
| VDS_E_ISCSI_LOGOUT_FAILED | 0x80042709 | The attempt to log out from the specified iSCSI session failed. |
| VDS_E_ISCSI_SESSION_NOT_FOUND | 0x8004270A | VDS could not find a session matching the specified iSCSI target. |
| VDS_E_ASSOCIATED_LUNS_EXIST | 0x8004270B | LUNs are associated with this target. All LUNs must be disassociated from this target before the target can be deleted. |
| VDS_E_ASSOCIATED_PORTALS_EXIST | 0x8004270C | Portals are associated with this portal group. All portals must be disassociated from this portal group before the portal group can be deleted. |
| VDS_E_NO_DISK_PATHNAME | 0x8004270F | The disk's path could not be retrieved. Some operations on the disk may fail. |
| VDS_E_ISCSI_LOGOUT_INCOMPLETE | 0x80042710 | At least one iSCSI session logout operation did not complete successfully. |
| VDS_E_NO_VOLUME_PATHNAME | 0x80042711 | The path could not be retrieved for one or more volumes. |
| VDS_E_PROVIDER_CACHE_OUTOFSYNC | 0x80042712 | The provider's cache is not in sync with the driver cache. |
| VDS_E_NO_IMPORT_TARGET | 0x80042713 | No import target was set for the subsystem. |
| VDS_S_ALREADY_EXISTS | 0x00042714 | The object already exists. |
| VDS_S_PROPERTIES_INCOMPLETE | 0x00042715 | Some but not all of the properties were successfully retrieved. Note that there are many possible reasons for failing to retrieve all properties, including device removal. |
| VDS_S_ISCSI_SESSION_NOT_FOUND_PERSISTENT_LOGIN_REMOVED | 0x00042800 | VDS could not find any sessions matching the specified iSCSI target, but one or more persistent logins were found and removed. |
| VDS_S_ISCSI_PERSISTENT_LOGIN_MAY_NOT_BE_REMOVED | 0x00042801 | If a persistent login was set up for the target, it may not have been removed. Check the iSCSI Initiator Control Panel to remove it if necessary. |
| VDS_S_ISCSI_LOGIN_ALREAD_EXISTS | 0x00042802 | The attempt to log in to the iSCSI target failed because the session already exists. |
| VDS_E_UNABLE_TO_FIND_BOOT_DISK | 0x80042803 | Volume disk extent information could not be retrieved for the boot volume. |
| VDS_E_INCORRECT_BOOT_VOLUME_EXTENT_INFO | 0x80042804 | More than two disk extents were reported for the boot volume. This is a system error. |
| VDS_E_GET_SAN_POLICY | 0x80042805 | A driver error was reported when getting the SAN policy. |
| VDS_E_SET_SAN_POLICY | 0x80042806 | A driver error was reported when setting the SAN policy. |
| VDS_E_BOOT_DISK | 0x80042807 | Disk attributes cannot be changed on the boot disk. |
| VDS_S_DISK_MOUNT_FAILED | 0x00042808 | One or more of the volumes on the disk could not be mounted, possibly because it was already mounted. |
| VDS_S_DISK_DISMOUNT_FAILED | 0x00042809 | One or more of the volumes on the disk could not be dismounted, possibly because it was already dismounted. |
| VDS_E_DISK_IS_OFFLINE | 0x8004280A | The operation cannot be performed on a disk that is offline. |
| VDS_E_DISK_IS_READ_ONLY | 0x8004280B | The operation cannot be performed on a disk that is read only. |
| VDS_E_PAGEFILE_DISK | 0x8004280C | The operation cannot be performed on a disk that contains a pagefile volume. |
| VDS_E_HIBERNATION_FILE_DISK | 0x8004280D | The operation cannot be performed on a disk that contains a hibernation file volume. |
| VDS_E_CRASHDUMP_DISK | 0x8004280E | The operation cannot be performed on a disk that contains a crashdump file volume. |
| 162 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.