| Previous | Next |
| VDS_E_DISK_REMOVEABLE | VDS_E_DRIVE_LETTER_NOT_FREE |
VDS_E_DISK_REMOVEABLE_NOT_EMPTY
This status combines media classification with current layout state. The disk is removable and the requested operation permits that class only when the device is empty. It is therefore more specific than VDS_E_DISK_REMOVEABLE: clearing the existing layout can change the precondition, but only if the higher-level operation is actually supported for empty removable media.
Why this state matters
Enumerate partitions and extents before deleting anything. “Empty” in VDS conversion contexts has precise meaning and can allow only metadata partitions in some fixed-disk scenarios; removable-media operations can have different restrictions. Preserve user data and verify the intended operation before using clean or delete as a way to satisfy the precondition.
Diagnostic focus
- Query partitions and extents to identify exactly what makes the removable disk non-empty.
- Confirm the requested method supports empty removable media before destroying the current layout.
- Back up or explicitly discard user data before deleting partitions or cleaning the device.
- Requery the disk after layout changes rather than assuming the old VDS object state is current.
Technical references
IVdsAdvancedDisk::QueryPartitions · IVdsDisk::QueryExtents · VDS_DISK_PROP · IVdsAdvancedDisk::Clean · MS-VDS error codes
Looking for a different code? Search another status or error code.
