Question: how to find your domain controller?
Answer: 7 Answers. From command line query the logonserver env variable. Run gpresult at a Windows command prompt. You'll get an abundance of information about the current domain, current user, user & computer security groups, group policy names, Active Directory Distinguished Name, and so on.