Computing.Net > Forums > Windows 2000 > net group /add on a non-domain cont

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

net group /add on a non-domain cont

Reply to Message Icon

Name: InfiniteRecursion
Date: April 11, 2005 at 06:29:45 Pacific
OS: windows 2000
CPU/Ram: 512
Comment:

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



Sponsored Link
Ads by Google

Response Number 1
Name: pmkdatabase
Date: April 12, 2005 at 03:01:55 Pacific
Reply:

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


0

Response Number 2
Name: InfiniteRecursion
Date: April 12, 2005 at 12:17:22 Pacific
Reply:

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

net localgroup test /add


0

Response Number 3
Name: pmkdatabase
Date: April 12, 2005 at 19:02:39 Pacific
Reply:

Ah, yes, I see it there now.

Live and learn!

Peter


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: net group /add on a non-domain cont

server thinks its on a enterprise domain www.computing.net/answers/windows-2000/server-thinks-its-on-a-enterprise-domain/14300.html

Win2kPro on a Child Domain www.computing.net/answers/windows-2000/win2kpro-on-a-child-domain/19090.html

cannot assign permissions www.computing.net/answers/windows-2000/cannot-assign-permissions/58859.html