?
Solved

repadmin and dcdiag syntax

Posted on 2016-09-26
1
Medium Priority
?
258 Views
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?
0
Comment
Question by:pma111
1 Comment
 
LVL 6

Accepted Solution

by:
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)
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
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 …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

850 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