This article covers multiple ways to find Active Directory Schema version and list all the AD schema versions with objectVersion Value.

You can determine the current AD schema version by reviewing the objectVersion property of CN=Schema, CN=Configuration.

To check the AD version of your server, you can use PowerShell, dsquery or ADSI Edit tool. I will cover all the methods, and you use the method that you like.

Install and Update Third Party Applications with Patch My PC
Install and Update Third Party Applications with Patch My PC

The AD Schema version is a description of all directory objects and attributes of the Windows domain. It’s basically like your Windows Registry which stores all the critical information about your computer. When you plan for in-place upgrade of a domain controller running on Windows Server, the Schema version requires an update to the latest version.

In most cases, the objectVersion attribute value is incremented with every new server release. I believe the value is incremented only when there are changes done to the schema.

However, the objectVersion attribute can have the same value for two Windows Server versions. For example, Windows Server 2022 and Windows Server 2019 share the same objectVersion value of 88.

List of AD Schema Versions

The below table lists all the AD Schema versions with objectVersion Value.

Windows Server AD VersionSchema objectVersion Value
Windows Server 202590
Windows Server 202288
Windows Server 201988
Windows Server 201687
Windows Server 2012 R2 69
Windows Server 201256
Windows Server 2008 R2 47
Windows Server 200844
Windows Server 2003 R2 31
Windows Server 200330
Windows Server 200013
Active Directory Schema Versions

Let’s look at different methods to find Active Directory Schema version. In all the methods listed below, the internal root domain used is: prajwal.local.

Find Active Directory Schema version using DSQuery

Using DSQuery, you can find the AD Schema version with following steps.

  • Launch the command prompt as administrator.
  • Run the command dsquery * "cn=schema,cn=configuration,dc=prajwal,dc=local" -scope base -attr objectVersion.
  • Do not forget to replace the root domain with your current domain.

From the dsquery output, the objectVersion property determines the current AD Schema version which is 88 in this case.

Find Active Directory Schema version using dsquery
Find Active Directory Schema version using dsquery

Find AD Schema version using PowerShell

You can use PowerShell to determine the current AD Schema version.

  • Launch the PowerShell as administrator.
  • Run the following command to get AD Schema version in PowerShell window.
Get-ADObject (Get-ADRootDSE).schemaNamingContext -Property objectVersion
DistinguishedName : CN=Schema,CN=Configuration,DC=prajwal,DC=local
Name              : Schema
ObjectClass       : dMD
ObjectGUID        : 19dc3234-0b66-4dec-aea7-a26cf54a2843
objectVersion     : 88

From the output, the objectVersion property value determines the current Active Directory schema version which is 88 in this case.

Find AD Schema version using PowerShell
Find AD Schema version using PowerShell

Find AD Schema version from ADSIEdit.msc

You can use ADSIEdit.msc tool or LDP.exe to determine the current AD schema version. The ADSI Edit utility is used to view and manage objects and attributes in an Active Directory forest.

The same ADSI edit tool is also used while creating system management container for SCCM. To launch the ADSI Edit tool, launch the Server Manager on Windows Server. On the Server Manager window, click Tools and select ADSI Edit.

On the ADSI Edit window, right-click ADSI Edit and select Connect to. On the Connection Settings window, click the drop-down for Select a well-known Naming Context and select Schema. Click OK.

Launch the ADSI Edit Tool
Launch the ADSI Edit Tool

Expand the container that starts with Schema [FQDN_of_your_DC]. Right-click the CN=Schema,CN=Configuration and select Properties. Select the Attribute tab and review the objectVersion attribute value that determines the current Active Directory Schema version.

Compare the value that is shown there against the ones provided in the table above. In this case, the objectVersion value is 88, which corresponds to an AD Schema version of Windows Server 2019 or Windows Server 2022.

Find AD Schema version from ADSIEdit.msc
Find AD Schema version from ADSIEdit.msc

Still Need Help?

If you need further assistance on the above article or want to discuss other technical issues, check out some of these options.

Prajwal Desai

Prajwal Desai is a technology expert and 10 time Dual Microsoft MVP (Most Valuable Professional) with a focus on Microsoft Intune, SCCM, Windows 365, Enterprise Mobility, and Windows. He is a renowned author, speaker, & community leader, known for sharing his expertise & knowledge through his blog, YouTube, conferences, webinars etc.