Knowledge Base

Group Names and Using NET GROUP Utility

Article ID: 150295

Article Last Modified on 11/1/2006


APPLIES TO


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.
    						

Additional query words: prodnt

Keywords: kbnetwork KB150295