Test Active Directory Performance in Windows Server 2012

Q: Is there a tool available to test Active Directory performance on Windows Server 2012?

A: Back in the Windows Server 2003 and Windows 2000 Server days Microsoft provided a tool called the Active Directory Performance Testing Tool (ADTest.exe), which you can still download. I haven't been able to find a newer version of the tool, or an alternative tool. However, because this tool is based on LDAP to communicate with Active Directory, it will work on Windows Server 2012. (Note, though, that Microsoft no longer supports the tool.)

Some changes are necessary because of the switch to 64-bit. The Microsoft white paper "Active Directory Performance for 64-bit Versions of Windows Server 2003" discusses these changes. In addition, you should use the updated configuration file for ADTest.exe for 64-bit operating systems, which is provided in white paper's appendix.

One key Active Directory change is necessary to configure the dsHeuristics attribute to have a 9th bit of 1 (i.e., 000000001).

  1. Click Start, Run, and enter adsiedit.msc. Click OK.
  2. Double-click Configuration, CN=Configuration, CN=Services, CN=WindowsNT, CN=Directory Service.
  3. Right-click CN=Directory Service, then click Properties
  4. Click dSHeuristics.
  5. Click Edit.
  6. Set the 9th bit to 1 (i.e., change the value to 000000001).
  7. Click OK, Apply, OK.

Changes are also required on the server and client related to the number of user connections that can be used. You can use the following code:

netsh int ipv4 set dynamicport tcp start=1025 num=64511

Ignore the recommendation to change TcpWindowsSize; you don't need to configure this option in Windows Server 2008 and later.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.