ERROR_HANDLE_DISK_FULL - 39 (0x27)
The disk is full.
Updated: Feb 21, 2026
Technical Meaning
The ERROR_HANDLE_DISK_FULL error code indicates that a file system operation was attempted on a disk or volume that is currently full. This error typically occurs when there is insufficient free space to complete the requested operation, such as writing data to a file.
Error Details
- Error Name: ERROR_HANDLE_DISK_FULL
- Numeric Code: 39 (0x27)
- Short Description: The disk is full.
This error code is specific to operations that require additional space on the file system, such as writing data or creating new files. It does not apply to read-only operations or those that do not consume additional storage space.
Usage Context
The ERROR_HANDLE_DISK_FULL error can be encountered in various scenarios where a write operation fails due to lack of free disk space. This includes but is not limited to:
- Writing data to a file
- Creating new files or directories
- Performing backup operations that require additional storage
- Executing commands that involve writing to the file system, such as
copy,move, orrename
Developer Interpretation
Developers should handle this error by ensuring sufficient free space is available before performing write operations. This can be achieved through various means, including:
- Monitoring disk usage and proactively managing storage resources
- Implementing retry logic with exponential backoff to handle transient issues
- Providing user feedback or alternative actions when the operation cannot proceed due to insufficient space
Related Errors
ERROR_DISK_FULL(0x7A): Indicates that a disk is full, which may be encountered in different contexts.ERROR_NOT_ENOUGH_QUOTA(0x9F): Occurs when there is not enough quota available for the operation, often related to file system quotas rather than simple space issues.
FAQ
Q: Can this error occur on network drives?
A: Yes, if a network drive is full and a write operation is attempted, this error can be returned. Ensure that network connections are stable and that sufficient resources are available on the remote server.
Q: How can I determine which file or directory caused the disk to fill up?
A: Use tools like df (disk free) or fsutil in Command Prompt to identify the largest files or directories consuming space. This information can help in managing storage more effectively and preventing future occurrences of this error.
Summary
The ERROR_HANDLE_DISK_FULL error code is a specific indication that a file system operation failed due to insufficient free disk space. Developers should ensure adequate resources are available before performing write operations and handle the error gracefully by providing appropriate feedback or alternative actions.