| Last updated on 21 January 2026
Contents: |
IntroductionThank you for using AD Bulk Export 4! This document contains information to help you get the most out of AD Bulk Export, exporting from Active Directory is now quick and easy. Look here first for answers and to get started. AD Bulk Export is amazingly simple to use yet a powerful application that allows you to export data from Active Directory to various formats including CSV, Excel (xls), PDF and SQL and Oracle databases. You can export data for Users, Contacts, Groups and Computer objects, with advanced filtering you can export just the data you need and with the built-in scheduler you can export this data when you need it to the destination you need (CSV, Excel, SQL, Oracle etc). AD Bulk Export enables you to export all available attributes including any custom attributes you’ve added plus attributes from programs that have extended the schema such as Microsoft Exchange, Lync etc. AD Bulk Export is ideal for Active Directory migrations when used with AD Bulk Users and AD Bulk Contacts. System Requirements
LicensingPer AdministratorThe Single Administrator License is designed to be used by one person and can be installed on one PC or server and used by the same user. The software can only be used within your organization. Site LicenseThe Site License allows an unlimited number of users and installations at a single address location. The software can be installed on one or more desktops or servers and can be used by anyone within the organization. A site license is for on-site use at one location and the software can only be used within your organization. Enterprise Multi-Site LicenseThe Enterprise License allows an unlimited number of users and installations. If your organizations network spans multiple locations then an Enterprise license is required. The software can be installed on one or more desktops or servers and can be used by anyone within your organization. The software can only be used within your organization. Consultant LicenseThe Consultant Licence allows one consultant to use the program at multiple sites for multiple organizations but the software is not to be left at those organizations; if more than one consultant will be using the software then a Consultant Licence is required for each person using the software. All software must be removed when the project is complete. Main features
Export optionsYou can export the data held in Active Directory to CSV, Excel, PDF and SQL and Oracle databases. Selecting Active Directory objects to exportStart by identifying which Active Directory Organizational Unit, Group or Object you want to export the data from. A typical example is shown below; in this example all the objects (users, contacts or computers) within the Organizational Unit ‘London’ and ‘Manchester’ would be retrieved.
The status bar shows the progress of objects being read from the Active Directory.
When complete the total number of objects retrieved is shown in the status bar.
The resultsAfter the selected objects have been read from Active Directory they are displayed in the data grid similar to the example below. Initially all objects found in the OUs and/or Groups queried are shown, you can use search and filters to refine the results, each column represents one attribute, each row represents a User, Contact, Group or Computer. The columns can also be sorted by dragging and dropping them. The column order is retained when saving the results to a file.
Filtering the resultsYou can refine the results be sorting, hiding columns, searching and applying filters, this section explains how these work. Right clicking the column headers will reveal the menu shown below; from here perform sorting, column selection and filtering.
Sorting columnsYou can sort the columns by clicking the column header or by right clicking the column header and selecting ‘Sort Ascending/Sort Descending’.
Group by columnsYou can organize the results by column by selecting ‘Group By This Column’ from the right click menu. This is useful if you want to group by department or city.
Selecting ‘Show Group By Box’ will add the box highlighted below above the datagrid, you can drag and drop columns here you want to group by. This is useful when you want to group by one column then another.
To clear grouping right click the ‘Group By Box’ and select ‘Clear Grouping’.
Removing columnsYou can ‘Remove’ columns from the results by selecting ‘Remove This Column’.
Hiding and showing columnsYou can show and hide columns from the grid by selecting ‘Column Chooser’ from the right click menu. Drag and drop the columns on to the ‘Customization’ window to remove them and drag them back to add them back in.
Search within a columnYou can search within a column by clicking in the text box beneath the column header; the results are filtered as you type. You can remove the text box by selecting ‘Hide Auto Filter Row’ from the right click menu.
Search across all columnsTo search across all columns select ‘Show Find Panel’ from the right click menu, this will add a search box above the column headers. Select ‘Hide Find Panel’ to remove it.
Advanced Filter EditorTo apply conditional filters click the ‘Filter’ icon in the main window. Below is an example filter that would display users that are in the Sales department and have a title of Manager but not Assistant (i.e. not Assistant Manager). Click ‘Apply’ to apply the filter but leave the Filter Editor open, click OK to apply the filter and return to the main window. You can save the filters you create by clicking the ‘Save Filter’ button.
Exporting the resultsWhen you have the results you want to export you can save the results to a CSV, Excel or PDF file or save to a SQL or Oracle database. To save in CSV, Excel or PDF formats simply click the correct icon in the ‘Export’ section in the main window.
CSV EncodingWhen saving to a CSV file you can select the file encoding to use by clicking the dropdown, the default is ASCII. For non-English characters use Unicode.
Exporting from Active Directory to a databaseTo export to a database click the ‘Database’ icon in the ‘Export’ section in the main window. The ‘Database Export Options’ window will then be shown, from here you can select your destination database (SQL or Oracle) the table name and the credentials used for the connection.
Scheduling Exports from Active DirectoryVersion 4 of AD Bulk Export now has a built-in scheduler which means you can schedule your data to be exported automatically at times you specify. To run the scheduler click on the Schedule tab in the main window and then click ‘Open Scheduler’ to open the Scheduler window.
Create a new scheduleTo create a new scheduled export click the icon highlighted below, this will start the schedule wizard.
Below is a walkthrough of the Schedule Wizard. 1. Enter a name for the schedule (e.g. Export for HR).
2. Select the frequency you want the schedule to run.
3. Select when you want the schedule to run.
4. Specify the path(s), objects and attributes to query. Specify the credentials for the connection and any filters you want to apply.
5. Export to File or Database.
6. Specify where the file will be saved, optionally enter an email address where the file should be sent to (Email will be grey until a mail server has been specified).
If you choose to export to a database, specify the connection here.
7. Schedule summary and option to test the schedule.
Edit a scheduleTo edit an existing schedule click the icon highlighted below.
Delete a scheduleTo delete an existing schedule click the icon highlighted below.
Schedule Mail SettingsWhen a schedule is set to export to a file (CSV, Excel or PDF) the program can send the file to an email address you specify. To specify a mail server and senders address click the ‘Mail Settings’ icon highlighted below, this opens the ‘Scheduler Mail Settings’ window.
From here you can specify a mail server, subject line, senders address and credentials need to send the email.
General settingsYou can access the ‘Settings’ from the icon in the main window or via the main menu.
Default Language From the ‘Settings’ window you can select which language should be used by default. The program will need to restart for the changes to take effect. Logging To log the programs usage check ‘Enable Logging’ in the ‘Settings’ window. Clearing usage history You can clear usage history such as paths queried and database connections from the ‘Settings’ window. Command line operationADBulkExportCLI /? /HELP /LANG:{language} /LOG /PATH:{path} /USERNAME:{username} /PASSWORD:{password} /OBJECTS:{USERS|COMPUTERS|CONTACTS|GROUPS} /COLUMNS:{columns} | /PRESET:{preset} /FILTER:{filter} /SORT:{sort} /FORMAT:{CSV|XLS|PDF|DB} /FILE:{file} /ENCODING:{ASCII|UNICODE|UTF8} /CONNECTIONSTRING:{connectionstring} /TABLENAME:{tablename} /TABLEACTION:{NONE|CREATE|TRUNCATE|DROP}
General options:/? /HELP /LANG /LOG Query Options:/PATH /USERNAME /PASSWORD /OBJECTS /COLUMNS /PRESET /FILTER /SORT Export options:/FORMAT File export Options: /FILE /ENCODING Database export options:/CONNECTIONSTRING /TABLENAME /TABLEACTION NONE: Does not modify the table Notes:
Examples:Export user migration columns pre-set for users in TestOU1 and TestOU2 organizational units to a CSV file. ADBulkExportCLI /path:”OU=Test1,DC=domain,DC=com;OU=Test2,DC=domain,DC=com” /preset:UserMigration /format:csv /file:”c:\testfile.csv”
Export “cn” and “displayName” attributes for users and computers in the “Test1” organizational unit to a database table named “TestTable” located in a SQL Server database. ADBulkExportCLI /path:”OU=Test1,DC=domain,DC=com” /objects:users,computers /columns:cn,displayName /format:db /connectionstring:”Driver={SQL Server};server=MyServer;database=TestDB;trusted_connection=no;uid=sa;pwd=sa” /tablename:TestTable
Adding attributesAD Bulk Export can retrieve any attributes for the objects you want to query but for performance reasons it is necessary to select the attributes you want before you click ‘Start’. To speed up the process of selecting the attributes AD Bulk Export now includes ‘Pre-sets’ which are a collection of attributes that can be easily selected from the main window. The program includes a number of ‘Pre-sets’ such as ‘Most Common’, these pre-sets can be changed (i.e. you can add additional attributes to them) and you can also create your own pre-sets. For example if you wanted to send the sales manager a report each week that contained the name, email address and telephone number of every Contact in AD then you could create a pre-set called ‘Sales Manager’ or ‘Name, Mail and Phone’. Clicking ‘Add or Remove Columns’ in the main window will show the ‘Add/Remove Column Selector’ window, from here you can add or remove attributes (columns) and create and edit ‘Pre-sets’ (group of attributes).
SupportIf you require help with AD Bulk Export or simply need to ask a question please you can contact us via our support form or send an e-mail to [email protected]. See also the Frequently Asked Questions at http://www.dovestones.com/support.asp. |
|---|---|





































