| Previous | Next |
| STATUS_EXTERNAL_BACKING_PROVIDER_UNKNOWN | STATUS_DATA_CHECKSUM_ERROR |
STATUS_COMPRESSION_NOT_BENEFICIAL
Compression would not save storage for this object
Already-compressed media, encrypted data, high-entropy archives, and very small objects can expand or gain no useful reduction when compressed again. This status reports an efficiency decision rather than corrupted data.
A caller should normally keep the object uncompressed and continue. Repeatedly trying other compression settings can waste CPU and may increase fragmentation without changing the underlying entropy.
What to inspect
- Compare allocated size and logical size before and after any trial operation.
- Recognize formats that are already compressed or encrypted.
- Treat this as a valid no-compression outcome unless policy explicitly requires a different storage representation.
References
- Microsoft: File Compression and Decompression
- Microsoft: FSCTL_SET_COMPRESSION
- NTFS-3G: transparently compressed NTFS files
- Microsoft Open Specifications: NTSTATUS values
Looking for a different code? Search another status or error code.