What does Windows error code 334 (ERROR_RESIDENT_FILE_NOT_SUPPORTED) mean?

 
Could be also:
ConstantTypeOS
SOC_CRITICAL_DEVICE_REMOVEDBugCheck CodeWindows
Previous Next
ERROR_NOT_REDUNDANT_STORAGE ERROR_COMPRESSED_FILE_NOT_SUPPORTED

ERROR_RESIDENT_FILE_NOT_SUPPORTED

The operation cannot be used on a resident file

ERROR_RESIDENT_FILE_NOT_SUPPORTED indicates that a file-system operation requires nonresident data, while the file’s contents are stored directly in metadata records. Very small files can be resident on file systems such as NTFS.

Checks

  • Identify the exact control code or maintenance operation.
  • Confirm that ordinary reads and writes still succeed.
  • Do not infer file size solely from resident status.
  • Review whether the operation is optional for small files.

Fallback

Skip the unsupported optimization or use a standard file I/O path. Artificially changing the file only to force nonresident storage is rarely justified.

References


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