Microsoft KB Archive/290794

= Ifmember causes Error 122 =

Article ID: 290794

Article Last Modified on 2/22/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)

-



This article was previously published under Q290794



SYMPTOMS
When you run the Ifmember.exe tool from the Microsoft Windows 2000 Resource Kit or the Microsoft Windows Server 2003 Resource Kit, you may receive the following error message:

ifmember: GetTokenInformation failed. Error code returned by system was 122.

This error message may occur if a user is a member of 100 or more groups.



CAUSE
The Ifmember.exe tool uses a buffer with a static size to make the GetTokenInformation function call. After you apply the hotfix that is described in this article, Ifmember uses dynamic buffers.



RESOLUTION
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to obtain the latest Windows 2000 service pack

The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date      Time   Size   File name 3/5/2000 02:01  5,392  Ifmember.exe Note The new version of the Ifmember.exe tool is not automatically installed with the Service Pack files. However, if you expand the Service Pack files to a folder or if you have the Service Pack 3 or Service Pack 4 CD, you can use the Expand.exe tool to expand Ifmember.ex_ and then use the Ifmember.exe.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in Windows 2000 Service Pack 3.



MORE INFORMATION
For additional information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the following article number to view the article in the Microsoft Knowledge Base:

265173 The Datacenter Program and Windows 2000 Datacenter Server product

For additional information about how to install multiple hotfixes with only one reboot, click the following article number to view the article in the Microsoft Knowledge Base:

296861 How to install multiple Windows updates or hotfixes with only one reboot

For additional information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the following article number to view the article in the Microsoft Knowledge Base:

249149 Installing Microsoft Windows 2000 and Windows 2000 hotfixes

Additional query words: kbOther

Keywords: kbhotfixserver kbqfe kbbug kbfix kbother kbwin2000presp3fix kbwin2000sp3fix KB290794

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.