Go to command prompt and type "net time" - it will fetch you Domain Controller name along with time. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Learn more. Find name of Active Directory domain controller Ask Question. Asked 12 years ago. Active 2 months ago. Viewed k times. Improve this question. DNS should be there exactly for this purpose. Add a comment. Active Oldest Votes. Improve this answer. Ross 6, 15 15 gold badges 59 59 silver badges 81 81 bronze badges. Add a comment. Active Oldest Votes. Have a look at the output of this command: set. Improve this answer. Shadok Shadok 3, 22 22 silver badges 29 29 bronze badges.
FYI: Powershell didn't seem to have that variable set. I had to run it from basic command shell. This doesn't work when you're logged on as a local user and you're interested in how the computer is authenticated to the domain. For that, see the other answer referencing nltest. A note, here you get your logged in users controller. Not the domain controller of the computer.
ChristianBongiorno It works with powershell: it is a simple call on an environment variable. Community Bot 1. Michael Knox Michael Knox 4 4 silver badges 2 2 bronze badges. Command Description Adprep Extends the Active Directory schema and updates permissions as necessary to prepare a forest and domain for a domain controller that runs the Windows Server operating system.
Csvde Imports and exports data from Active Directory using files that store data in the comma-separated value CSV format. Dcdiag Analyzes the state of domain controllers in a forest or enterprise and reports any problems to help in troubleshooting. Dsadd Adds specific types of objects to the directory. Dsget Displays the selected properties of a specific object in the directory. Dsmod Modifies an existing object of a specific type in the directory. Dsmove Moves a single object in a domain from its current location in the directory to a new location or renames a single object without moving it in the directory tree.
Dsrm Deletes an object of a specific type or any general object from the directory. So here is my question And why are there multiple? Sorry, just getting more into the server side of things, getting away from the support desk side of things. If you are experiencing issues with GPOs not synchronizing or applying correctly, it can be beneficial to know which DC you have authenticated to.
You would have multiple DCs for redundancy. If there is not a domain controller available, users cannot authenticate to the domain. Multiple DCs allows for one to be offline and still handle authentication. When multiple are online, they handle their own "load balancing" to defer authentication requests when one is too busy. Based on p man's response, I would like to see this topic revisited.
Sounds like, in theory the machine and user could be auth'd to different DC's? So I noticed when I help a remote user whose machine is domain joined reset their AD password.
0コメント