See Domain Controller You Are Connected
Simple open windows r type cmd and run command.
See domain controller you are connected. Open command prompt and enter command. See the figure below. Execute it with elevated privileges nltest dsgetdc domain this will return you the domain controller you are getting authenticated from.
Find current domain controller. The command completed successfully this output shows the status of your secure channel and the name of the domain controller you are querying. 1 steps total step 1.
You can find the. Posted by richard siddaway date january 4 2013 category uncategorized. Using echo username will allow you create a script to identify the authenticating domain controller.
Select run as different user. Finding the domain controller that authenticated you. Which domain controller you are connected to and want to see the how client computer see domain controllers.
Here you will get all the info. Unless you explicitly instruct your script to use a specific domain controller it will use the one to which you authenticated. A question on my blog asked how do you know which domain controller you are running against when you search active directory.
You can grab the domain controller that the computer is currently connected to with these steps. An exact match domain is required to retrieve the information. One very useful piece of information to know if you re working in large active directory implementation with multiple dc s and sites is to be able to determine which domain controller machines are authenticating against at any given time.