PORTUAS Err Msg: Unexpected Return Code 5 From API NetGroupAdd

Last reviewed: February 15, 1996
Article ID: Q143135
The information in this article applies to:
  • Microsoft Windows NT Server versions 3.5 and 3.51

SYMPTOMS

When you attempt to run the command PORTUAS /f a:\netacc.bkpas (for example) on a Windows NT Server, the following error message appears:

   Unexpected return code 5 from API NetGroupAdd.
   PortUAS returned - 5. More information ahout this and other
   error codes greater than 2100 may be available by typing
   NET HELPMSG 5 at the command prompt. A zero indicates that
   no errors were detected when the database was converted.

RESOLUTION

To correct this problem:

  1. Ensure that the Server and Netlogon services are started. Run Control Panel Services to verify that these services are started.

  2. Ensure that you are a member of the Administrator group.


KBCategory: kbnetwork
KBSubcategory: ntdomain ntinterop
Additional reference words: prodnt 3.50 3.51


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 15, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.