repadmin and dcdiag syntax

Posted on 2016-09-26
Medium Priority
Last Modified: 2016-10-03
what would the commands be to get a full (unfiltered) list of all issues for repadmin and dcdiag on a domain controller, and the results written out to a *.txt file?

Are both tools already installed on domain controllers, or would you need to install anything previous to running the commands?

Is it intended that if you have 5 domain controllers in a domain, that you run the commands over all 5 domain controllers, or can you just run it over 1 DC in the domain?
Question by:pma111
1 Comment

Accepted Solution

sAMAccountName earned 2000 total points
ID: 41816201
Regarding repadmin and dcdiag, there isnt really one command that will tell you everything.

Both tools have a set of arguments which can be passed and depending on the argument, you will see different datasets.  Both tools can be run against all servers serially though.

Check out the usage using
repadmin /?

Open in new window

dcdiag /?

Open in new window

Some explanation of each is here:
Repadmin examples (Technet)
DcDiag examples (Technet)

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
The Windows Firewall provides an important layer of protection and a rich interface to configure it. Unfortunately, it lacks item level filtering. This article details my process of implementing firewall-as-code to reduce GPO bloat.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question