How to Export Active Directory Users Accounts to a file

By : Sean Brown |January 12, 2012 |Windows Server |1 Comment


If you need a quick way to export all user accounts in Active Directory to a file, follow these simple steps.

IMPORTANT NOTE: You must be logged in to a Domain Controller to enumerate all AD accounts, if you run this locally/on a non-domain controller, it will enumerate only local accounts on that machine.


Windows Server Active Directory

Affected Products

  • Windows 2000 Server
  • Windows 2003 Server
  • Windows 2008 Server
  • Windows 2012 Server

About Sean Brown

Sean Brown is a seasoned IT/Telecommunications professional working in the sector since the mid/late 90′s. Learn more about Sean by viewing his professional biography and Resume/CV.

One Comment

  1. Lepide Says: January 20, 2012 08:45 Reply

    One of the simplest methods is using Active Directory Users and Computers.
    1. Open this Snap-in, go to View, Add /Remove columns and add E-mail address to the Displayed columns list;
    2. Select the desired OU from witch you intend to make the export, go to Action and Export list;
    3. Choose the format and name of the destination file;
    4. Save

Post a Comment

Your email address will not be published. Required fields are marked *