Microsoft Domain Controller Health Check
The dcdiag tool is a microsoft command line utility that can be used to check the health of active directory domain controllers.
Microsoft domain controller health check. I look at all the logs before and after the update to the domain controller looking for abnormal events. It is also used to diagnose dns servers ad replication and other critical domain services within your active directory infrastructure. Using dcdaig tool you can verfiy following ad compnonets are working fine or not. Check dns registration.
Checking fsmo roles on a domain controller. Examine domain controller and verify it is functioning. These tests give you a brief overview of the overall health of your active directory domain controller. You can check the health of a domain using dcdaig netdaig netsh repadmin tool.
Command line tool to perform various domain controller tests to help confirm health and diagnose problems. Let s dive right in. Use dcdiag with powershell to check domain controller health adam bertram thu apr 18 2019 thu apr 18 2019 active directory powershell 26 one of the oldest and most useful tools to figure out what s going on in your active directory environment is dcdiag. Troubleshoot active directory replication errors.
With the pre check i usually go back a month of logs to get more historical data. Adminprep is not up right now so i ll post the health check stuff here. Of an active directory health check it. Years ago when i was contacted by a staffer who said a domain controller wasn t replicating.
I get asked over and over about what i do when i m performing a health check on a domain controller. Be sure to check the examples section below and i ll show you the output of a normal domain controller and one that has issues. In this article i m going to show you how to use dcdiag to do a domain controller health check as well as using dcdiag to test dns. The event viewer is always a must.
If you re unsure check out this article for testing rpc ports with powershell and use the test wsman powershell command to test wsman remote capabilities. You can use it for a variety of tasks including but not limited to checking the health of your domain controllers and testing dns. Running dcdiag tests with a powershell boost dcdiag or domain controller diagnostics is the microsoft approved way of validating active directory services. Dcdiag is an important tool an any active directory administrators toolbox.
I would love for you to come back here and let me know what else you do when you do health checks on domain controllers. Top 5 free microsoft tools for active directory health. For example it s needed for cleaning up if a domain controller isn t demoted cleanly.