ERROR_CANNOT_COPY - 266 (0x10A)

The copy functions cannot be used.

Updated: Feb 21, 2026

Technical Meaning

The ERROR_CANNOT_COPY error code indicates that the system encountered an issue preventing the use of copy functions. This can occur in various scenarios where file or directory operations are attempted.

Error Details

This error is returned when the operating system determines that it cannot perform a copy operation, which may be due to several underlying issues such as invalid parameters, insufficient permissions, or resource limitations.

Usage Context

The ERROR_CANNOT_COPY can appear in various contexts where file or directory operations are attempted. Common scenarios include copying files between directories, creating backups, and performing system maintenance tasks.

Developer Interpretation

When encountering this error, developers should consider the following:

  • Invalid Parameters: Ensure that all parameters passed to copy functions are valid and correctly formatted.
  • Permissions: Verify that the security context has sufficient permissions to perform the operation.
  • Resource Limits: Check if any system limits or capacity constraints are being exceeded.

Related Errors

FAQ

Q: What does the ERROR_CANNOT_COPY error mean?

A: It indicates that the system cannot perform a copy operation due to an issue such as invalid parameters, insufficient permissions, or resource limitations.

Q: How can I resolve this error?

A: Review the context of the file or directory operations and ensure all parameters are valid. Verify that you have sufficient permissions and check for any resource limits being exceeded.

Summary

The ERROR_CANNOT_COPY is a generic error indicating an issue with copy functions in Windows. Developers should focus on validating parameters, checking permissions, and ensuring system resources are not constrained when encountering this error.