Group Names and Using NET GROUP Utility (150295)



The information in this article applies to:

  • Microsoft Windows NT Server 3.5
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0

This article was previously published under Q150295

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.
    						

Modification Type:MajorLast Reviewed:5/14/2003
Keywords:kbnetwork KB150295