• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 10897
  • Last Modified:

How to find my root dn

How do I find out what my root DN (Distinguished name) is on my domain?
Thomas N
Thomas N
  • 2
1 Solution
Thomas NSystems Analyst - Windows System AdministratorAuthor Commented:
Also how do I find out which port ldap is using?
mebaby333It AdminCommented:
Start Notepad and copy the following commands into the application:

    Set objSysInfo = CreateObject("ADSystemInfo")
    Wscript.Echo "Forest DNS Name: " & objSysInfo.ForestDNSName

Save the file as forestroot1.vbs.
Exit Notepad, then double-click forestroot1.vbs in Windows Explorer.
Windows will display the DNS name of the forest root.

found here : http://windowsitpro.com/windows-server/how-can-i-determine-which-domain-forest-root-domain
mebaby333It AdminCommented:
Shahnawaz AhmedTechnical Services SpecialistCommented:
Open ADSIEdit.msc -> Go to your server path in Domain Partition -> Go to Properties of server -> Find an attribute Distinguished Name (DN) -> Double Click to open it -> Copy and click cancel in all windows.

You May Use Command dsquery , Example here

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now