Friday, September 28, 2012

How to determine your AD and Exchange Schema version

How to tell what version of AD/Exchange you have.
To find the current Active Directory Schema Version, you can use one of the following methods:
 
Note: The internal root domain that we use in this demo is: “domain.com “.
 
1. Using “ADSIEdit.msc” or/and “LDP.exe” tools:

Navigate to:
CN=Schema,CN=Configuration,DC=domain,DC=com
and review the current “objectVersion” attribute.
  2. Using “DSQuery” command line:
 ”dsquery * cn=schema,cn=configuration,dc=domainname,dc=com -scope base -attr objectVersion
Example:
C:\Documents and Settings\nocadmin>dsquery * cn=schema,cn=configuration,dc=KINETICSYSTEMS,dc=Local -scope base -attr objectversion
 Objectversion
  31
 Note: Here the Objectversion is 31 and domain name is KINETICSYSTEMS.Local

The following information provide a mapping between the ”objectVersion” attribute value, to
the Active Directory Schema commutability:
 13 -> Windows 2000 Server
30 -> Windows Server 2003 RTM, Windows 2003 With Service Pack 1, Windows 2003 With Service Pack 2
31 -> Windows Server 2003 R2
44 -> Windows Server 2008 RTM
47-> Windows Server 2008 R2

 To find the current Exchange Schema Version, you can use one of the following methods:

 Note: The internal root domain that we use in this demo is: “domain.com“.
 
1. Using “ADSIEdit.msc ” or/and “LDP.exe” tools:

Navigate to:
CN=ms-Exch-Schema-Version-Pt,CN=Schema,CN=Configuration,DC=domain,DC=com
and review the current “rangeUpper” attribute.
  
2. Using “DSQuery” command line:
dsquery * CN=ms-Exch-Schema-Version-Pt,cn=schema,cn=configuration,dc=domain,dc=com -scope base -attr   rangeUpper

 The following information provide a mapping between the ”rangeUpper” attribute value, to
the Exchange Schema commutability:
4397 -> Exchange Server 2000 RTM
4406 -> Exchange Server 2000 With Service Pack 3
6870 -> Exchange Server 2003 RTM
6936  -> Exchange Server 2003 With Service Pack 3
10628 -> Exchange Server 2007
11116 -> Exchange 2007 With Service Pack 1
14622->  Exchange 2007 With Service Pack 2

Original Post: