Solved

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

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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

860 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