Site icon EfmSoft

What does HRESULT 0x8004280B (VDS_E_DISK_IS_READ_ONLY) mean?

 
Previous Next
VDS_E_DISK_IS_OFFLINE VDS_E_PAGEFILE_DISK

VDS_E_DISK_IS_READ_ONLY

VDS exposes two related read-only flags. VDS_DF_READ_ONLY is the Windows-maintained disk attribute that applications can set or clear through VDS. VDS_DF_CURRENT_READ_ONLY reports the actual current device state and can also reflect read-only hardware, a read-only LUN, or a virtual disk stored on read-only backing storage.

Why this state matters

This distinction is essential for diagnosis. Clearing the Windows read-only attribute does not guarantee that the disk becomes writable when the underlying storage remains read-only. Log both flags before and after the attempted change. If CURRENT_READ_ONLY remains set, investigate the storage layer rather than repeatedly calling ClearFlags.

Diagnostic focus

Technical references

VDS_DISK_FLAG · VDS_DISK_PROP · IVdsDisk::GetProperties · IVdsDiskOnline::Online · VDS common return codes


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

Exit mobile version