| Previous | Next |
| ERROR_DBG_COMMAND_EXCEPTION | ERROR_THREAD_WAS_SUSPENDED |
ERROR_OBJECT_NAME_EXISTS
What ERROR_OBJECT_NAME_EXISTS means
A named kernel or system object already exists when code attempts to create it. In practical terms, this status belongs to named object creation: CreateEvent, CreateMutex, CreateFileMapping, registry, or related APIs encounter an existing name.
Typical causes
- Another process created the object first
- The same process repeated initialization
- A stale object remains alive because a handle is still open
How to investigate
- Check whether the creating API returned a valid handle together with this status
- Log the full object namespace and session context
- Determine whether sharing the existing object is intended or a name-collision bug
Developer guidance
For many Win32 create APIs this is an informational result, not a failed handle. Always inspect the documented return contract before closing or discarding the returned object.
References
Looking for a different code? Search another status or error code.