| Previous | Next |
| STATUS_FAIL_CHECK | STATUS_OBJECTID_EXISTS |
STATUS_DUPLICATE_OBJECTID
The object ID collides with an existing volume index entry
NTFS object IDs are intended to track files and directories and are indexed at volume scope. Assigning an identifier already in use would make identity resolution ambiguous, so the insertion is rejected.
Applications should normally let NTFS generate the identifier. Copying object-ID bytes from another file, image, or restored metadata is unsafe unless the restore procedure also reconciles the object-ID index.
What to inspect
- Query the existing object that owns the identifier before changing anything.
- Use FSCTL_CREATE_OR_GET_OBJECT_ID when a generated ID is acceptable.
- During restore or cloning, regenerate IDs unless the documented identity-preservation workflow requires them.
References
- Microsoft: FSCTL_CREATE_OR_GET_OBJECT_ID
- Microsoft: FSCTL_SET_OBJECT_ID
- Microsoft: FILE_OBJECTID_BUFFER
- NTFS-3G: NTFS attributes, object IDs, DOS names and EAs
- Microsoft Open Specifications: NTSTATUS values
Looking for a different code? Search another status or error code.