Error when an application calls the NetLocalGroupGetMembers function in Microsoft Windows: "ERROR_NO_SYSTEM_RESOURCES" (912671)



The information in this article applies to:

  • Microsoft Windows Server 2003, Datacenter Edition
  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, Standard Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Home Edition
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Server

SYMPTOMS

When an application calls the NetLocalGroupGetMembers function in Microsoft Windows, you receive the following error message:
ERROR_NO_SYSTEM_RESOURCES

CAUSE

This problem occurs when the user account is using more than 2,048 concurrent connections, or handles, to the Security Accounts Manager (SAM) database.

When an application calls the NetLocalGroupGetMembers function, this function obtains data from the SAM database. Each user account, except for Administrator, is allowed a maximum of 2,048 active SAM handles. If a user account opens more than 2,048 handles, the NetLocalGroupGetMembers function returns an "ERROR_NO_SYSTEM_RESOURCES" error. When this error is returned, the application keeps calling the NetLocalGroupGetMembers function until the NERR_Success value is returned.

Note
The NERR_Success value is returned when there is no more data available.

MORE INFORMATION

In the situation that is described in the "Symptoms" section, the excess handles are left to the Lsass.exe process.

Modification Type:MajorLast Reviewed:1/19/2006
Keywords:kbwinservsetup kbtshoot KB912671 kbAudITPRO