"Error 1722" error message when a program uses the NetUserGetLocalGroups function in Windows Server 2003 (829359)



The information in this article applies to:

  • Microsoft Windows Server 2003, Standard Edition
  • Microsoft Windows Server 2003, Enterprise Edition
  • Microsoft Windows Server 2003, 64-Bit Enterprise Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Tablet PC Edition
  • Microsoft Windows XP 64-Bit Edition Version 2003
  • Microsoft Windows XP 64-Bit Edition Version 2002
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Server

SYMPTOMS

When a program that is running on a Microsoft Windows Server 2003-based computer, a Microsoft Windows 2000-based computer, or a Microsoft Windows XP-based computer uses the NetUserGetLocalGroups function to query Active Directory in another domain, and the user name is in the Domain Name\User Name format, you may receive the following error message:
A system error has occurred: 1722
You do not receive an error message if the user name does not include the domain name. For example, the query is successful if you use the User Name format instead of the Domain Name\User Name format.

CAUSE

This problem may occur if NetBIOS over TCP/IP is disabled on the computer.

RESOLUTION

Note If NetBIOS over TCP/IP is disabled, the Domain Name part of the user name format Domain Name\User Name should be a fully qualified domain name (FQDN). For example, if the user name is username at testdomain.microsoft.com, the user name should be testdomain.microsoft.com\username for the call to NetUserGetLocalGroups() to succeed. If you use a domain name that is not an FQDN as part of the user name, you will receive the error that is noted in the "Symptoms" section. For example, if you use testdomain\username as the user name, you will receive this error.

Note This issue has been resolved in Windows Server 2003 Service Pack 1 (SP1) and in Windows Server 2000 Service Pack (SP4) Rollup 1.

Windows Server 2003

Service pack information

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

889100 How to obtain the latest service pack for Windows Server 2003

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Windows Server 2003 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.PrerequisitesNo prerequisites are required.Restart requirementYou do not have to restart the computer after you apply this hotfix.Hotfix replacement informationThis hotfix does not replace any other hotfixes.File information The English version of this hotfix has the file attributes (or later file attributes) 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 item in Control Panel.
   Date         Time   Version       Size     File name  Platform
   --------------------------------------------------------------
   24-Feb-2004  20:06  5.2.3790.132  852,480  Netapi32.dll  IA-64
   24-Feb-2004  20:05  5.2.3790.132  324,608  Netapi32.dll    x86

Windows XP

Service pack information

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

322389 How to obtain the latest Windows XP service pack

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Windows XP service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.PrerequisitesNo prerequisites are required.Restart requirementYou do not have to restart the computer after you apply this hotfix.Hotfix replacement informationThis hotfix does not replace any other hotfixes.File information The English version of this hotfix has the file attributes (or later file attributes) 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 item in Control Panel.
   Date         Time   Version        Size     File name  Platform
   ---------------------------------------------------------------
   01-Apr-2004  19:39  5.1.2600.1502  903,168  Netapi32.dll  IA-64
   01-Apr-2004  19:38  5.1.2600.1502  306,176  Netapi32.dll    x86

Windows 2000

Update rollup information

To resolve this problem, obtain Update Rollup 1 for Windows 2000 SP4. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

891861 Update Rollup 1 for Windows 2000 SP4 and known issues

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.PrerequisitesNo prerequisites are required.Restart requirementYou do not have to restart your computer after you apply this hotfix.Hotfix replacement informationThis hotfix does not replace any other hotfixes.File information The English version of this hotfix has the file attributes (or later file attributes) 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 item in Control Panel.
   Date         Time   Version        Size     File name
   --------------------------------------------------------
   06-Apr-2004  08:50  5.0.2195.6921  309,008  Netapi32.dll

WORKAROUND

To work around this problem, enable NetBIOS over TCP/IP. To do this, follow these steps:
  1. Click Start, and then click Control Panel.
  2. Double-click Network Connections.
  3. Double-click the Local Area Connection to be configured, and then click Properties.
  4. In the list of components, click Internet Protocol (TCP/IP), and then click Properties.
  5. Click Advanced, and then click the WINS tab.
  6. Click Enable NetBIOS over TCP/IP, and then click OK.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about the terminology that is used in this article, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Modification Type:MinorLast Reviewed:10/6/2006
Keywords:kbHotfixServer kbwinservds kbActiveDirectory kberrmsg kbBug kbfix kbQFE kbWinServ2003preSP1fix KB829359 kbAudITPRO