Group Names and Using NET GROUP Utility

ID: Q150295


The information in this article applies to:
  • Microsoft Windows NT Server versions 3.5, 3.51, 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
Issue type :


Last Reviewed: February 17, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.