Where can I get dsquery and other tools useful for debugging Active Directory issues?

Brandon DuRette picture Brandon DuRette · Jun 1, 2009 · Viewed 83.3k times · Source

The dsquery command line tool is mentioned in the solution to several questions about Active Directory. However, my workstation does not have this command line tool. Where do I get it?

Answer

Eelco L. picture Eelco L. · May 8, 2013

For Windows 7, it's part of the Remote Server Administration Tools (RSAT) feature pack:

http://www.microsoft.com/en-us/download/details.aspx?id=7887

This can be used for W2003 and W2008 servers.
Information on how to install these with the dism command can be found in my blog post.

For Windows 8, it's on:

http://www.microsoft.com/en-us/download/details.aspx?id=28972

This one is for managing W2012 servers:

http://www.microsoft.com/en-us/download/details.aspx?id=7887