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 (5)
  1. Aakash Shah says:

    Since this article appears high on search results, I wanted to clarify for others that visit this page: according to KB 556086, the schema version for Server 2012 RTM is 56 and not 52 as indicated in this article (this article was written before RTM)…/556086

  2. MuadDib says:

    Thanks for the feedback Aakash.  Correction made.

  3. Sushant says:

    4 way to check Active directory schema version…/how-to-check-active-directory-schema-versions

  4. Jaime Durango says:

    Thank you for the information.

  5. Martin1 says:

    Windows Server 2016: 87

Comments are closed.

Skip to main content