How do I compile a list of domain controllers for a specific domain in DRA?
Can I use the command line to show a list of all the domain controllers within a single domain?
Directory and Resource Administrator 6.x
Directory and Resource Administrator 7.x
Directory and Resource Administrator (DRA) uses a standard Microsoft API to determine the domain controllers (DCs) for any given domain. That API is used when the DRA service starts. NetIQ also offers an enhanced executable,
NetIQKB50064_DsGetDc.Exe, that mimics the behavior of DRA to generate a list of domain controllers from any given domain where it is run. The
NetIQKB50064_DsGetDc.Exe file is available at the following location: https://download.netiq.com/kb/files/NetIQKB50064_DsGetDc.exe.
To compile a list of domain controllers for a domain:
- Download the
NetIQKB50064_DsGetDc.Exefile to a DC in the domain for which you want a list of domain controllers.
- Make a backup copy of the
DsGetDc.exeutility located in the
- Copy the enhanced executable file
- Open a command prompt, change to the DRA folder, and run the following command:
DsGetDc Domain_Name /dclist
This command returns information about the configuration of the current DC and a list of domain controllers in the domain.
To use the same command, but send the results to a text file named
DCList.txt at the root of C:, enter the following:
DsGetDc Domain_Name /dclist >C:\DCList.txt