Resolution
How do I compile a list of domain controllers for a specific domain in DRA?
goal
Can I use the command line to show a list of all the domain controllers within a single domain?
fact
Directory and Resource Administrator 6.x
fact
Directory and Resource Administrator 7.x
fix
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.Exe
file to a DC in the domain for which you want a list of domain controllers. - Make a backup copy of the
DsGetDc.exe
utility located in theProgram Files\NetIQ\DRA
folder. - Copy the enhanced executable file
NetIQKB50064_DsGetDc.Exe
to theProgram Files\NetIQ\DRA
folder. - 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