Solved

How to find my root dn

Posted on 2014-03-14
4
6,375 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 7

Accepted Solution

by:
Shahnawaz Ahmed earned 500 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html) provided 218 attendees with a step-by-step guide for identifying Acti…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

813 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now