Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I'm working on a program (in C#) that needs the ability to add groups to a stand-alone windows 2000 box... It has to be based off the NET command, or something that comes with a standard install of w2k.
When I try to issue the NET command with the following syntax it bombs out:
[GRENDEL] C:\>net group myusers /add
This command can be used only on a Windows 2000 Domain Controller.
More help is available by typing NET HELPMSG 3515.So obviously, the problem seems to be that I can't issue "net group" commands on a machine that is not a domain controller? The "net user" commands work, just not the "net group" commands.
So my questions are:
1) Could someone enlighten me as to how I can add a group to a stand-alone
windows 2k box using "net group" or with a utility that is part of the standard install?2) Could someone try to execute the following command on a Windows XP and or a Windows 2003 box that is not setup as a domain controller? I'm in the world of Solaris at the moment and I'm not currently able to access a windows box to test this idea.
Thanks...

On XP I get the same error.
Help says: "NET GROUP adds, displays, or modifies global groups on servers. "I do believe 'global groups' is an AD term. This suggests to me that groups can only be added to AD, which means you can't add a group to a standalone box.
Peter

Hey man, I figured it out... for standalone machines... change group to localgroup as in:
net localgroup test /add

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |