What does HRESULT 0x80042440 (VDS_E_REQUIRES_CONTIGUOUS_DISK_SPACE) mean?

 
Previous Next
VDS_E_VOLUME_SPANS_DISKS VDS_E_BAD_PROVIDER_DATA

VDS_E_REQUIRES_CONTIGUOUS_DISK_SPACE

VDS_E_REQUIRES_CONTIGUOUS_DISK_SPACE means the operation needs one uninterrupted unallocated range on a disk. Total free capacity may be sufficient, but it is split between existing partitions or extents.

What to check

  • Inspect offsets and sizes of all partitions on the target disk.
  • Do not confuse free space inside a volume with contiguous unallocated disk space.
  • Plan any relocation, shrink, or partition removal carefully and back up affected data first.
Get-Partition -DiskNumber <number> | Format-Table PartitionNumber,Offset,Size,Type

Virtual Disk Service is a legacy COM API. On Windows 8 and Windows Server 2012 and later, inspect and manage supported storage through the Storage Management API and the Storage PowerShell cmdlets.

Microsoft: Get-Partition

Microsoft: VDS error codes


Looking for a different code? Search another status or error code.