<

Batch processing users via the Active Directory GUI

Published on
3,351 Points
251 Views
1 Endorsement
Last Modified:
Scripts are great for performing batch jobs against users, however sometimes the GUI is all you need.

The problem:

Many admins need to perform bulk operations on users and other objects and many of us are fine with using scripts or command line tools.  What do you do when you aren't good at scripting or you are intimidated by the command line syntax for some command line tools?  Have no fear, one of the hidden treasures of AD is to be able to perform batch processing of users from within the Active Directory Users and Computers GUI.   So how is this done?


Example

Let say we want to assign or change a logon script for all or some users within an OU. 

  1. Load the Active Directory Users and Computer MMC.
  2. Navigate to the OU that contains the users you want to manage.
  3. Select the users you want by Pressing CTRL-A for all users or Press CTRL and click only the users you want.  You can also use SHIFT and click to select a range of users.
  4. Right click the highlighted users and select Properties.
  5. The Properties for multiple Items dialog will appear.
  6. Select the profile tab and check the logon script and assign a logon script name in the adjacent field.
  7. Click OK to start batch processing.
  8. Each user will now be process sequentially.


That was simple wasn't it.  You could also do the opposite.  Let's say you no longer wanted anyone to have a logon script.  In step 7 above, you would just leave the check in the logon script box, but leave the field blank.


Look around the Properties for multiple items dialog and see what other settings can be configured.  You can also perform functions like enabling or disabling users directly from the right click menu.  You can also perform batch processing on other objects, but it isn't as advanced as it is with user objects.  You can even use saved queries from within the MMC to obtain the objects for you.


This example only touched on what is possible with batch processing via the GUI.  For more advanced changes you will likely still need to use command line tools and scripts to perform bulk operations, but hopefully this article shed some light on some power of the GUI.

1
Comment
Author:Pber
0 Comments

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

Join & Write a Comment

This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Other articles by this author

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month