| Previous | Next |
| VDS_E_VOLUME_LENGTH_NOT_SECTOR_SIZE_MULTIPLE | VDS_E_VOLUME_RETAINED |
VDS_E_VOLUME_NOT_RETAINED
This status belongs to VDS bookkeeping between a volume and partition metadata. Dynamic providers generally do not map every volume to a partition; Microsoft documents exceptions for system, boot, and explicitly retained mappings. The error therefore cannot be diagnosed merely by proving that some partition occupies the same disk sectors.
Why this state matters
Treat the retained association as VDS state, not an inferred geometric relationship. Query the volume, pack, and underlying extents, and preserve the operation that requires retention. A raw partition-table viewer can show offsets but cannot prove that VDS currently maintains the requested association. Do not manufacture one by editing partition entries outside the provider.
Diagnostic focus
- Identify the VDS operation that requires a retained partition association.
- Determine whether the volume is basic or dynamic and inspect its current extent topology.
- Do not infer retention solely from matching partition offsets and volume extents.
- Avoid out-of-band partition-table edits while VDS is expected to own the association state.
Technical references
IVdsAdvancedDisk · VDS Disk Object · IVdsDisk::QueryExtents · VDS_PARTITION_PROP · MS-VDS error codes
Looking for a different code? Search another status or error code.