How to determine the number of enabled user accounts for Netwrix Auditor?

This article explains how to calculate the number of users in your Active Directory domain.
Email It to Me Print this Page
Question How to determine the number of enabled user accounts for Netwrix Auditor?
Answer The number of enabled user accounts can be determined using one of the following two ways:
  • Use the following link to download a special script: http://www.netwrix.com/download/products/vbs_script/countofusers.zip.
    1. Save and unzip countofusers.zip and run countofusers.vbs file.
    2. When prompted, enter your domain name. The script will return the number of enabled user accounts in the specified domain.
  • Execute the following steps:
    1. Create a new query in Active Directory Users and Computers snap-in (right-click on the Custom Queries node and select New).
    2. Specify the Query Root of the Organizational Unit you want to monitor (or the entire domain).
    3. Click on Define Query.
    4. Select Custom Search from Find drop-down list.
    5. Open Advanced tab and paste the following LDAP filter: (&(sAMAccountType=805306368)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
    6. Click OK to save the changes.
Was this information helpful?