Skip to content

Update Active Directory Users in Bulk

The Bulk User Update Tool enables administrators to efficiently modify account attributes for large groups of users in a single operation. Instead of editing accounts one by one, this tool streamlines the process by allowing bulk selection, configuration, and execution of updates across any number of AD user accounts.

  • Includes CSV Template

    • CSV template includes 35 user attributes, and you can easily add more.
  • Update General User Attributes

    • Bulk modify office, telephone, email, first and last name, change logon names.
  • ProxyAddresses

    • Update users proxyAddresses, add, remove or change existing address.
  • extensionAttributes

    • Update the extensionAttributes 1-15 for multiple users at once.
  • Address Attributes

    • Update street, PO box, city, state, zip, country.
  • Account Options

    • Bulk update user account options such as password never expires, change password.

Step 1. Click on “Update Users”

select update users

Step 2. Click on “Download CSV Template”.

click download csv template

Step 3. Modify the CSV template and add the accounts and details that you want to update. You can remove any columns from the spreadsheet that you don’t need.

You can use one of the columns below to identify the accounts.

  • sAMAccountName (default)
  • EmployeeID
  • EmployeeNumber
  • UserPrincipalName

CSV Example: In this example, I’m going to update the description, office, city, state, title, department, manager and company. I’m using the sAMAccountName attribute to identify the accounts, I’ve also removed the columns I don’t need.

Save your template and move to step 4.

update users csv exmaple

Step 4. Select your CSV file and click “Run”.

select csv file

Review the logs for any update errors.

To remove user attributes put remove in the column. See the picture below for an example. In this example, I’ll remove the description and office attributes for multiple users.

remove user attributes

The AD Pro Toolkit includes a user export tool, this will save you time from manually creating a CSV template.

In this example, I’m going to generate a list of all users in the Accounting OU.

  1. Click on “Export Users”.
  2. Click “Browse” to select an OU or group. In this example, I’m going to select my Accounting OU.
  3. Click “Columns” and add/remove the columns you want to update.
  4. Click “Run” to preview and then click export and select “Export to CSV”.
  5. Now you should have a CSV template with the list of users and attributes you want to update. Next, just update the CSV with the new details and run the tool to process the csv.
Attribute NameExample ValueDescription
sAMAccountNamerobert.allenThis will be the user’s logon name.
passwordFuutbaal#123The password for the user.
memberofgroup1,group2Adds the user to groups. Use group names; separate multiple groups with commas.
givenNameRobertThe user’s first name (General tab).
initialsRAThe user’s initials (General tab).
snAllenThe user’s last name (General tab).
displayNameRobert AllenThe user’s display name (General tab).
descriptionIT staffThe Active Directory description field (General tab).
physicalDeliveryOfficeName1st floorThe office field (General tab).
telephoneNumber1-888-214-3802Telephone number field (General tab).
mailrobert@activedirectorypro.comThe email field (General tab).
wWWHomePageactivedirectorypro.comWeb page field (General tab).
streetAddress123 W. EagleCrest LNStreet field (Address tab).
postOfficeBoxPO Box 1P.O. Box field (Address tab).
lSpringfieldCity field (Address tab).
stMOState/Province field (Address tab).
postalCode65802ZIP/Postal Code field (Address tab).
cUS2-digit country code.
coUnited StatesCountry name (string value).
countryCode840Country code (integer value).
profilePath\file1\profiles\%username%Profile path field (Profile tab).
scriptPathit.batLogon script field (Profile tab).
homeDirectory\file2\users\IT\%username%Home folder path (Profile tab).
homePhone1-888-214-3802Home phone (Telephones tab).
mobile1-888-214-3802Mobile number (Telephones tab).
ipPhone1-888-214-3802IP phone (Telephones tab).
titleNetwork ManagerJob title field (Organization tab).
departmentITDepartment field (Organization tab).
companyActive Directory ProCompany field (Organization tab).
employeeID12345The employeeID attribute.
employeeNumber1The employeeNumber attribute.
managerrobert.allenAssigns a manager to the user. Use the manager’s logon name.
proxyAddressesSMTP:test.user1@activedirectorypro.com, smtp:test.user2@activedirectorypro.comAdds additional proxyAddresses to the user.
proxyAddresses_updatesmtp:test.user3@activedirectorypro.comUpdates existing proxyAddresses.