Group Names and Using NET GROUP Utility

Last reviewed: March 26, 1997
Article ID: Q150295
The information in this article applies to:
  • Microsoft Windows NT Server versions 3.5 and 3.51
  • Microsoft Windows NT Server version 4.0 --------------------------------------------------------------------------

SUMMARY

When you use the NET GROUP command line utility and one of your groups has a space in its name, you receive the following message:

   The syntax of this command is:

   NET GROUP [groupname [/COMMENT:"text"]][/DOMAIN]
             groupname </ADD [/COMMENT:"text"] | /DELETE> [/DOMAIN]
             groupname username [...] </ADD | /DELETE> [/DOMAIN]

MORE INFORMATION

If a group name has a space in it, for example Domain Admins, you need to specify the group name inside quotation marks ("Domain Admins"). Use the following syntax to view the user names associated with the group:

  1. Open an MS-DOS prompt.
2. Type NET GROUP "Domain Admins" 3. The following information will be displayed:

   Group Name        Domain Admins
   Comment           Designated administrators of the domain
   Members
   -------------------------------------------------------------------
   Administrator
   The command completed successfully.


Additional query words: prodnt
Keywords : kbnetwork ntdomain NTSrv
Version : 3.5 3.51 4.0
Platform : WinNT


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: March 26, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.