Working with the Domain Controller Diagnostic Utility - Part 2
Working with the Domain Controller Diagnostic Utility - Part 1
Part 2 of this series will continue the series on working with the Domain Controller Diagnostic Utility by introducing some additional switches.
In the first part of this article series, I showed you that if you want to diagnose problems with a domain controller, simply enter the DCDIAG command, or you can use any existing switch. suitable for checking specific domain controller attributes. In this second part, we will introduce some more commands, however the number of commands that can be introduced is very large so in this article we will only introduce some typical commands then will introduce about some tests for some specific cases that you can do yourself.
/ C
We mentioned that, just enter the DCDIAG command without any switch, the Domain Controller Diagnostic Utility will perform a full set of tools for your domain controller test. However, there are a number of tests that the Domain Controller Diagnostic Utility is capable of performing, but it does not do so by default.
If you are not really sure what will happen to your domain controller, run the DCDIAG command attached to the / C switch. This will tell DCDIAG that you want to perform a comprehensive set of tests. The Domain Controller Diagnostic Utility will run every test that knows how to run, except for the DCPROMO and RegisterInDNS tests, which are the two tests that we will cover later.
You need to be aware that running a whole set of tests will take a lot of time. If there are tests that you know do not need to run, then you can use the / C switch in conjunction with the / SKIP switch. Then append a colon and the name of the test you want to ignore.
/ F
At the beginning of Part 1, we introduced what can be run with the DCDIAG command when there are no such instructions specified. You can go back for reference in Part 1, the output is obviously quite long. When we create a screen capture, we only run a default set of tests for our domain controller. The output may be much longer if you specify additional tests or if the tests find out there are problems with the domain controller.
In some cases, reading the results obtained from the screen when the tests are done is not practical. DCDIAG can export data faster than your readability. So there is a solution for this case. That is the role of the / F switch. This switch allows you to write test results to a log file. That way, the results can be read comfortably. More importantly, get a permanent copy of the output you want to refer to.
To use the / F switch, simply append a colon and path, the file name of the log file you want to create. For example, if you want to create a log file named TEST.LOG, enter DCDIAG /F:TEST.LOG . It should be noted that when specifying the / F switch, the output will be completely redirected to a log file. This means that the test output does not have to be written to the screen. With some activities involving multiple tests, the server may have problems but the tests will still be performed.
/ FIX
So far, all of the switches that we have introduced are original diagnostic methods. When you use them, they will make DCDIAG run its tests in some way, but DCDIAG only reports test results that cannot fix the problem it can find.
If DCDIAG reports a problem, you need to correct these problems by specifying the / FIX switch. Although this switch is very simple because it does not require you to provide any additional properties, there are quite a few important things to know about how to use it.
Before you can use the / FIX switch, remember what you're doing. You are instructing a utility to automatically make changes to your domain controller, which means that you are groping for Active Directory. The Domain Controller Diagnostic Utility is designed so that when using the / FIX switch, it will only perform the repair and assume that it is safe. However, the act of using this switch involves making changes to the domain controller that makes us remind you to be extremely cautious. This switch is designed for security purposes, but at any time working with complex issues like domain controllers, its evolution is not always the case.
In case that is the case, we recommend that you do not use the / FIX switch when you first use DCDIAG and should instead run your tests, it takes time to evaluate the previous results. when using the / FIX switch. If you decide to use this dangerous switch, we recommend that you make a full backup of the target domain controller before you proceed.
If you're the one who wants to break through, be wary of making a domain controller fix that is installing Windows on a backup computer, then that computer configuration acts as a domain controller. When you're done, wait until the copy creation process is complete, then proceed with your tests. That way you can rebuild Active Directory if something goes wrong with the repair process.
/KIỂM TRA
The last switch we want to show you is / TEST. Until now, most of the command line commands we introduced are about controlling the Domain Controller Diagnostic Utility when running different tests. You can see that the Domain Controller Diagnostic Utility runs a set of default tests, but you can also use either the / C switch or the / SKIP switch to run the corresponding additional tests.
The point that I want to show you so far lies in the assumption that you will run multiple tests. Then the / TEST switch simply specifies the name of the test you want to run. Then just append a colon and the name of the test after this switch.
It should be noted that the / TEST switch cannot be used to run multiple tests. As you can imagine, the / TEST switch cannot be compatible with the / SKIP switch because the two switches are contradictory.
Conclude
In this article, I have introduced some command transitions so that you can use the Domain Controller Diagnostic Utility. In the next part of this series, we will focus on the individual tests that you can perform on your own.
You should read it
- Working with the Domain Controller Diagnostic Utility - Part 3
- Working with the Domain Controller Diagnostic Utility - Part 1
- Working with the Domain Controller Diagnostic Utility - Part 5
- Fix Xbox One game console not working
- Instructions for creating a Domain Controller - DC on Windows Server 2012
- Domain Controller virtualization solutions - Part 3
- 7 leading hardware error diagnosis tools for Windows 10
- Domain Controller virtualization solutions - Part 2
May be interested
- Fix Xbox One game console not workingan inactive xbox one gaming controller is an annoying problem that many xbox owners face. tipsmake.com will show you how to troubleshoot xbox one gaming controllers that are not connected, synchronized or turned on incorrectly.
- Run Windows Server 2008 R2 - Install and create a Lab Domain Controller (Part 1)in this series, i will show you how to create a lab domain controller in windows server 2008 r2.
- How to check which Domain Controller holds the FSMO role in Active Directorythis tutorial illustrates how to test the fsmo role in server 2016. the 5 fsmo roles in active directory include: rid master, pdc emulator master, infrastructure master, domain naming master, schema master.
- Use eBox as Windows Primary Domain Controllerthe platform platform is one of the open source server systems that allows administrators to capture, control and manage network services.
- Download the Indexer Diagnostic Tool for Windows 10the indexer diagnostic tool is a new utility developed by microsoft to help windows 10 users find and fix search problems.
- Learn about .io domain names.io is a domain name chosen by many technology companies and startups.
- Top 9 best MIDI Controller for musiciansmidi controller (midi controller) allows you to control virtual instruments with real keys or blank pad, making the experience more flexible. below is a list of the best midi controllers for you to choose from.
- Install DNS server and Domain Controller in Windows Server 2003dns configuration is similar to installing it, which means you don't need to be too bothered or ask any administrator to help you do that, because you can do this yourself.
- Instructions for joining the domain on Windows 8.1 (Part 1)joining your windows 8.1 computer into a domain (domain) will have a lot of benefits. in the article below, network administrator will guide you to join the domain on windows 8.1.
- Instructions for joining the domain on Windows 8.1 (Part 2)since nt 3.5, microsoft client operating systems are joined to the windows domain. each new client uses the same technique as in the previous article that the network administrator introduced to you. however, to the next version of the operating system, microsoft adjusted additional steps in the process of joining the domain to resolve dns connectivity issues and secure configuration settings.