Re: NET LOCALGROUP limited to 20 character group names

  • Thread starter Thread starter Ray at
  • Start date Start date
R

Ray at

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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top