ERROR_UNABLE_TO_CLEAN - 4311 (0x10D7)
The drive cannot be cleaned or does not support cleaning.
Updated: Feb 21, 2026
Technical Meaning
The error code ERROR_UNABLE_TO_CLEAN (4311, 0x10D7) indicates that the system is unable to perform a cleaning operation on a drive. This could be due to various reasons such as unsupported operations or limitations in the file system.
Error Details
This error typically arises when an attempt is made to clean a drive using certain Windows APIs, but the underlying file system does not support this operation or the operation context is invalid. The term 'cleaning' can refer to various actions like defragmentation, optimization, or other maintenance tasks that require specific capabilities.
Usage Context
This error code may be encountered in scenarios where a drive cleaning utility or API call is invoked, but the system determines that the requested operation cannot proceed due to unsupported features or invalid parameters. It could also indicate issues with the file system itself, such as corruption or limitations on supported operations.
Developer Interpretation
When encountering this error code, developers should consider the following:
- Verify that the drive supports cleaning operations through appropriate API calls or documentation.
- Ensure that all parameters passed to the operation are valid and correctly formatted.
- Check for any file system-specific limitations or corruptions that might prevent the requested operation from being performed.
Related Errors
ERROR_NOT_SUPPORTED(50)ERROR_INVALID_PARAMETER(87)ERROR_FILE_SYSTEM_LIMITATION(1239)
FAQ
Q: What does error 4311 mean?
A: The drive cannot be cleaned or does not support cleaning.
Q: How can I resolve this issue?
A: Ensure that the operation context and parameters are correct, and verify if the file system supports the requested cleaning operation.
Summary
The ERROR_UNABLE_TO_CLEAN (4311) error code indicates an inability to perform a drive cleaning operation due to unsupported features or invalid parameters. Developers should validate their operations against the supported capabilities of the underlying file system and ensure all parameters are correctly formatted.