Partilhar via


How to Query Active Directory to Determine the Schema Version

You can query Active Directory to determine the schema version as shown below.  Replace “dc=domainname” with your information:

 

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

 

The PowerShell version below does not require any customization:

Get-ADObject (get-adrootdse).schemaNamingContext -Property objectVersion

 

The table below shows Active Directory schema versions.

Windows 2000 Server 13
Windows 2003 RTM, SP1, SP2 30
Windows 2003 R2 31
Windows 2008 44
Windows 2008 R2 47
Windows Server 2012 Beta 52
Windows Server 2012 56
 Windows Server 2012 R2 69
   

Comments

  • Anonymous
    July 01, 2013
    The comment has been removed

  • Anonymous
    October 31, 2013
    Thanks for the feedback Aakash.  Correction made.

  • Anonymous
    October 18, 2015
    4 way to check Active directory schema version winplat.net/.../how-to-check-active-directory-schema-versions

  • Anonymous
    April 18, 2017
    Thank you for the information.

  • Anonymous
    August 08, 2017
    Windows Server 2016: 87