PRB: SetUserObjectSecurity Returns ERROR_NOT_ENOUGH_QUOTA

ID: Q185292

The information in this article applies to:

SYMPTOMS

SetUserObjectSecurity returns ERROR_NOT_ENOUGH_QUOTA.

CAUSE

All Windows NT Executive objects, which Window stations and Desktops belong to, have a 2K limit on Access Control Lists (ACL). SetUserObjectSecurity returns ERROR_NOT_ENOUGH_QUOTA when this limit is reached. This 2K limit equals approximately 84 or 85 Access Control Entries (ACE).

RESOLUTION

It is recommended that you add an ACE based on the Logon Security Identifier (SID) since this duplicates the process used by the system. For more information on doing this, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q165194
   TITLE     : INFO: CreateProcessAsUser, Windowstations and Desktops

Consider the following options when you experience this problem:

STATUS

This behavior is by design.

Additional query words: kbDSupport kbdss kbKernBase kbSecurity

Version           : WINNT:4.0
Platform          : winnt
Issue type        : kbinfo

Last Reviewed: May 8, 1998