?
Solved

Find domain controller name of the Trusted domain

Posted on 2013-10-29
5
Medium Priority
?
706 Views
Last Modified: 2013-10-30
We have 2 way Transitive Trust with another domain. How can I find the name of any domain controller in the Trusted domain?

Thanks
0
Comment
Question by:jskfan
  • 2
  • 2
5 Comments
 
LVL 53

Assisted Solution

by:Will Szymkowski
Will Szymkowski earned 800 total points
ID: 39610333
All you need to do is type nslookup <domain.com>

This will give you all of the authoritative DC/DNS servers available.

It will give you the IP addresses which then you can simply do ping -a <ip> and this will return the Name of the server.

Example
Ping -a 192.168.100.1

Will.
0
 
LVL 24

Accepted Solution

by:
Sandeshdubey earned 1200 total points
ID: 39610349
To list all the domain controllers in the trusted domain, try below command
netdom query /d:trusteddomainname DC

eg netdom query /d:Northamerica DC

See this too:http://www.vyapin.com/products/windows-audit/help-topics/built-in-reports/domain-trust-relationship-reports.htm
0
 

Author Comment

by:jskfan
ID: 39611902
netdom query /d:trusteddomainname DC
it works for the domain I am logged in, but the one I want to query , I have different username and password . So how do I add username and password to the above command
0
 
LVL 24

Expert Comment

by:Sandeshdubey
ID: 39611975
Add your user to domain admin group or adminsitrator group of trusted domain so you will have permission and the above command should work.
0
 

Author Closing Comment

by:jskfan
ID: 39612270
it worked Thanks
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
Suggested Courses

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question