Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to find my root dn

Posted on 2014-03-14
4
Medium Priority
?
9,367 Views
Last Modified: 2014-03-28
How do I find out what my root DN (Distinguished name) is on my domain?
0
Comment
Question by:Thomas N
  • 2
4 Comments
 

Author Comment

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

Expert Comment

by:mebaby333
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 : http://windowsitpro.com/windows-server/how-can-i-determine-which-domain-forest-root-domain
0
 
LVL 5

Expert Comment

by:mebaby333
ID: 39929377
0
 
LVL 8

Accepted Solution

by:
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

http://www.mimecast.com/mc/kb/Mimecast/KBID10321.htm
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Suggested Courses

783 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