Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


How to find my root dn

Posted on 2014-03-14
Medium Priority
Last Modified: 2014-03-28
How do I find out what my root DN (Distinguished name) is on my domain?
Question by:Thomas N
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Author Comment

by:Thomas N
ID: 39929347
Also how do I find out which port ldap is using?

Expert Comment

ID: 39929359
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 :

Expert Comment

ID: 39929377

Accepted Solution

Shahnawaz Ahmed earned 2000 total points
ID: 39929440
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

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

722 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