MSADMIN.NET

Experiences in IT
posts - 20, comments - 139, trackbacks - 173

Wednesday, October 29, 2008

Finding the site of a Domain Controller

Those of you out there with relatively large domains can understand what a pain it is to search through AD Sites and Services to find which site a domain controller belongs to.

Being that I am very impatient I decided enough was enough and figured out how to use a tool called nltest. It can do all sorts of things, but for now check this out:

nltest /server:<servername> /dsgetsite

Not only can you run this against a DC, you can run it against any computer in your domain to find which site it belongs to.

posted @ Wednesday, October 29, 2008 11:31 AM | Feedback (2)

System Schema Version

Wanna know the Schema version of your Active Directory?

One simple way is to logon to a domain controller and go to HKLM\System\CurrentControlSet\Services\NTDS\Parameters and look at the data portion for

the "System Schema Version" entry which sometimes, in some situations of which I'm not aware of but I've heard on the street, it's called the "Schema Version" entry.

Then check it against the following:

13 = 2000

30 = 2003

31 = 2003 R2

44 = 2008

?? = 2008 R2

 

Is there a pattern that I'm just not seeing?

 

--UPDATE--

You can look in ADSIEdit too. Just look at the objectVersion in the properties of CN=Schema,CN=Configuration,DC=your,DC=domain,DC=com.

posted @ Wednesday, October 29, 2008 8:43 AM | Feedback (2)

Powered by: