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.]

SymbolicCodeDescription
VDS_E_NOT_SUPPORTED0x80042400The operation is not supported by the object.
VDS_E_INITIALIZED_FAILED0x80042401VDS or the provider failed to initialize.
VDS_E_INITIALIZE_NOT_CALLED0x80042402VDS did not call the hardware provider's initialization method.
VDS_E_ALREADY_REGISTERED0x80042403The provider is already registered.
VDS_E_ANOTHER_CALL_IN_PROGRESS0x80042404A concurrent second call is made on an object before the first call is completed.
VDS_E_OBJECT_NOT_FOUND0x80042405The specified object was not found.
VDS_E_INVALID_SPACE0x80042406The specified space is neither free nor valid.
VDS_E_PARTITION_LIMIT_REACHED0x80042407No more partitions can be created on the specified disk.
VDS_E_PARTITION_NOT_EMPTY0x80042408The extended partition is not empty.
VDS_E_OPERATION_PENDING0x80042409The operation is still in progress.
VDS_E_OPERATION_DENIED0x8004240AThe operation is not permitted on the specified disk, partition, or volume.
VDS_E_OBJECT_DELETED0x8004240BThe object no longer exists.
VDS_E_CANCEL_TOO_LATE0x8004240CThe operation can no longer be canceled.
VDS_E_OPERATION_CANCELED0x8004240DThe operation has already been canceled.
VDS_E_CANNOT_EXTEND0x8004240EThe file system does not support extending this volume.
VDS_E_NOT_ENOUGH_SPACE0x8004240FThere is not enough space to complete the operation.
VDS_E_NOT_ENOUGH_DRIVE0x80042410There are not enough free disk drives in the subsystem to complete the operation.
VDS_E_BAD_COOKIE0x80042411The cookie was not found.
VDS_E_NO_MEDIA0x80042412There is no removable media in the drive.
VDS_E_DEVICE_IN_USE0x80042413The device is currently in use.
VDS_E_INVALID_OPERATION0x80042415The specified operation is not valid.
VDS_E_PATH_NOT_FOUND0x80042416The specified path was not found.
VDS_E_DISK_NOT_INITIALIZED0x80042417The specified disk has not been initialized.
VDS_E_NOT_AN_UNALLOCATED_DISK0x80042418The specified disk is not an unallocated disk.
VDS_E_UNRECOVERABLE_ERROR0x80042419An unrecoverable error occurred. The service must shut down.
VDS_S_DISK_PARTIALLY_CLEANED0x0004241AThe clean operation was not a full clean or was canceled before it could be completed.
VDS_E_OBJECT_EXISTS0x8004241DThe object already exists.
VDS_E_PROVIDER_CACHE_CORRUPT0x8004241FThe cache for a provider is corrupt.
VDS_E_DMADMIN_METHOD_CALL_FAILED0x80042420A method call to the Logical Disk Management Administrative service failed.
VDS_S_PROVIDER_ERROR_LOADING_CACHE0x00042421The provider encountered errors while loading the cache. For more information, see the Windows Event Log.
VDS_E_PROVIDER_VOL_DEVICE_NAME_NOT_FOUND0x80042422The device form of the volume pathname could not be retrieved.
VDS_E_DMADMIN_CORRUPT_NOTIFICATION0x80042424A corrupt notification was sent from the Logical Disk Manager Administrative service.
VDS_E_INCOMPATIBLE_FILE_SYSTEM0x80042425The file system is incompatible with the specified operation.
VDS_E_INCOMPATIBLE_MEDIA0x80042426The media is incompatible with the specified operation.
VDS_E_ACCESS_DENIED0x80042427Access is denied. A VDS operation must run under the Backup Operator or Administrators group account.
VDS_E_MEDIA_WRITE_PROTECTED0x80042428The media is write-protected.
VDS_E_BAD_LABEL0x80042429The volume label is not valid.
VDS_E_CANT_QUICK_FORMAT0x8004242AThe volume cannot be quick-formatted.
VDS_E_IO_ERROR0x8004242BAn I/O error occurred during the operation.
VDS_E_VOLUME_TOO_SMALL0x8004242CThe volume size is too small.
VDS_E_VOLUME_TOO_BIG0x8004242DThe volume size is too large.
VDS_E_CLUSTER_SIZE_TOO_SMALL0x8004242EThe cluster size is too small.
VDS_E_CLUSTER_SIZE_TOO_BIG0x8004242FThe cluster size is too large.
VDS_E_CLUSTER_COUNT_BEYOND_32BITS0x80042430The number of clusters is too large to be represented as a 32-bit integer.
VDS_E_OBJECT_STATUS_FAILED0x80042431The device that the object represents has failed and is unable to perform the requested operation.
VDS_E_VOLUME_INCOMPLETE0x80042432The volume is incomplete.
VDS_E_EXTENT_SIZE_LESS_THAN_MIN0x80042433The specified extent size is too small.
VDS_S_UPDATE_BOOTFILE_FAILED0x00042434The 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_CHANGE0x00042436The partition number of the boot partition changed as the result of the operation.
VDS_E_NO_FREE_SPACE0x80042437The specified disk does not have enough free space to complete the operation.
VDS_E_ACTIVE_PARTITION0x80042438An 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_TYPE0x80042439The partition information cannot be read.
VDS_E_LEGACY_VOLUME_FORMAT0x8004243AA partition with an unknown type was detected on the specified disk.
VDS_E_NON_CONTIGUOUS_DATA_PARTITIONS0x8004243BThe selected GPT disk contains two basic data partitions that are separated by an OEM partition.
VDS_E_MIGRATE_OPEN_VOLUME0x8004243CA volume on the specified disk could not be opened.
VDS_E_VOLUME_NOT_ONLINE0x8004243DThe volume is not online.
VDS_E_VOLUME_NOT_HEALTHY0x8004243EThe volume is failing or has failed.
VDS_E_VOLUME_SPANS_DISKS0x8004243FThe volume spans multiple disks.
VDS_E_REQUIRES_CONTIGUOUS_DISK_SPACE0x80042440The 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_DATA0x80042441A provider returned bad data.
VDS_E_PROVIDER_FAILURE0x80042442A provider failed to complete an operation.
VDS_S_VOLUME_COMPRESS_FAILED0x00042443The file system was formatted successfully but could not be compressed.
VDS_E_PACK_OFFLINE0x80042444The pack is offline.
VDS_E_VOLUME_NOT_A_MIRROR0x80042445The volume is not a mirror.
VDS_E_NO_EXTENTS_FOR_VOLUME0x80042446No extents were found for the volume.
VDS_E_DISK_NOT_LOADED_TO_CACHE0x80042447The migrated disk failed to load to the cache.
VDS_E_INTERNAL_ERROR0x80042448VDS encountered an internal error. For more information, see the Windows Event Log.
VDS_E_DISK_NOT_ONLINE0x8004244BOne or more of the specified disks are not online.
VDS_E_DISK_IN_USE_BY_VOLUME0x8004244COne or more extents of the disk are already being used by the volume.
VDS_E_VOLUME_NOT_MOUNTED0x8004244FThe volume is not mounted.
VDS_E_IMPORT_SET_INCOMPLETE0x80042451An attempt was made to import a subset of the disks in the foreign pack.
VDS_E_OBJECT_OUT_OF_SYNC0x80042453The reference to the object might be stale.
VDS_E_MISSING_DISK0x80042454The specified disk could not be found.
VDS_E_DISK_PNP_REG_CORRUPT0x80042455The provider's list of PnP registered disks has become corrupted.
VDS_E_LBN_REMAP_ENABLED_FLAG0x80042456The provider does not support the VDS_VF_LBN REMAP_ENABLED volume flag.
VDS_E_NO_DRIVELETTER_FLAG0x80042457The provider does not support the VDS_VF_NO DRIVELETTER volume flag.
VDS_E_REVERT_ON_CLOSE0x80042458The 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_SET0x80042459Some 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_ATTRIBUTES0x0004245BUnable to retrieve the GPT attributes for this volume, (hidden, read only and no drive letter).
VDS_E_VOLUME_TEMPORARILY_DISMOUNTED0x8004245CThe volume is already dismounted temporarily.
VDS_E_VOLUME_PERMANENTLY_DISMOUNTED0x8004245DThe volume is already offline. It cannot be dismounted temporarily until it becomes mountable.
VDS_E_VOLUME_HAS_PATH0x8004245EThe volume cannot be taken offline because it still has an access path.
VDS_E_REPAIR_VOLUMESTATE0x80042460The volume plex cannot be repaired. The volume and plex must be online, and must not be healthy or rebuilding.
VDS_E_LDM_TIMEOUT0x80042461The operation timed out in the Logical Disk Manager Administrative service. Retry the operation.
VDS_E_REVERT_ON_CLOSE_MISMATCH0x80042462The 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_RETRY0x80042463The operation failed. Retry the operation.
VDS_E_ONLINE_PACK_EXISTS0x80042464The operation failed, because an online pack object already exists.
VDS_S_GPT_BOOT_MIRRORED_TO_MBR0x80042469The 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_LAYOUT0x80042502The volume's layout could not be retrieved.
VDS_E_CORRUPT_VOLUME_INFO0x80042503The volume's driver information is corrupted.
VDS_E_DRIVER_INTERNAL_ERROR0x80042505An internal error occurred in the volume management driver.
VDS_E_VOLUME_INVALID_NAME0x80042507The volume name is not valid.
VDS_E_CORRUPT_PARTITION_INFO0x80042509The disk's partition information is corrupted.
VDS_E_CORRUPT_EXTENT_INFO0x8004250BThe disk's extent information is corrupted.
VDS_E_PROVIDER_EXITING0x80042514The provider is exiting.
VDS_E_EXTENT_EXCEEDS_DISK_FREE_SPACE0x80042515The specified disk extent size is larger than the amount of free disk space.
VDS_E_MEMBER_SIZE_INVALID0x80042516The specified plex member size is not valid.
VDS_S_NO_NOTIFICATION0x80042517No volume arrival notification was received. You may need to call IVdsService::Refresh .
VDS_E_INVALID_DISK0x80042519The specified disk is not valid.
VDS_E_INVALID_PACK0x8004251AThe specified disk pack is not valid.
VDS_E_CANNOT_SHRINK0x8004251EThe file system does not support shrinking this volume.
VDS_E_INVALID_PLEX_COUNT0x80042521The plex count for the volume must be greater than zero.
VDS_E_INVALID_MEMBER_COUNT0x80042522The member count for the volume must be greater than zero.
VDS_E_INVALID_PLEX_ORDER0x80042523The plex indexes must start at zero and increase monotonically.
VDS_E_INVALID_MEMBER_ORDER0x80042524The member indexes must start at zero and increase monotonically.
VDS_E_INVALID_STRIPE_SIZE0x80042525The 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_COUNT0x80042526The number of disks specified is not valid for this operation.
VDS_E_VOLUME_DISK_COUNT_MAX_EXCEEDED0x80042529The 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_PACK0x8004252DThe specified disks do not belong to the same pack.
VDS_E_ONE_EXTENT_PER_DISK0x80042531A single disk cannot contribute to multiple members or multiple plexes of the same volume.
VDS_E_DISK_REMOVEABLE0x8004255AThe operation is not supported on removable media.
VDS_E_INVALID_DRIVE_LETTER0x8004255EThe specified drive letter is not valid.
VDS_E_INVALID_DRIVE_LETTER_COUNT0x8004255FThe specified number of drive letters to retrieve is not valid.
VDS_E_INVALID_FS_FLAG0x80042560The specified file system flag is not valid.
VDS_E_INVALID_FS_TYPE0x80042561The specified file system is not valid.
VDS_E_INVALID_OBJECT_TYPE0x80042562The specified object type is not valid.
VDS_E_INVALID_PARTITION_TYPE0x80042565The specified partition type is not valid for this operation.
VDS_E_PARTITION_NOT_OEM0x8004256FThe operation is not supported on non-OEM partitions.
VDS_E_PARTITION_STYLE_MISMATCH0x80042571The specified partition style is not the same as the disk's partition style.
VDS_E_SHRINK_SIZE_LESS_THAN_MIN0x80042573The specified shrink size is less than the minimum shrink size allowed.
VDS_E_SHRINK_SIZE_TOO_BIG0x80042574The specified shrink size is too large and will cause the volume to be smaller than the minimum volume size.
VDS_E_VOLUME_SIMPLE_SPANNED0x80042589The operation is only supported on simple or spanned volumes.
VDS_E_PARTITION_MSR0x8004258CThe operation is not supported on MSR partitions.
VDS_E_PARTITION_LDM0x8004258DThe operation is not supported on LDM partitions.
VDS_E_ALIGN_NOT_A_POWER_OF_TWO0x8004258FThe alignment is not a power of two.
VDS_E_ALIGN_IS_ZERO0x80042590The alignment is zero.
VDS_E_CANT_INVALIDATE_FVE0x80042592BitLocker encryption could not be disabled for the volume.
VDS_E_FS_NOT_DETERMINED0x80042593The default file system could not be determined.
VDS_E_FAILED_TO_ONLINE_DISK0x80042596The online operation failed.
VDS_E_FAILED_TO_OFFLINE_DISK0x80042597The offline operation failed.
VDS_S_NAME_TRUNCATED0x00042700The name was set successfully but had to be truncated.
VDS_E_NAME_NOT_UNIQUE0x80042701The specified name is not unique.
VDS_S_STATUSES_INCOMPLETELY_SET0x00042702At 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_SUPPORTED0x80042706The initiator service does not support setting target-specific shared secrets.
VDS_E_INITIATOR_SPECIFIC_NOT_SUPPORTED0x80042707The target does not support setting initiator-specific shared secrets.
VDS_E_ISCSI_LOGIN_FAILED0x80042708Another operation is in progress. This operation cannot proceed until the previous operations are complete.
VDS_E_ISCSI_LOGOUT_FAILED0x80042709The attempt to log out from the specified iSCSI session failed.
VDS_E_ISCSI_SESSION_NOT_FOUND0x8004270AVDS could not find a session matching the specified iSCSI target.
VDS_E_ASSOCIATED_LUNS_EXIST0x8004270BLUNs are associated with this target. All LUNs must be disassociated from this target before the target can be deleted.
VDS_E_ASSOCIATED_PORTALS_EXIST0x8004270CPortals 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_PATHNAME0x8004270FThe disk's path could not be retrieved. Some operations on the disk may fail.
VDS_E_ISCSI_LOGOUT_INCOMPLETE0x80042710At least one iSCSI session logout operation did not complete successfully.
VDS_E_NO_VOLUME_PATHNAME0x80042711The path could not be retrieved for one or more volumes.
VDS_E_PROVIDER_CACHE_OUTOFSYNC0x80042712The provider's cache is not in sync with the driver cache.
VDS_E_NO_IMPORT_TARGET0x80042713No import target was set for the subsystem.
VDS_S_ALREADY_EXISTS0x00042714The object already exists.
VDS_S_PROPERTIES_INCOMPLETE0x00042715Some 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_REMOVED0x00042800VDS 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_REMOVED0x00042801If 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_EXISTS0x00042802The attempt to log in to the iSCSI target failed because the session already exists.
VDS_E_UNABLE_TO_FIND_BOOT_DISK0x80042803Volume disk extent information could not be retrieved for the boot volume.
VDS_E_INCORRECT_BOOT_VOLUME_EXTENT_INFO0x80042804More than two disk extents were reported for the boot volume. This is a system error.
VDS_E_GET_SAN_POLICY0x80042805A driver error was reported when getting the SAN policy.
VDS_E_SET_SAN_POLICY0x80042806A driver error was reported when setting the SAN policy.
VDS_E_BOOT_DISK0x80042807Disk attributes cannot be changed on the boot disk.
VDS_S_DISK_MOUNT_FAILED0x00042808One or more of the volumes on the disk could not be mounted, possibly because it was already mounted.
VDS_S_DISK_DISMOUNT_FAILED0x00042809One or more of the volumes on the disk could not be dismounted, possibly because it was already dismounted.
VDS_E_DISK_IS_OFFLINE0x8004280AThe operation cannot be performed on a disk that is offline.
VDS_E_DISK_IS_READ_ONLY0x8004280BThe operation cannot be performed on a disk that is read only.
VDS_E_PAGEFILE_DISK0x8004280CThe operation cannot be performed on a disk that contains a pagefile volume.
VDS_E_HIBERNATION_FILE_DISK0x8004280DThe operation cannot be performed on a disk that contains a hibernation file volume.
VDS_E_CRASHDUMP_DISK0x8004280EThe 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.