Domain Controller Find Server Name
We can find the domain name of a computer by running the following commnad from command line.
Domain controller find server name. In our lab there is a mix of windows server 2000 and windows server 2003 and in reality probably a couple of nt 4 servers so it would be nice to find a solution that would work for. Ed grauel jun 18 2013 at 02 53pm bmoore thank you. I have an windows xp workstation that is a member of the testlab domain and i am trying to figure out the name of the domain controller so that i can go and look to see what users have been defined for the domain.
Systeminfo findstr b c domain we can find the logged in user s domain by using the environment variable userdomain. There seem to be a few ways to skin this cat. Here s the command to tell us exactly that.
Execute it with elevated privileges nltest dsgetdc domain this will return you the domain controller you are getting authenticated from. You can also set the identity. In the open box type cmd.
Type nslookup and then press enter. Ryan b jun 18 2013 at 03 09pm very useful command for troubleshooting authentication issues on a domain. How you can find out the name and ip address of the ad domain controller on your network.
The domain controller uses some of the directory. Command for this is given below. You can use nslookup is a command line tool that displays information you can use to diagnose domain name system dns infrastructure.
Echo userdomain note that the value in userdomain may not be the. You can also identify a domain controller by the name of the server object that represents the domain controller the distinguished name dn of the ntds settings object or the server object the guid of the ntds settings object or the server object under the configuration partition or the dn of the computer object that represents the domain controller. If you have multiple domain controllers in your environment and you want to check with domain controller is authenticating your client you can execute the following command on command prompt.