Solved

Active Directory:  is there an easy way to add users to a new group?

Posted on 2006-12-01
5
198 Views
Last Modified: 2012-05-05
We have a new application that is available only to users who are members of a group called "agents".  Of the 400+ users about 350 should be in the "agents" group and I have started the ardous process of opening each users profile and adding them to the group.

Is there a way I could do this easier?   Like globally add everyone to the 'agents' group and the perhaps remove the 50 that should not have this membership?
0
Comment
Question by:JayMulkey
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 2

Accepted Solution

by:
eric_bender earned 250 total points
ID: 18054624
How are your users configured within your domain?  Do you have separate OU's?  

Under 2003 you can select Multiple Users (Shift + Left Click)  then right click for the properties and add member ship... Otherwise you can use the DSquery command to gather all of your domain users and pipe that to the dsmod command (This is Windows 2003, right)?
0
 
LVL 2

Expert Comment

by:eric_bender
ID: 18054649
You can use the select multiple user function in w2k as well, but you need to make sure that you are selecting only users.  If you get any "groups" in the selection it may not give you the option.  And it is not actually Properties.... but "Add Members to Group"  for both versions.
0
 
LVL 2

Expert Comment

by:eric_bender
ID: 18054673
Or it might be dsadd..... I can't recall directly.. I will see if I can find the syntax.  But the GUI interface through Active Directory Users & Computers is the easiest.
0
 
LVL 2

Expert Comment

by:eric_bender
ID: 18054747
I don't use the ds commands as much as I use scripting. Mostly vbscripts querying LDAP.  Microsoft Technet has a section called "Hey! Scripting Guy".  Within it they have a script repository that has many many scripts.  Most are generic, in that for your own use you would need to make modifications or even combine scripts.  

I know that isn't as much info as would be completely useful, but.......

Let me know if you need any help.
0
 
LVL 104

Expert Comment

by:Sembee
ID: 18055612
I am pretty sure that admodify.net (same URL) can do the bulk add for you.

Simon.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question