Site icon EfmSoft

What does NTSTATUS 0xC0000154 (STATUS_ALIAS_EXISTS) mean?

 
Previous Next
STATUS_MEMBER_IN_ALIAS STATUS_LOGON_NOT_GRANTED

STATUS_ALIAS_EXISTS

Existing state must be compared by identity before treating the collision as success

STATUS_ALIAS_EXISTS is returned at alias creation time. Windows exposes local-group creation through NetLocalGroupAdd, while the SAM Remote Protocol models aliases as account-database objects. The collision is about the namespace of the selected SAM/domain context; it does not say that the existing alias has the membership, SID, comment, or purpose expected by the caller.

Idempotent deployment code should query the existing object and compare it with the desired state. Record the server or domain where the object was found, its SID, and direct membership before deciding that creation can be skipped. This is especially important after machine rebuilds or domain migrations, where the same group name can refer to a different SID.

Deleting the existing alias merely to make the create call succeed is dangerous because access-control entries can reference its SID. If the existing object is the intended one, reconcile its properties and membership. If it is not, choose a different design or explicitly migrate ACL references rather than replacing the object by name.

What to inspect

References


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

Exit mobile version