What does Windows error code 335 (ERROR_COMPRESSED_FILE_NOT_SUPPORTED) mean?

 
Could be also:
ConstantTypeOS
PDC_WATCHDOG_TIMEOUTBugCheck CodeWindows
Previous Next
ERROR_RESIDENT_FILE_NOT_SUPPORTED ERROR_DIRECTORY_NOT_SUPPORTED

ERROR_COMPRESSED_FILE_NOT_SUPPORTED

The operation cannot run while the file uses file-system compression

NTFS compression is transparent for ordinary reads and writes, but some file-system control operations require an uncompressed stream layout or direct allocation semantics. This status means the requested feature cannot operate on the file while its compressed attribute is active. It does not mean that ordinary access to the file is unsupported.

Identify the exact FSCTL or storage operation that rejected the compressed stream. If the operation is necessary, copy the file or clear compression with FSCTL_SET_COMPRESSION, allow decompression to complete, perform the operation, and restore policy only when appropriate. Check available disk space first because converting a compressed file to uncompressed form can increase allocation substantially.

What to inspect

  • Record the rejected FSCTL and the stream compression state.
  • Estimate additional allocation before clearing compression.
  • Do not confuse transparent NTFS compression with archive formats.

References


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