What does NTSTATUS 0xC0000151 (STATUS_NO_SUCH_ALIAS) mean?

 
Previous Next
STATUS_SERIAL_NO_DEVICE_INITED STATUS_MEMBER_NOT_IN_ALIAS

STATUS_NO_SUCH_ALIAS

An alias is a specific SAM object; a similar display name is not enough

STATUS_NO_SUCH_ALIAS is a Security Account Manager identity lookup failure. In Windows account-management APIs, local groups map to SAM alias objects. A request can therefore fail even when a global group with the same or a similar name exists, because global groups and aliases are different object classes and use different operations.

Resolve the account database and server first. NetLocalGroupGetInfo and the SAM Remote Protocol operate against a selected machine or domain context. Provisioning code that silently switches between the local SAM, a member server, and a domain controller can search the wrong database. Renames also matter: use the SID or returned object handle where possible instead of retaining an old text name indefinitely.

Before creating a replacement group, enumerate the intended local groups and confirm that the original alias was supposed to exist in that account store. Automatically creating a same-named alias can change authorization semantics if ACLs reference the SID of a deleted object or if the caller actually intended a domain group.

What to inspect

  • The target server or domain context and whether the caller intended a local/domain-local alias or a global group.
  • The exact alias name, resolved SID if known, and recent rename or deletion events.
  • The result of enumerating local groups in the same account database used by the failing operation.

References


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