What does NTSTATUS 0xC00000D5 (STATUS_FILE_RENAMED) mean?

 
Previous Next
STATUS_NOT_SAME_DEVICE STATUS_VIRTUAL_CIRCUIT_CLOSED

STATUS_FILE_RENAMED

The file was renamed while the operation still depended on its prior name

Open handles normally continue to identify the underlying file across many renames, but some modifications and file-system paths still depend on namespace state captured earlier. This status reports that the rename invalidated the assumptions of the pending request.

A retry by old pathname can target nothing or a different object. Handle-based identity, file IDs, and the final path should be compared before deciding how to continue.

What to inspect

  • Record whether the request was handle-based or required name re-resolution.
  • Query the final path and file ID from the existing or reopened handle.
  • Coordinate rename-sensitive metadata updates instead of retrying against a cached path string.

References


Looking for a different code? Search another status or error code.