Bart's Weblog

Just a blog…

Active Directory schema version numbers

Posted by bartvdw on 2525/0101/2011

Preview/06/2012: Added version number for Windows Server 2012 RC
Update 06/05/2015: Added version number for Windows Server 2012 R2 (thanks to Jimmy Twoshoes and Cody Kniffen; sorry for the extreme delay)
Update 11/10/2017: Add version number for Windows Server 2016 and PowerShell command
Update 01/12/2018: Add version number for Windows Server 2019
Update 13/06/2023: Version number for Windows Server 2022 is same as 2019

  • Windows 2000 RTM with all Service packs = Schema version 13
  • Windows Server 2003 RTM with all Service packs = Schema version 30
  • Windows Server 2003 R2 RTM with all Service packs = Schema version 31
  • Windows Server 2008 RTM with all Service packs = Schema version 44
  • Windows Server 2008 R2 RTM with all Service packs = Schema version 47
  • Windows Server 2012 RTM = Schema version 56
  • Windows Server 2012 R2 = Schema version 69
  • Windows Server 2016 = Schema version 87
  • Windows Server 2019 = Schema version 88
  • Windows Server 2022 = Schema version 88

You can check the version in the registry:

  • Registry: HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Parameters\<Schema Version>
  • dsquery: dsquery * CN=Schema,CN=Configuration,DC=Root-Domain -Scope Base -attr objectVersion
  • ADSIEdit: open ADSIEdit and navigate to “CN=Schema,CN=Configuration,DC=domain,DC=local”, right-click “Properties” and locate “objectVersion” attribute value
  • PowerShell: Get-ADObject (Get-ADRootDSE).schemaNamingContext -Property objectVersion

References

How to find the current Schema Version – http://support.microsoft.com/kb/556086

One-Liner: Active Directory Schema Version – https://blogs.technet.microsoft.com/poshchap/2014/03/07/one-liner-active-directory-schema-version/

6 Responses to “Active Directory schema version numbers”

  1. SysAdmin-E said

    Thanks for the info. MS needs to update KB 556086 to show the lastest schema version for Server 2008 R2 SP1 (47) and Exchange Server 2010 SP1 (14726).

  2. RandyS said

    Thanks for a clear description. Microsoft’s own KB article fails to mention “right click – Properties”.

    Schema level 47 is still valid even for production Server 2008 R2 with SP1.

  3. bartvdw said

    Updated with Windows Server 2012 RC version number information!

  4. […] found a couple of decent articles that are up-to-date, for Exchange here and for AD here.  Exchange 2013 RTM has a forest rangeUpper value of 15137 as indicated […]

  5. Cody Kniffen said

    For those wondering, Server 2012 R2 = Schema version 69

  6. Windows Server 2012 R2 = 69

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.