Solved

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

Posted on 2006-12-01
5
197 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Enterprise networks where VoIP phones have been deployed frequently use port configurations that allow both a computer and an IP phone to be plugged into the same switch port but use different VLANs. On Cisco equipment I'm referring to the "native V…
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 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