I do not have this problem. What do you mean, it doesn't work? Are you
enclosing your group name in quotes if there are spaces? Do you get an
error? What is the name of the group?
Ray at work
Ray,
What I mean is that it gives a syntax error with a group name over 20
characters. I am enclosing the group in double quotes. Here is an
actual example from a 2003 member server. Notice the first instance
with "enterprise admins" works and the seconds gives a syntax error. I
made sure that the long command line does not have an improper line
break.
C:\Temp>net localgroup "Remote Desktop Users" "enterprise admins" /add
The command completed successfully.
C:\Temp>net localgroup "Remote Desktop Users" "Team Terminal Session
Access to Member Servers" /add
The syntax of this command is:
NET LOCALGROUP
[groupname [/COMMENT:"text"]] [/DOMAIN]
groupname {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN]
groupname name [...] {/ADD | /DELETE} [/DOMAIN]
Charlie