ERROR_LUIDS_EXHAUSTED - 1334 (0x536)
No more local user identifiers (LUIDs) are available.
Updated: Feb 21, 2026
Technical Meaning
The ERROR_LUIDS_EXHAUSTED error indicates that the system has run out of available Local User Identifiers (LUIDs). LUIDs are unique identifiers used by Windows to represent security principals, such as users and groups, in various API operations.
Error Details
This error typically occurs when an application or service attempts to allocate a new LUID but finds that all available LUIDs have been exhausted. Each process on the system has its own pool of LUIDs, which are managed by the operating system to ensure unique identifiers for security contexts and other operations.
Usage Context
LUIDs are commonly used in API calls such as AllocateLocallyUniqueSecurityId or LookupPrivilegeValue. When an application needs a new LUID, it requests one from its process pool. If no LUIDs remain, the system returns the ERROR_LUIDS_EXHAUSTED error.
Developer Interpretation
Developers should be aware that this error is related to resource limits and can impact operations that require unique identifiers. It may indicate a need for more efficient use of LUID resources or scaling considerations in applications with high concurrency requirements.
Related Errors
ERROR_NOT_ENOUGH_MEMORY(0x80070002): Indicates insufficient memory, which could indirectly affect the availability of LUIDs if they are stored in memory.ERROR_TOO_MANY_SECRETS(0xC000014D): Another resource limit error that might be encountered when dealing with security-related operations.
FAQ
Q: What causes ERROR_LUIDS_EXHAUSTED?
A: This error occurs when all LUIDs in a process's pool have been allocated and no more are available for allocation.
Q: How can I prevent this error from occurring?
A: Ensure that your application manages LUID resources efficiently, possibly by reusing or recycling them where appropriate. Consider the scalability of your application if it frequently requires new LUIDs.
Summary
The ERROR_LUIDS_EXHAUSTED error is a specific resource limit condition related to Local User Identifiers (LUIDs) in Windows API operations. Developers should be mindful of this limitation and take steps to manage LUID resources effectively, especially in applications with high concurrency or security requirements.