The DCDiag command has a number of available options and ways it can be run. However, the most common way to run it is with no parameters at all:. Running it like this will cause DCDiag to run the default set of tests against the local server.
This allows you to run dcdiag remotely against other DCs in the environment. When run without any parameters, the DCDiag command outputs a lot of information that can be hard to decipher. Let's look at a basic example:. In this screenshot, the information in the blue box is the basic setup and core connectivity test.
This section will be present whenever you run DCDiag. It is also used to diagnose DNS servers, AD replication, and other critical domain services within your Active Directory infrastructure. These tests give you a brief overview of the overall health of your Active Directory Domain Controller. With this utility, you can perform up to 30 different tests of your Active Directory Domain Controller to check its health status and other major issues that could be happening without you even knowing!
In previous versions of Windows Server, you need to download and install the DCDiag utility from the following link:. A word of caution! Even though the fix switch is designed to make safe automatic repairs, it is still making changes to the domain controller. Additionally, you can make the DCDiag tool exclude specific tests. You can't apply the skip switch to the Connectivity Test. The DCDiag is an easy-to-use and simple, yet powerful utility for checking the health of your domain controllers.
How to install DCDiag? What can you do with the DCDiag utility tool? The DCDiag command syntax. How to run DCDiag? Remote DC health checks. Checking health for all DCs. Additional Functions Fix errors. Specify or skip tests. DcPromo Tests the existing DNS infrastructure for any computer that you want to promote to be a domain controller. This parameter reports whether any modifications to the existing DNS infrastructure are required. With the exception of the DcPromo and RegisterInDNS tests, you must promote computers to be domain controllers before you run tests on them.
Identify servers that returned "warn" or "fail" status for any subtest in the summary table. Repeat steps 1 through 6 as required until all failures are understood and reconciled.
Dcdiag takes a conservative approach by identifying DNS client or DNS server configurations that may be problematic, do not conform to best practice configurations, or that dcdiag cannot fully validate. Therefore, the summary and detailed sections of dcdiag may report warnings for DNS configurations that are currently functional. Administrators should investigate and validate such configurations when identified by dcdiag. The tables below contain the configurations that can trigger dcdiag to report warnings or errors for each of the DNS subtests.
Every domain controller should register a host A resource record. Make sure that host A records are registered on all the DNS servers that the client is pointing to. Forwarders configured on the DNS server have an invalid IP address or are not a DNS server, or name resolution is not working that is, cannot resolve forest root domain SRV record if it is a non-root domain domain controller. Error: Both root hints and forwarders are not configured. Please configure either forwarders or root hints.
Make sure that either forwarders or root hints are configured on the DNS server unless it hosts a root zone. Status field will tell you the status of the server. Dynamic update is not enabled on the Active Directory zone so client cannot register its records. All these records can be registered by stopping and starting the netlogon service. If there are multiple network adapters the test checks whether all the records are present on all the DNS servers configured on each adapter.
This error occurs if the record registration is missing on the DNS server. Specified Internet name cannot be resolved. Make sure the proxy client, servers, root hints, and forwarders are configured properly.
Warning: Neither forwarders nor root hints are configured from subordinate domain to parent domain. Forwarder or root hints need to be configured in the DNS servers of either the parent or subordinate domains that are hosting the authoritative zones for their respective domain to enable name resolution to work.
0コメント