| Previous | Next |
| ERROR_DUPLICATE_PRIVILEGES | ERROR_NOT_ALLOWED_ON_SYSTEM_FILE |
ERROR_NO_RANGES_PROCESSED
None of the requested ranges was processed
ERROR_NO_RANGES_PROCESSED is a Win32 result associated with range-based filesystem, storage, or data-management operations., diagnosis should begin with the exact API, target object, and operation that produced it rather than with the message text alone.
What the result means
The operation could not process any of the supplied file ranges. The practical meaning depends on the caller and on whether the affected object is local, remote, removable, policy-managed, or handled asynchronously. Diagnostics for it should retain its symbolic name, numeric value, and the operation name together.
What to check
- Validate every offset and length against the current file size.
- Check alignment and granularity requirements.
- Record per-range rejection reasons when the underlying API exposes them.
- Review whether concurrent truncation or sparse-file changes invalidated the ranges.
Recommended handling
Return a clear no-progress result to the caller. Do not claim partial success when zero ranges were changed, and do not retry unchanged invalid ranges indefinitely.
Developer notes
Code handling this result should capture the failing API, resolved path or device identity, requested access, process identity, and the first observed error. After a call that reports it, read GetLastError() immediately because later cleanup or logging can overwrite the value. Retry it only when the specific condition is documented as transient, using a bounded delay and cancellation support.
References
- Microsoft: System error codes relevant to ERROR_NO_RANGES_PROCESSED
- Microsoft: File management context for ERROR_NO_RANGES_PROCESSED
Looking for a different code? Search another status or error code.