How to find the current Schema Version

This article describes how to find the current Schema Version. The original author of the article was Yuval Sinay, Microsoft MVP.

Applies to:   Windows Server 2012 R2
Original KB number:   558112

How to find the current Active Directory Schema Version

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: contoso.local.

Method 1

  1. Use ADSIEdit.msc or LDP.exe to navigate to:
    CN=Schema,CN=Configuration,DC=contoso,DC=local.

  2. Review the objectVersion attribute.

Method 2

Use the DSQuery command line. Run the following command:

dsquery * "cn=schema,cn=configuration,dc=contoso,dc=local" -scope base -attr objectVersion

Method 3

Use the Get-ItemProperty PowerShell cmdlet. Run the following command:

Get-ItemProperty 'AD:\CN=Schema,CN=Configuration,DC=contoso,DC=local' -Name objectVersion

Some "objectVersion" attribute map

The following information provides 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 87 -> Windows Server 2016 88 -> Windows Server 2019

How to find the current Exchange Schema Version

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: contoso.local.

Method 1

  1. Use ADSIEdit.msc or LDP.exe tools to navigate to
    CN=ms-Exch-Schema-Version-Pt, CN=Schema,CN=Configuration,DC=contoso,DC=local

  2. Review the current "rangeUpper" attribute.

Method 2

Ues DSQuery command line:

dsquery * "CN=ms-Exch-Schema-Version-Pt,cn=schema,cn=configuration,dc=contoso,dc=local" -scope base -attr rangeUpper

Some "rangeUpper" attribute map

The following information provides 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 2
10628 -> Exchange Server 2007
11116 -> Exchange 2007 With Service Pack 1

Community Solutions Content Disclaimer

Microsoft corporation and/or its respective suppliers make no representations about the suitability, reliability, or accuracy of the information and related graphics contained herein. All such information and related graphics are provided "as is" without warranty of any kind. Microsoft and/or its respective suppliers hereby disclaim all warranties and conditions with regard to this information and related graphics, including all implied warranties and conditions of merchantability, fitness for a particular purpose, workmanlike effort, title and non-infringement. You specifically agree that in no event shall Microsoft and/or its suppliers be liable for any direct, indirect, punitive, incidental, special, consequential damages or any damages whatsoever including, without limitation, damages for loss of use, data or profits, arising out of or in any way connected with the use of or inability to use the information and related graphics contained herein, whether based on contract, tort, negligence, strict liability or otherwise, even if Microsoft or any of its suppliers has been advised of the possibility of damages.