What does HRESULT 0x80042557 (VDS_E_CANNOT_CLEAR_VOLUME_FLAG) mean?

 
Previous Next
VDS_E_CACHE_CORRUPT VDS_E_DISK_BEING_CLEANED

VDS_E_CANNOT_CLEAR_VOLUME_FLAG

VDS_E_CANNOT_CLEAR_VOLUME_FLAG means a flag passed to IVdsVolume::ClearFlags is not clearable in the current context. Volume flags have different scopes on MBR basic, GPT basic and dynamic disks, and system, boot, pagefile or crash-dump roles impose additional restrictions.

Check flag scope and protected volume roles

  • Record the exact flag mask and current VDS_VOLUME_FLAG values.
  • Determine the disk model and partition style that control whether the flag is disk-, partition- or volume-scoped.
  • Check whether the volume is system, boot, pagefile, hibernation or crash-dump related.

Do not repeatedly clear a flag that is represented on the entire MBR disk or maintained by Windows policy. Some temporary flags are tied to bRevertOnClose semantics and must match the way they were set. Use the SetFlags/ClearFlags contract rather than editing partition attributes independently behind VDS.

ClearFlags · Volume flags · SetFlags


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