| Previous | Next |
| ERROR_NO_SUCH_DOMAIN | ERROR_DOMAIN_LIMIT_EXCEEDED |
ERROR_DOMAIN_EXISTS
Domain creation or registration collided with an existing domain
The SAM server object can enumerate and look up the domains it hosts. ERROR_DOMAIN_EXISTS reports a create or registration collision at that domain-object layer. It is not the same as ERROR_USER_EXISTS or ERROR_GROUP_EXISTS; those errors concern principals within a domain, while this condition concerns the account-domain object itself.
Before any recovery action, enumerate the domains on the same server and compare the existing domain SID and name with the intended configuration. A duplicated name after partial setup may require continuation or rollback of the original workflow, not creation of another domain. Deleting account-database structures directly is unsupported and risks breaking SID-based references.
What to inspect
- Enumerate domains on the exact server that returned the collision.
- Compare the existing domain SID and name with the pending configuration.
- Determine whether a previous multi-step create operation partially completed before retrying.
References
Looking for a different code? Search another status or error code.