What does Windows error code 411 (ERROR_RWRAW_ENCRYPTED_INVALID_EDATAINFO_FILEOFFSET) mean?

 
Could be also:
ConstantTypeOS
HTTP_STATUS_LENGTH_REQUIREDHTTP CodeAny
TTM_FATAL_ERRORBugCheck CodeWindows
Previous Next
ERROR_RWRAW_ENCRYPTED_FILE_NOT_ENCRYPTED ERROR_RWRAW_ENCRYPTED_INVALID_EDATAINFO_FILERANGE

ERROR_RWRAW_ENCRYPTED_INVALID_EDATAINFO_FILEOFFSET

The encrypted-data file offset is invalid

ERROR_RWRAW_ENCRYPTED_INVALID_EDATAINFO_FILEOFFSET means a caller supplied an offset in encrypted-data metadata that Windows cannot accept for the raw read or write operation. The offset can be outside the file, misaligned, inconsistent with metadata, or stale.

Likely causes

  • A truncated or corrupted backup record.
  • Integer-width or signedness errors while serializing large offsets.
  • Using metadata from a different file version.
  • Incorrect conversion between bytes, sectors, and encrypted blocks.

Diagnosis

Log the offset in hexadecimal and decimal, the file size, required alignment, metadata version, and source file identity. Validate arithmetic for overflow before calling the API. Compare the metadata with a newly exported raw stream.

Safe handling

Reject the transfer rather than clamping or rounding the offset. Silent adjustment can write encrypted data into the wrong range and permanently damage the file.

Format guidance

Store offsets in a fixed-width unsigned representation with explicit endianness and integrity protection. Associate metadata with a stable file identity and version.

References


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