Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to add users to the an Active Directory group using net group. We use Domain Local groups for everything. When I go to run the command net group "group name" "username" /add /domain it returns "The group name could not be found. More help is available by typing NET HELPMSG 2220."

If I create a Global group and try to add them it works without issues. I would rather not re-do all of our groups just to be able to use this to add people to a group. Any thoughts/suggestions?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You're so close... >smile<

You're looking for the following command to manipulate domain local group membership.

NET LOCALGROUP "group name" username /ADD /DOMAIN

You can run that from a DC or a member computer in the domain.

BTW, if your domain functional level is Windows 2000 or higher you can change groups freely between the various types w/o having to recreate them.

share|improve this answer
    
worked perfect, thanks! –  numone Oct 1 '09 at 12:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.